!9 fix uninstall issue

From: @dou33 
Reviewed-by: @pei-jiankang 
Signed-off-by: @pei-jiankang
This commit is contained in:
openeuler-ci-bot 2022-02-22 06:34:30 +00:00 committed by Gitee
commit ed9255001e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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