Use %ghost for files owned by authselect

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-11-30 13:17:11 +00:00 committed by Pavel Březina
parent 1575984ef3
commit 3a1e8613fe

View File

@ -1,6 +1,6 @@
Name: authselect
Version: 1.0.2
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Configures authentication and identity sources from supported profiles
URL: https://github.com/pbrezina/authselect
@ -130,6 +130,16 @@ find $RPM_BUILD_ROOT -name "*.a" -exec rm -f {} \;
%dir %{_sysconfdir}/authselect
%dir %{_sysconfdir}/authselect/custom
%dir %{_localstatedir}/lib/authselect
%ghost %{_localstatedir}/lib/authselect/backups/
%ghost %{_localstatedir}/lib/authselect/dconf-db
%ghost %{_localstatedir}/lib/authselect/dconf-locks
%ghost %{_localstatedir}/lib/authselect/fingerprint-auth
%ghost %{_localstatedir}/lib/authselect/nsswitch.conf
%ghost %{_localstatedir}/lib/authselect/password-auth
%ghost %{_localstatedir}/lib/authselect/postlogin
%ghost %{_localstatedir}/lib/authselect/smartcard-auth
%ghost %{_localstatedir}/lib/authselect/system-auth
%ghost %{_localstatedir}/lib/authselect/user-nsswitch-created
%dir %{_datadir}/authselect
%dir %{_datadir}/authselect/vendor
%dir %{_datadir}/authselect/default
@ -254,6 +264,9 @@ sed -i -E '/^\w+=$/d' %{_sysconfdir}/security/pwquality.conf.d/10-authconfig-pwq
exit 0
%changelog
* Tue Feb 26 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.2-4
- Use %ghost for files owned by authselect
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild