Description of problem: In Fedora we now have %ghc_arches defined in redhat-rpm-config. I would like to be able to build current Fedora ghc packages also on EPEL-6, it doesn't have %ghc_arches defined yet so I can't. ghc_arches is just a list of the archs where ghc has been bootstrapped (for Fedora). I don't think redhat-rpm-config can be updated for el6 so I am wondering if it can be added here instead? I am happy to produce a patch to do that.
If you supply a patch, I don't see why we couldn't add it. I'll ask Dennis as well.
Created attachment 551750 [details] epel-release.spec-macros.ghc-srpm.patch A patch to epel-release.spec adding "/etc/rpm/macros.ghc-srpm".
Created attachment 551751 [details] macros.ghc-srpm The rpm macros from Fedora's latest redhat-rpm-config.
doesnt matter if we add it or not. it will not be available to be used, we do not install epel-release in the el6 minimal buildroot or srpm creation buildroot. we could change that but it does mean a change. it belongs in redhat-rpm-config not as a hack in epel-release. please try to go the path of redhat-rpm-config first.
Doh - good point! Hmm that means I have to request it be added to RHEL, which I imagine may well take a long time, oh dear hmmm... Let me try anyway.
I am happy to provide a patch to redhat-rpm-config for this.
curious whats going on here. It got moved to epel-release and then back to redhat-rpm-config. the last Entry i can see is from Jens on 2012-01-11 no idea if there has been further discussion beyond that.
Panu doesn't seem to think that redhat-rpm-config is the right place for housing the macro for EPEL6 and suggested having an epel-rpm-config package say instead. Perhaps using epel-release would also be ok for now? I just want to be able to update ghc* for epel6... :)
I guess Dennis isn't seeing the (unnecessarily) private comments in between. In any case, I too fail to see why this was reassigned to redhat-rpm-config as EPEL is free to change their packages / add new ones as they please, but I cannot do that.
Back to comment 4 then.
Personally I feel that epel-release is kind of a sensitive package so in the long term it would be better to use say an epel-rpm-config package to house the macros for current EPEL releases, also given that epel-release is not currently needed in mock. Anyway, Dennis suggested we go ahead with patching epel-release and pulling that into the default koji buildroot so I will update the patch to the latest macros.
Created attachment 567022 [details] macros.ghc-srpm Updated macros.ghc-srpm to just list i686 and x86_64 arches, since currently epel6 only has ghc built for them. epel-release.spec-macros.ghc-srpm.patch should still be good.
epel-release-6-6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/epel-release-6-6
Package epel-release-6-6: * should fix your issue, * was pushed to the Fedora EPEL 6 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing epel-release-6-6' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2012-5627/epel-release-6-6 then log in and leave karma (feedback).
epel-release-6-6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.