Branch: master

6fdf9acf 2015-12-31 15:42:48 François Andriot
RPM packaging: fix smartcardauth build on opensuse tumbleweed
M redhat/applications/smartcardauth/smartcardauth-14.0.0.spec
diff --git a/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec b/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec
index dca3700..98257d5 100644
--- a/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec
+++ b/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec
@@ -162,8 +162,8 @@
 %__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 @@
 %files
 %defattr(-,root,root,-)
 %doc gpl.txt
+%dir %{_sysconfdir}/init
 %{_sysconfdir}/init/smartauthlogin.conf
 %{_sysconfdir}/smartauth/
 %{tde_bindir}/cryptosmartcard.sh
@@ -200,7 +201,7 @@
 %{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