fix uninstall issue

This commit is contained in:
dou33 2022-02-22 14:16:06 +08:00
parent 0403ca6728
commit 34be6ed374

View File

@ -4,7 +4,7 @@
Name: ukui-biometric-auth
Summary: ukui-biometric-auth
Version: 1.2.1
Release: 2
Release: 3
License: GPL-3+
URL: https://github.com/ukui/ukui-biometric-auth
@ -55,10 +55,10 @@ cd build
make DESTDIR=$RPM_BUILD_ROOT install
%preun -n libpam-biometric
pam-auth-update --package --remove pam-biometric
#pam-auth-update --package --remove pam-biometric
%post -n libpam-biometric
pam-auth-update --package
#pam-auth-update --package
%files -n libpam-biometric
%{_sysconfdir}/biometric-auth/ukui-biometric.conf
@ -77,6 +77,9 @@ pam-auth-update --package
%changelog
* Tue Feb 22 2022 douyan <douyan@kylinos.cn> - 1.2.1-3
- fix libpam-biometric uninstall error
* Wed Oct 20 2021 douyan <douyan@kylinos.cn> - 1.2.1-2
- modify spec file