From 7be8b27bf6165eb3ab511c1e9bd017c2a101002b3e4312f38cc0eb36dc7df450 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= Date: Mon, 9 Feb 2015 08:19:42 +0000 Subject: [PATCH] fix pam path OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:cockpit/cockpit?expand=0&rev=15 --- cockpit.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cockpit.spec b/cockpit.spec index 68090f3..31bbe30 100644 --- a/cockpit.spec +++ b/cockpit.spec @@ -212,8 +212,8 @@ ln -sf /sbin/service $RPM_BUILD_ROOT/usr/sbin/rc%{name} # no firewalld on SUSE rm -rf %{buildroot}%{_prefix}/lib/firewalld # PAM security -install -d %{_lib}/security -mv %{buildroot}%{_libdir}/security/pam_reauthorize.so %{buildroot}%{_lib}/security +install -d /%{_lib}/security +mv %{buildroot}%{_libdir}/security/pam_reauthorize.so %{buildroot}/%{_lib}/security rm -rf %{_libdir}/security %endif