diff options
author | François Andriot <albator78@libertysurf.fr> | 2019-07-30 19:54:39 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2019-07-30 19:54:39 +0200 |
commit | f6042194a160d58772626035fa59604da08e06e0 (patch) | |
tree | 598895a543568639cb582d0013891519357cdf11 /redhat/applications/smartcardauth | |
parent | 87f8fcd5f192267ad890dd4e923be245bb834658 (diff) | |
download | tde-packaging-f6042194a160d58772626035fa59604da08e06e0.tar.gz tde-packaging-f6042194a160d58772626035fa59604da08e06e0.zip |
RPM: update packages to build on Fedora 30, Mageia 7
Diffstat (limited to 'redhat/applications/smartcardauth')
-rw-r--r-- | redhat/applications/smartcardauth/smartcardauth-14.0.0.spec | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec b/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec index 27ed4338c..8c9d3fc8c 100644 --- a/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec +++ b/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec @@ -33,7 +33,7 @@ %define tde_tdeincludedir %{tde_includedir}/tde %define tde_tdelibdir %{tde_libdir}/trinity -%if 0%{?fedora} >= 27 +%if 0%{?fedora} >= 27 || 0%{?mgaversion} %define debug_package %{nil} %endif @@ -180,6 +180,7 @@ export PATH="%{tde_bindir}:${PATH}" %__ln_s "smartauthckpasswd" "%{buildroot}%{_bindir}/smartauthmon" %__cp -Rp "usr/"* "%{buildroot}%{_prefix}" +sed -i "%{?buildroot}%{_datadir}/applications/"*".desktop" -e "/^Categories/ s|TDE|X-TDE|" echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{_datadir}/applications/smartcardauth.desktop" echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{_datadir}/applications/smartcardrestrict.desktop" %endif |