diff options
author | François Andriot <albator78@libertysurf.fr> | 2021-05-13 20:36:43 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2021-05-13 22:39:07 +0200 |
commit | 8e3510f75a34c04dcf4503c15d4cfa85c92ed0e4 (patch) | |
tree | 5a7f6d1f1a87a7396df89dc61df946fc049f58ac /redhat/main/tdeadmin/tdeadmin.spec | |
parent | 2129c45a49b6487864915ecc1e22726cc5f62b71 (diff) | |
download | tde-packaging-8e3510f75a34c04dcf4503c15d4cfa85c92ed0e4.tar.gz tde-packaging-8e3510f75a34c04dcf4503c15d4cfa85c92ed0e4.zip |
RPM: update all 'Obsoletes' and 'Provides' statement to avoid build warnings
Signed-off-by: François Andriot <albator78@libertysurf.fr>
Diffstat (limited to 'redhat/main/tdeadmin/tdeadmin.spec')
-rw-r--r-- | redhat/main/tdeadmin/tdeadmin.spec | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/redhat/main/tdeadmin/tdeadmin.spec b/redhat/main/tdeadmin/tdeadmin.spec index 7524c30d8..fae6c7a60 100644 --- a/redhat/main/tdeadmin/tdeadmin.spec +++ b/redhat/main/tdeadmin/tdeadmin.spec @@ -66,8 +66,8 @@ Source5: kpackagerc Source6: ksysvrc Source7: kuserrc -Obsoletes: trinity-kdeadmin < %{version}-%{release} -Provides: trinity-kdeadmin = %{version}-%{release} +Obsoletes: trinity-kdeadmin < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-kdeadmin = %{?epoch:%{epoch}:}%{version}-%{release} BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10 BuildRequires: trinity-tdelibs-devel >= %{tde_version} @@ -110,17 +110,17 @@ BuildRequires: pam-devel BuildRequires: lilo %endif -Requires: trinity-kcron = %{version}-%{release} -Requires: trinity-kdat = %{version}-%{release} -Requires: %{name}-kfile-plugins = %{version}-%{release} -Requires: trinity-knetworkconf = %{version}-%{release} -Requires: trinity-kpackage = %{version}-%{release} -Requires: trinity-ksysv = %{version}-%{release} -Requires: trinity-kuser = %{version}-%{release} +Requires: trinity-kcron = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: trinity-kdat = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{name}-kfile-plugins = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: trinity-knetworkconf = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: trinity-kpackage = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: trinity-ksysv = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: trinity-kuser = %{?epoch:%{epoch}:}%{version}-%{release} %if 0%{?with_lilo} -Requires: trinity-lilo-config = %{version}-%{release} +Requires: trinity-lilo-config = %{?epoch:%{epoch}:}%{version}-%{release} %else -Obsoletes: trinity-lilo-config +Obsoletes: trinity-lilo-config < %{?epoch:%{epoch}:}%{version}-%{release} %endif # CONSOLEHELPER (usermode) support |