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:40:29 +0200 |
commit | ec1c5eaa0e86bf9f34c15e86675834683fbcbbfb (patch) | |
tree | be508994d0f2dc1c9c4a8165249f65f51ae84f50 /redhat/main/tdeadmin/tdeadmin.spec | |
parent | 53213b648bf2965b5a0b272163acd5f3c7703b09 (diff) | |
download | tde-packaging-ec1c5eaa0e86bf9f34c15e86675834683fbcbbfb.tar.gz tde-packaging-ec1c5eaa0e86bf9f34c15e86675834683fbcbbfb.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 1b328f37d..8a84b4662 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 |