RPM packaging: fix smartcardauth build on opensuse tumbleweed

pull/3/head
François Andriot 9 years ago
parent 05215592f1
commit 6fdf9acf80

@ -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

Loading…
Cancel
Save