Bug 1133632
| Summary: | change :: Please add %{Gprbuild_Arches} | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Pavel Zhukov <pavel> | 
| Component: | redhat-rpm-config | Assignee: | Panu Matilainen <pmatilai> | 
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | 
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 21 | CC: | bjorn, jonathan, ktdreyer, pmatilai, vondruch | 
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | arm | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | redhat-rpm-config-26-1.fc21 | Doc Type: | Bug Fix | 
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-09-29 04:00:12 UTC | Type: | Bug | 
| Regression: | --- | Mount Type: | --- | 
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1141544 | ||
| Bug Blocks: | |||
(In reply to Pavel Zhukov from comment #0) > As far as I don't have ARM machine to test changes (and this is koji > specific "improvement") can you please add new variable to gnat rpm macros: > GPRBuild_Arches should contain all GNAT arches except %{arm} I assume that you want to use this in ExclusiveArch. Then adding it to fedora-gnat-project-common wouldn't work. It would have to be included in redhat-rpm-config with the other *_arches macros (or in some package that redhat-rpm-config would depend on) to be present when Koji reads the spec. Relevant references for those who aren't already aware of the problem: https://lists.fedoraproject.org/pipermail/devel/2014-June/200040.html https://lists.fedoraproject.org/pipermail/ada/2014/000029.html I think everybody would be happier if we move the macros to some suitable package under GNAT folks maintainership and have redhat-rpm-config depend on that. OCaml received a similar treatment recently, see bug #1087794. I agree that that would be better. To continue the existing name pattern the package should be named gnat-srpm-macros. I guess it should be a separate source package to have absolutely minimal dependencies. fedora-gnat-project-common has very few dependencies already, but it does use Sed in its configuration phase. I will make such a package unless Pavel beats me to it. Pavel'd very appreciate this! :) Thank you in advance Björn! Review request submitted. Panu, can we get this into Fedora 21? Perhaps coordinated with redhat-rpm-config in a single Bodhi update? gnat-srpm-macros-1-1.fc21 has been built and is ready to be submitted to Bodhi. Is redhat-rpm-config ready? Um, rawhide needs to be done first, after that we can consider f21. Okay, built for both rawhide and f21 now, here's the f21 build: http://koji.fedoraproject.org/koji/buildinfo?buildID=579760 Apparently I'm not allowed to submit both packages as a single update, so I'm submitting gnat-srpm-macros to testing now. There will be a file conflict until redhat-rpm-config follows, but it won't break anyone's system. gnat-srpm-macros-1-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/gnat-srpm-macros-1-1.fc21 redhat-rpm-config-26-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/redhat-rpm-config-26-1.fc21 Package redhat-rpm-config-26-1.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing redhat-rpm-config-26-1.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-11327/redhat-rpm-config-26-1.fc21 then log in and leave karma (feedback). redhat-rpm-config-26-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. gnat-srpm-macros-1-1.fc21 has been pushed to the Fedora 21 stable repository. Why does redhat-rpm-config depends on these macros?? What is the point? Why should I need these macros on my system by default? Can somebody enlighten me please? To answer my question, it is just dependency for packaging tools and I have some packaging tools on my system. Sorry for the noise ...  | 
Hi, As far as I don't have ARM machine to test changes (and this is koji specific "improvement") can you please add new variable to gnat rpm macros: GPRBuild_Arches should contain all GNAT arches except %{arm} I'll try to workaround this later (may be). -- Pavel