diff options
Diffstat (limited to 'build.macros.in')
-rw-r--r-- | build.macros.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build.macros.in b/build.macros.in index 9b1bb20..d90e846 100644 --- a/build.macros.in +++ b/build.macros.in @@ -380,8 +380,8 @@ export CFLAGS="%optflags"; export CXXFLAGS="%optflags"; export RPM_OPT_FLAGS="%o # Macro from conectiva %rename() \ -Obsoletes: %{1} < %{version}-%{release} \ -Provides: %{1} = %{version}-%{release} +Obsoletes: %{1} <= %{?epoch:%epoch}%{?!epoch:0}:%{version}-%{release} \ +Provides: %{1} = %{?epoch:%epoch}%{?!epoch:0}:%{version}-%{release} # Shorthand for %{defined with_...} # macros provided by rpm 4.4, but buggy :( |