use versioned obsoletes

This commit is contained in:
Rex Dieter 2021-02-16 13:51:56 -06:00
parent f5696ff90c
commit a14d6957e5

View File

@ -8,7 +8,7 @@
Name: taglib
Summary: Audio Meta-Data Library
Version: 1.12
Release: 1%{?dist}
Release: 2%{?dist}
License: LGPLv2 or MPLv1.1
URL: http://taglib.github.io/
@ -52,7 +52,7 @@ This is API documentation generated from the TagLib source code.
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%if ! %{with doc}
Obsoletes: %{name}-doc
Obsoletes: %{name}-doc < %{version}-%{release}
%endif
%description devel
Files needed when building software with %{name}.
@ -121,6 +121,9 @@ test "$(pkg-config --modversion taglib_c)" = "%{version}"
%changelog
* Tue Feb 16 2021 Rex Dieter <rdieter@fedoraproject.org> - 1.12-2
- use versioned obsoletes
* Tue Feb 16 2021 David King <amigadave@amigadave.com> - 1.12-1
- Update to 1.12 (#1584870)