Bug 741869 - add %ghc_arches for el6
Summary: add %ghc_arches for el6
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: epel-release
Version: el6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dennis Gilmore
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1029736
TreeView+ depends on / blocked
 
Reported: 2011-09-28 09:09 UTC by Jens Petersen
Modified: 2013-11-13 04:33 UTC (History)
3 users (show)

Fixed In Version: epel-release-6-6
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1029736 (view as bug list)
Environment:
Last Closed: 2012-05-07 22:09:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
epel-release.spec-macros.ghc-srpm.patch (1.31 KB, patch)
2012-01-10 03:36 UTC, Jens Petersen
no flags Details | Diff
macros.ghc-srpm (171 bytes, application/octet-stream)
2012-01-10 03:38 UTC, Jens Petersen
no flags Details
macros.ghc-srpm (116 bytes, application/octet-stream)
2012-03-02 09:51 UTC, Jens Petersen
no flags Details

Description Jens Petersen 2011-09-28 09:09:06 UTC
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.

Comment 1 Michael Stahnke 2011-12-28 08:24:52 UTC
If you supply a patch, I don't see why we couldn't add it.  I'll ask Dennis as well.

Comment 2 Jens Petersen 2012-01-10 03:36:25 UTC
Created attachment 551750 [details]
epel-release.spec-macros.ghc-srpm.patch

A patch to epel-release.spec adding "/etc/rpm/macros.ghc-srpm".

Comment 3 Jens Petersen 2012-01-10 03:38:09 UTC
Created attachment 551751 [details]
macros.ghc-srpm

The rpm macros from Fedora's latest redhat-rpm-config.

Comment 4 Dennis Gilmore 2012-01-10 18:36:50 UTC
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.

Comment 5 Jens Petersen 2012-01-11 13:10:50 UTC
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.

Comment 6 Jens Petersen 2012-01-11 13:13:10 UTC
I am happy to provide a patch to redhat-rpm-config for this.

Comment 13 Dennis Gilmore 2012-02-27 16:24:42 UTC
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.

Comment 14 Jens Petersen 2012-02-29 03:48:46 UTC
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... :)

Comment 15 Panu Matilainen 2012-02-29 08:14:52 UTC
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.

Comment 16 Jens Petersen 2012-02-29 08:30:34 UTC
Back to comment 4 then.

Comment 17 Jens Petersen 2012-03-02 03:46:04 UTC
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.

Comment 18 Jens Petersen 2012-03-02 09:51:27 UTC
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.

Comment 19 Fedora Update System 2012-04-20 13:53:28 UTC
epel-release-6-6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/epel-release-6-6

Comment 20 Fedora Update System 2012-04-21 20:59:42 UTC
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).

Comment 21 Fedora Update System 2012-05-07 22:09:01 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.