From 8bb62f5e6a73b77515f78b573dc3fdfa52f4ad39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20B=C5=99ezina?= Date: Tue, 5 Mar 2019 12:05:02 +0100 Subject: [PATCH] authselect-1.0.3-1: fix rpmlint warnings authselect-libs.x86_64: E: explicit-lib-dependency libselinux authselect-libs.x86_64: E: non-readable /var/lib/authselect/dconf-db 0 authselect-libs.x86_64: E: non-readable /var/lib/authselect/dconf-locks 0 authselect-libs.x86_64: E: non-readable /var/lib/authselect/fingerprint-auth 0 authselect-libs.x86_64: E: non-readable /var/lib/authselect/nsswitch.conf 0 authselect-libs.x86_64: E: non-readable /var/lib/authselect/password-auth 0 authselect-libs.x86_64: E: non-readable /var/lib/authselect/postlogin 0 authselect-libs.x86_64: E: non-readable /var/lib/authselect/smartcard-auth 0 authselect-libs.x86_64: E: non-readable /var/lib/authselect/system-auth 0 authselect-libs.x86_64: E: non-readable /var/lib/authselect/user-nsswitch-create --- authselect.spec | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/authselect.spec b/authselect.spec index 65cf34b..113ec71 100644 --- a/authselect.spec +++ b/authselect.spec @@ -42,7 +42,6 @@ supported by authselect. %package libs Summary: Utility library used by the authselect tool -Requires: libselinux # Required by scriptlets Requires: coreutils Requires: findutils @@ -128,16 +127,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 +%ghost %attr(755,root,root) %{_localstatedir}/lib/authselect/backups/ +%ghost %attr(644,root,root) %{_localstatedir}/lib/authselect/dconf-db +%ghost %attr(644,root,root) %{_localstatedir}/lib/authselect/dconf-locks +%ghost %attr(644,root,root) %{_localstatedir}/lib/authselect/fingerprint-auth +%ghost %attr(644,root,root) %{_localstatedir}/lib/authselect/nsswitch.conf +%ghost %attr(644,root,root) %{_localstatedir}/lib/authselect/password-auth +%ghost %attr(644,root,root) %{_localstatedir}/lib/authselect/postlogin +%ghost %attr(644,root,root) %{_localstatedir}/lib/authselect/smartcard-auth +%ghost %attr(644,root,root) %{_localstatedir}/lib/authselect/system-auth +%ghost %attr(644,root,root) %{_localstatedir}/lib/authselect/user-nsswitch-created %dir %{_datadir}/authselect %dir %{_datadir}/authselect/vendor %dir %{_datadir}/authselect/default