Make main package Conflicts+Obsoletes with -standalone- subpackages
I'm not entirely sure if this is the right form... Is Conflicts? useful when we have Obsoletes? Seem to work OK. I tested: dnf --installroot=... install x86_64/systemd-standalone-sysusers-246.6-2.fc34.x86_64.rpm x86_64/systemd-standalone-tmpfiles-246.6-2.fc34.x86_64.rpm → succeeds with a new installation → fails if the installroot already had systemd installed dnf --installroot=... install x86_64/systemd{,-libs,-pam}-246.6-2.fc34.x86_64.rpm noarch/systemd-noarch-246.6-2.fc34.noarch.rpm → uninstalls the two standalone packages
This commit is contained in:
parent
b50e9d7f29
commit
b36512ad8f
@ -175,6 +175,10 @@ Conflicts: fedora-release < 23-0.12
|
||||
%endif
|
||||
Obsoletes: timedatex < 0.6-3
|
||||
Provides: timedatex = 0.6-3
|
||||
Conflicts: %{name}-standalone-tmpfiles < %{version}-%{release}^
|
||||
Obsoletes: %{name}-standalone-tmpfiles < %{version}-%{release}^
|
||||
Conflicts: %{name}-standalone-sysusers < %{version}-%{release}^
|
||||
Obsoletes: %{name}-standalone-sysusers < %{version}-%{release}^
|
||||
|
||||
%description
|
||||
systemd is a system and service manager that runs as PID 1 and starts
|
||||
|
Loading…
Reference in New Issue
Block a user