summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/python-tqt
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/dependencies/python-tqt')
-rw-r--r--redhat/dependencies/python-tqt/python-tqt-14.0.0.spec15
1 files changed, 5 insertions, 10 deletions
diff --git a/redhat/dependencies/python-tqt/python-tqt-14.0.0.spec b/redhat/dependencies/python-tqt/python-tqt-14.0.0.spec
index 000b00936..3b8b54d68 100644
--- a/redhat/dependencies/python-tqt/python-tqt-14.0.0.spec
+++ b/redhat/dependencies/python-tqt/python-tqt-14.0.0.spec
@@ -1,5 +1,5 @@
#
-# spec file for package python-tqt (version R14.0.0)
+# spec file for package python-tqt (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
#
-# Please submit bugfixes or comments via http:/www.trinitydesktop.org/
+# Please submit bugfixes or comments via http://www.trinitydesktop.org/
#
# BUILD WARNING:
@@ -23,7 +23,9 @@
# TDE variables
%define tde_epoch 2
+%if "%{?tde_version}" == ""
%define tde_version 14.0.0
+%endif
%define tde_pkg python-tqt
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
@@ -36,16 +38,11 @@
%define tde_tdeincludedir %{tde_includedir}/tde
%define tde_tdelibdir %{tde_libdir}/trinity
-# 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
-
Name: trinity-%{tde_pkg}
Epoch: %{tde_epoch}
Version: 3.18.1
-Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
Summary: TQt bindings for Python
Group: Development/Libraries/Python
URL: http://www.trinitydesktop.org/
@@ -265,5 +262,3 @@ echo yes | %__python ../configure.py \
%changelog
-* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 3.18.1-1
-- Initial release for TDE R14.0.0