Skip to content

Commit

Permalink
rpmbuild: in F41 do not depend on yum
Browse files Browse the repository at this point in the history
Addressing F41 installation issue:
 Problém 9: problém s nainstalovaným balíčkem dnf5-5.2.5.0-20240829005832.58.gbe2e6bef.fc40.x86_64
  - package dnf5-5.2.5.0-20240809005713.33.g98e6b01b.fc41.x86_64 from copr:copr.fedorainfracloud.org:rpmsoftwaremanagement:dnf5-unstable obsoletes yum < 5 provided by yum-4.21.1-1.fc41.noarch from fedora
  - package dnf5-5.2.5.0-2.fc41.x86_64 from fedora obsoletes yum < 5 provided by yum-4.21.1-1.fc41.noarch from fedora
  - package copr-builder-0.73-3.fc41.x86_64 from fedora requires dnf-yum, but none of the providers can be installed
  - problém s nainstalovaným balíčkem copr-builder-0.73-1.fc40.x86_64
  - yum-4.21.1-1.fc40.noarch from @System  does not belong to a distupgrade repository
  - dnf5-5.2.5.0-20240829005832.58.gbe2e6bef.fc40.x86_64 from @System  does not belong to a distupgrade repository
  - copr-builder-0.73-1.fc40.x86_64 from @System  does not belong to a distupgrade repository

Note that this means that we are unable to install older chroots (EL8-)
without bootstrap. I.e. building EL8 package will require bootstrap.
  • Loading branch information
xsuchy authored and praiskup committed Sep 5, 2024
1 parent 5199b16 commit 5a6f48f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpmbuild/copr-rpmbuild.spec
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Summary: copr-rpmbuild with all weak dependencies
Requires: %{name} = %{version}-%{release}
Requires: dist-git-client

%if 0%{?fedora}
%if 0%{?fedora} && 0%{?fedora} < 41
# replacement for yum/yum-utils, to be able to work with el* chroots
# bootstrap_container.
Requires: dnf-yum
Expand Down

0 comments on commit 5a6f48f

Please sign in to comment.