From 6fdf9acf80c0fc80d6cf4b6edabd80e7ae80f740 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Thu, 31 Dec 2015 22:42:48 +0100 Subject: RPM packaging: fix smartcardauth build on opensuse tumbleweed --- redhat/applications/smartcardauth/smartcardauth-14.0.0.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec b/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec index dca37003b..98257d522 100644 --- a/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec +++ b/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec @@ -162,8 +162,8 @@ export PATH="%{tde_bindir}:${PATH}" %__ln_s smartauthckpasswd %{buildroot}%{tde_bindir}/smartauthmon %__cp -Rp usr/* %{buildroot}%{tde_prefix} -%__mkdir_p %{buildroot}%{_sysconfdir} -%__cp -Rp etc/* %{buildroot}%{_sysconfdir} +%__mkdir_p "%{buildroot}%{_sysconfdir}" +%__cp -Rp "etc/"* "%{buildroot}%{_sysconfdir}" echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_datadir}/applications/smartcardauth.desktop" echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_datadir}/applications/smartcardrestrict.desktop" @@ -187,6 +187,7 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : %files %defattr(-,root,root,-) %doc gpl.txt +%dir %{_sysconfdir}/init %{_sysconfdir}/init/smartauthlogin.conf %{_sysconfdir}/smartauth/ %{tde_bindir}/cryptosmartcard.sh @@ -200,7 +201,7 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : %{tde_datadir}/applications/smartcardrestrict.desktop %{tde_datadir}/icons/hicolor/16x16/apps/smartcardauth.png %{tde_datadir}/icons/hicolor/32x32/apps/smartcardauth.png -%{tde_datadir}/initramfs-tools/hooks/cryptlukssc +%{tde_datadir}/initramfs-tools/ %changelog -- cgit v1.2.3