diff --git a/ultramarine/dnf5-default-package-manager/anda.hcl b/ultramarine/dnf5-default-package-manager/anda.hcl deleted file mode 100644 index f45db3b..0000000 --- a/ultramarine/dnf5-default-package-manager/anda.hcl +++ /dev/null @@ -1,6 +0,0 @@ -project pkg { - arches = ["x86_64"] - rpm { - spec = "dnf5-default-package-manager.spec" - } -} diff --git a/ultramarine/dnf5-default-package-manager/dnf5-default-package-manager.spec b/ultramarine/dnf5-default-package-manager/dnf5-default-package-manager.spec deleted file mode 100644 index 637b054..0000000 --- a/ultramarine/dnf5-default-package-manager/dnf5-default-package-manager.spec +++ /dev/null @@ -1,43 +0,0 @@ -%define debug_package %nil - -Name: dnf5-default-package-manager -Version: 0 -Release: 2%?dist -Summary: Package that sets dnf5 as the default package manager -License: MIT -URL: https://wiki.ultramarine-linux.org/en/usage/um40-dnf5/ -Requires: dnf5 -Recommends: dnf5-plugins -BuildArch: noarch - -%description -This package contains post-install hooks that symlinks %_bindir/dnf -to the new dnf5 binary. - -%prep - -%build - -%install - -%posttrans -if [ $1 -gt 1 ]; then - rm %_bindir/{dnf,yum} - ln -s %_bindir/dnf5 /usr/bin/dnf - ln -s %_bindir/dnf5 /usr/bin/yum -fi - -%preun -rm %_bindir/{dnf,yum} -ln -s /usr/bin/dnf-3 /usr/bin/dnf -ln -s %_bindir/dnf-3 /usr/bin/yum - -%triggerin -- dnf -rm %_bindir/{dnf,yum} -ln -s %_bindir/dnf5 /usr/bin/dnf -ln -s %_bindir/dnf5 /usr/bin/yum - -%triggerin -- yum -rm %_bindir/{dnf,yum} -ln -s %_bindir/dnf5 /usr/bin/dnf -ln -s %_bindir/dnf5 /usr/bin/yum diff --git a/ultramarine/release/ultramarine-release.spec b/ultramarine/release/ultramarine-release.spec index e54c090..a0abd87 100644 --- a/ultramarine/release/ultramarine-release.spec +++ b/ultramarine/release/ultramarine-release.spec @@ -52,6 +52,7 @@ Source0: LICENSE URL: https://ultramarine-linux.org Recommends: ultramarine-release-identity-basic BuildArch: noarch +Obsoletes: dnf5-default-package-manager Provides: ultramarine-release = %{version}-%{release} Provides: ultramarine-release-variant = %{version}-%{release}