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.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2024-05-09 12:56:47 +02:00
parent 7f43bf95e8
commit 6f22ccfb07
1 changed files with 2 additions and 4 deletions

View File

@ -133,10 +133,8 @@ Requires: %{_bindir}/xargs
# -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}