diff options
author | François Andriot <albator78@libertysurf.fr> | 2015-06-29 20:17:57 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2015-06-29 20:17:57 +0200 |
commit | 2835777e9ae7bde053e0da2f083ee020f26ea04a (patch) | |
tree | 8695f4161ce1d52053a016a69712dcd8cea97d4d /redhat/applications/smartcardauth/smartcardauth-14.0.0.spec | |
parent | d3c1f8ab667376639b6ff83e4eff50cd861fe5d2 (diff) | |
download | tde-packaging-2835777e9ae7bde053e0da2f083ee020f26ea04a.tar.gz tde-packaging-2835777e9ae7bde053e0da2f083ee020f26ea04a.zip |
RPM Packaging: massive update spec files
Diffstat (limited to 'redhat/applications/smartcardauth/smartcardauth-14.0.0.spec')
-rw-r--r-- | redhat/applications/smartcardauth/smartcardauth-14.0.0.spec | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec b/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec index 75d7e35b6..5e5f95dfa 100644 --- a/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec +++ b/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec @@ -1,5 +1,5 @@ # -# spec file for package smartcardauth (version R14.0.0) +# spec file for package smartcardauth (version R14) # # Copyright (c) 2014 Trinity Desktop Environment # @@ -17,7 +17,9 @@ # TDE variables %define tde_epoch 2 +%if "%{?tde_version}" == "" %define tde_version 14.0.0 +%endif %define tde_pkg smartcardauth %define tde_prefix /opt/trinity %define tde_bindir %{tde_prefix}/bin @@ -54,7 +56,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz Source1: trinity-%{tde_pkg}-rpmlintrc -Patch0: %{tde_pkg}-%{tde_version}.patch +Patch0: %{tde_pkg}-14.0.0.patch BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: trinity-tdebase-devel >= %{tde_version} @@ -137,7 +139,9 @@ in addition to the PKCS certificate functionality %prep %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} +%if 0%{?rhel} != 6 %patch0 -p1 -b .ftbfs +%endif %__sed -i "Makefile" \ -e "s|/usr/lib/perl5/Chipcard|%{_libdir}/perl5/vendor_perl/Chipcard|g" |