diff options
author | François Andriot <albator78@libertysurf.fr> | 2015-12-31 22:42:48 +0100 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2015-12-31 22:42:48 +0100 |
commit | 6fdf9acf80c0fc80d6cf4b6edabd80e7ae80f740 (patch) | |
tree | fecfe0d19e678e511184c2aaa7af34142000b3a0 /redhat | |
parent | 05215592f190ac03125d158c0b43793034120b7f (diff) | |
download | tde-packaging-6fdf9acf80c0fc80d6cf4b6edabd80e7ae80f740.tar.gz tde-packaging-6fdf9acf80c0fc80d6cf4b6edabd80e7ae80f740.zip |
RPM packaging: fix smartcardauth build on opensuse tumbleweed
Diffstat (limited to 'redhat')
-rw-r--r-- | redhat/applications/smartcardauth/smartcardauth-14.0.0.spec | 7 |
1 files 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 |