Red Hat Bugzilla – Bug 1303983
dnf repoclosure needs an arch flag
Last modified: 2016-07-22 05:05:56 EDT
Description of problem:
yum's repoclosure has
-a ARCH, --arch=ARCH check packages of the given archs, can be specified
multiple times (default: current arch)
In release engineering we make extensive use of this and need the same flags for "dnf repoclosure"
Version-Release number of selected component (if applicable):
Steps to Reproduce:
repoclosure is installed by dnf-plugins-extras package.
With this PR  in DNF it should be possible to change the architecture in documented way.
Please could you provide an example how it was used by yum and how you would like to use it with dnf that I can reproduce. I am going to work on it and I need an example for testing if it works like you would like to.
/usr/bin/repoclosure --arch=armv7hnl --arch=armv7hl --arch=armv6hl --arch=noarch --repofrompath=repoclosure-Everything.armhfp,file:///mnt/koji/compose/rawhide/Fedora-24-20160209.n.0/compose/Everything/armhfp/os --repoid=repoclosure-Everything.armhfp
/usr/bin/repoclosure --arch=x86_64 --arch=athlon --arch=i686 --arch=i586 --arch=i486 --arch=i386 --arch=noarch --repofrompath=repoclosure-Everything.x86_64,file:///mnt/koji/compose/rawhide/Fedora-24-20160209.n.0/compose/Everything/x86_64/os --repoid=repoclosure-Everything.x86_64
/usr/bin/repoclosure --arch=athlon --arch=i686 --arch=i586 --arch=i486 --arch=i386 --arch=noarch --repofrompath=repoclosure-Everything.i386,file:///mnt/koji/compose/rawhide/Fedora-24-20160209.n.0/compose/Everything/i386/os --repoid=repoclosure-Everything.i386
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.
More information and reason for this action is here:
A made a pull-request https://github.com/rpm-software-management/dnf-plugins-extras/pull/54 that introduce --arch option. It has to just pass testing phase.
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see firstname.lastname@example.org with any questions
Patch has been merged. Will do a release during next week.
Jaroslav, thanks for contribution.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Fixed as part of DNF 2.0 release which will be available at some point soon.