Restore version in Obsoletes for rpmautospec-rpm-macros

Omitting the version is against Packaging Guidelines and causes a
noisy warning to be emitted for every build.

(cherry picked from commit 6f22ccfb07d9cb9ad230ca2875893fa6c8c3255c)

Resolves: RHEL-40562
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2024-05-09 12:56:47 +02:00 committed by Florian Weimer
parent 3c5a6b1754
commit 9a8c77f977

View File

@ -136,10 +136,8 @@ Requires: (gawk if clang)
# -fstack-clash-protection and -fcf-protection require GCC 8.
Conflicts: gcc < 8.0.1-0.22
# Obsoletes intentionally without version: rpmautospec in Fedora <= 39 ships
# the macro package, and its version has long passed the one previously
# recorded here.
Obsoletes: rpmautospec-rpm-macros
# Replaced by macros.rpmautospec shipped by us
Obsoletes: rpmautospec-rpm-macros < 0.6.3-2
Provides: system-rpm-config = %{version}-%{release}