Fix obsoletes on removed subpackages

This commit is contained in:
Mikolaj Izdebski 2021-06-01 06:51:38 +02:00
parent e9453396eb
commit d13da585d0

View File

@ -3,7 +3,7 @@
Name: sisu
Epoch: 1
Version: 0.3.4
Release: 5%{?dist}
Release: 6%{?dist}
Summary: Eclipse dependency injection framework
# sisu is EPL-1.0, the bundled asm is BSD
License: EPL-1.0 and BSD
@ -42,8 +42,8 @@ BuildRequires: mvn(org.testng:testng)
Provides: bundled(objectweb-asm)
Obsoletes: %{name}-inject = 1:0.3.4-4
Obsoletes: %{name}-plexus = 1:0.3.4-4
Obsoletes: %{name}-inject < 1:0.3.4-5
Obsoletes: %{name}-plexus < 1:0.3.4-5
Provides: %{name}-inject = %{epoch}:%{version}-%{release}
Provides: %{name}-plexus = %{epoch}:%{version}-%{release}
@ -86,6 +86,9 @@ cp %{SOURCE102} sisu-plexus/pom.xml
%license sisu-inject/LICENSE.txt
%changelog
* Tue Jun 01 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.3.4-6
- Fix obsoletes on removed subpackages
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.3.4-5
- Bootstrap build
- Non-bootstrap build