#15 support mixing noarch and archful packages in a yum repo build
Merged by jhutar. Opened by dcallagh.
dcallagh/rpmfluff noarch  into  master

Download 15.patch

Currently the YumRepoBuild class assumes that every package you pass
to it was built for the requested architecture. But this makes it
impossible to put noarch packages into the repository, because
YumRepoBuild will look for an arch-specific package when only a noarch
package was produced.

Change YumRepoBuild to only copy over packages if they actually produced
the requested arch, otherwise skip them.

Ping @ignatenkobrain ... I need this rpmfluff patch for the libsolv patches in rpmdeplint, and I know you are keen on those. :-)

Pull-Request has been merged by jhutar

Thank you Dan for this and I'm sorry for a delay (wanted to focus on release duties for last few weeks and some other project). Do you want me to build new package version?

Thanks Jan! If you could tag and build a new version when you have time, that would be great.

Btw Jan the python-rpmfluff package (seems to be maintained by David Shea?) has drifted out of date a bit... Version 0.5.2 is packaged but it's missing some spec file changes that were made. For example it's missing Requires: createrepo_c. Do you want me to file an EPEL bug about that?

Sorry I meant to say... the python-rpmfluff package in EPEL7 has drifted compared to Fedora.

Should be in rawhide and for F26 and F25:

https://bodhi.fedoraproject.org/updates/FEDORA-2017-a3f3a19d39
https://bodhi.fedoraproject.org/updates/FEDORA-2017-7e594f96bb

:tada: Thanks! Will test those updates tomorrow.

Please also check EPEL7 build:

https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-7576a1e7e2

(thanks to @ignatenkobrain for fixing spec there)

Metadata