summaryrefslogtreecommitdiffstats
path: root/redhat/applications/tde-systemsettings/tde-systemsettings-14.0.0.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/tde-systemsettings/tde-systemsettings-14.0.0.spec')
-rw-r--r--redhat/applications/tde-systemsettings/tde-systemsettings-14.0.0.spec14
1 files changed, 8 insertions, 6 deletions
diff --git a/redhat/applications/tde-systemsettings/tde-systemsettings-14.0.0.spec b/redhat/applications/tde-systemsettings/tde-systemsettings-14.0.0.spec
index b4190ad5e..eedbf2917 100644
--- a/redhat/applications/tde-systemsettings/tde-systemsettings-14.0.0.spec
+++ b/redhat/applications/tde-systemsettings/tde-systemsettings-14.0.0.spec
@@ -1,5 +1,5 @@
#
-# spec file for package tde-systemsettings (version R14.0.0)
+# spec file for package tde-systemsettings (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 tde-systemsettings
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
@@ -55,14 +57,14 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Source1: kde-settings-laptops.directory
-Patch0: %{tde_pkg}-%{tde_version}.patch
+Patch0: %{tde_pkg}-14.0.0.patch
-Provides: trinity-kde-systemsettings = %{version}-%{release}
-Obsoletes: trinity-kde-systemsettings < %{version}-%{release}
-Provides: trinity-systemsettings = %{version}-%{release}
-Obsoletes: trinity-systemsettings < %{version}-%{release}
+Provides: trinity-kde-systemsettings = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-systemsettings < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-systemsettings = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-systemsettings < %{?epoch:%{epoch}:}%{version}-%{release}
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}