summaryrefslogtreecommitdiffstats
path: root/redhat/applications/adept/adept-3.5.13.2.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/adept/adept-3.5.13.2.spec')
-rw-r--r--redhat/applications/adept/adept-3.5.13.2.spec12
1 files changed, 2 insertions, 10 deletions
diff --git a/redhat/applications/adept/adept-3.5.13.2.spec b/redhat/applications/adept/adept-3.5.13.2.spec
index ef01e0480..0939d80f0 100644
--- a/redhat/applications/adept/adept-3.5.13.2.spec
+++ b/redhat/applications/adept/adept-3.5.13.2.spec
@@ -2,11 +2,6 @@
%define tde_pkg adept
%define tde_version 3.5.13.2
-# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
-%if "%{?tde_prefix}" != "/usr"
-%define _variant .opt
-%endif
-
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
@@ -27,7 +22,7 @@
Name: trinity-%{tde_pkg}
Summary: Package management suite for Trinity
Version: 2.1.3
-Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant}
+Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}
License: GPLv2+
Group: Applications/Utilities
@@ -149,7 +144,7 @@ by external applications.
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
-%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
+%__cp "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common"
@@ -186,6 +181,3 @@ export PATH="%{tde_bindir}:${PATH}"
%changelog
-* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.1.3-1
-- Initial release for TDE 3.5.13.2
-