distribution: remove osbuild-composer-koji
Remove both the package osbuild-composer-koji, and the only file it
shipped: osbuild-composer-koji.socket.
It's been deprecated since 835b556, but the backwards-compatible
solution in that commit never worked, because osbuild-composer only
checks for "osbuild-composer-api.socket" when starting up.
Since this has been meant to be deprecated for a while, just remove it
outright.
Add an "Obsoletes:" for the package, so that it gets uninstalled on
existing systems.
This commit is contained in:
parent
e47b44329e
commit
41a797547a
2 changed files with 3 additions and 30 deletions
|
|
@ -1 +0,0 @@
|
|||
osbuild-composer-api.socket
|
||||
|
|
@ -77,6 +77,9 @@ Obsoletes: lorax-composer < 34.3
|
|||
Obsoletes: golang-github-osbuild-composer < %{version}-%{release}
|
||||
Provides: golang-github-osbuild-composer = %{version}-%{release}
|
||||
|
||||
# remove when F34 is EOL
|
||||
Obsoletes: osbuild-composer-koji
|
||||
|
||||
%description
|
||||
%{common_description}
|
||||
|
||||
|
|
@ -158,7 +161,6 @@ install -m 0644 -vp distribution/osbuild-remote-worker.socket %{buildroot}%{_u
|
|||
install -m 0644 -vp distribution/osbuild-remote-worker@.service %{buildroot}%{_unitdir}/
|
||||
install -m 0644 -vp distribution/osbuild-worker@.service %{buildroot}%{_unitdir}/
|
||||
install -m 0644 -vp distribution/osbuild-composer-api.socket %{buildroot}%{_unitdir}/
|
||||
install -m 0644 -vp distribution/osbuild-composer-koji.socket %{buildroot}%{_unitdir}/
|
||||
install -m 0755 -vd %{buildroot}%{_unitdir}
|
||||
install -m 0644 -vp distribution/osbuild-composer.{service,socket} %{buildroot}%{_unitdir}/
|
||||
install -m 0644 -vp distribution/osbuild-*worker*.{service,socket} %{buildroot}%{_unitdir}/
|
||||
|
|
@ -294,7 +296,6 @@ systemctl stop "osbuild-worker@*.service" "osbuild-remote-worker@*.service"
|
|||
%package tests
|
||||
Summary: Integration tests
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-koji = %{version}-%{release}
|
||||
Requires: composer-cli
|
||||
Requires: createrepo_c
|
||||
Requires: genisoimage
|
||||
|
|
@ -346,32 +347,5 @@ Integration tests to be run on a pristine-dedicated system to test the osbuild-c
|
|||
|
||||
%endif
|
||||
|
||||
%package koji
|
||||
Summary: osbuild-composer for pushing images to Koji
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
# remove in F34
|
||||
Obsoletes: golang-github-osbuild-composer-rcm < %{version}-%{release}
|
||||
Provides: golang-github-osbuild-composer-rcm = %{version}-%{release}
|
||||
# remove in the future
|
||||
Obsoletes: osbuild-composer-rcm < %{version}-%{release}
|
||||
Provides: osbuild-composer-rcm = %{version}-%{release}
|
||||
|
||||
%description koji
|
||||
osbuild-composer specifically for pushing images to Koji. This package is only
|
||||
needed for backwards compatibility and will be removed in the future.
|
||||
|
||||
%files koji
|
||||
%{_unitdir}/osbuild-composer-koji.socket
|
||||
|
||||
%post koji
|
||||
%systemd_post osbuild-composer-koji.socket
|
||||
|
||||
%preun koji
|
||||
%systemd_preun osbuild-composer-koji.socket
|
||||
|
||||
%postun koji
|
||||
%systemd_postun_with_restart osbuild-composer-koji.socket
|
||||
|
||||
%changelog
|
||||
# the changelog is distribution-specific, therefore it doesn't make sense to have it upstream
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue