Bug 1156129

Summary: Include macros for golang
Product: [Fedora] Fedora Reporter: Vincent Batts <vbatts>
Component: redhat-rpm-configAssignee: Florian Festi <ffesti>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: fweimer, jonathan, ktdreyer, pmatilai, vbatts
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-20 19:37:41 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:
Attachments:
Description Flags
example macros.go to be included none

Description Vincent Batts 2014-10-23 15:47:04 UTC
Created attachment 949999 [details]
example macros.go to be included

Description of problem:
Supported architecture macros needed early. Similar to the ocaml arch macros. macros are declared in golang.spec and the golang rpm provides a macros.golang to declare the macros as well.


Version-Release number of selected component (if applicable):
redhat-rpm-config-9.1.0-54.fc20.noarch

How reproducible:
n/a

Steps to Reproduce:
1. 
2.
3.

Actual results:


Expected results:


Additional info:
Question, if I need to provide additional rpm macros for golang packaging convience, can I still have a package like golang-devel to provide a macros.golang for these? (rather than filing bugs against redhat-rpm-config)

Comment 1 Panu Matilainen 2014-10-24 06:48:00 UTC
Switching to rawhide, that's where these things need to start at.

Please create a separate golang-srpm-macros package for this purpose, we'll make redhat-rpm-config depend on that once done. This way managing future changes and additions remains in your hands, and is where the other similar cases are moving to (see eg bugs #1087794, #1089102 and #1133632)

Comment 2 Vincent Batts 2014-10-24 16:38:49 UTC
(In reply to Panu Matilainen from comment #1)
> Switching to rawhide, that's where these things need to start at.
> 
> Please create a separate golang-srpm-macros package for this purpose, we'll
> make redhat-rpm-config depend on that once done. This way managing future
> changes and additions remains in your hands, and is where the other similar
> cases are moving to (see eg bugs #1087794, #1089102 and #1133632)

http://koji.fedoraproject.org/koji/buildinfo?buildID=587606 now provides a 'golang-srpm-macros' rpm. So, will this be the only thing that redhat-rpm-config need?

Comment 3 Panu Matilainen 2014-10-27 08:24:10 UTC
For existing architectures that would be fine. However think about bootstrapping new architectures: redhat-rpm-config is among the packages you need before building anything, and if you need to be able to build golang to satisfy its depenencies...

Please create a completely separate package for the srpm-macros which is independent fromthe rest of golang and has no buildrequires at all.

Comment 4 Fedora Admin XMLRPC Client 2014-11-14 07:24:42 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 5 Jaroslav Reznik 2015-03-03 16:23:41 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 6 Florian Festi 2015-05-29 11:59:51 UTC
As I have taken over redhat-rpm-config and might miss some context. Do you still need something? And what?

Comment 7 Vincent Batts 2015-07-20 19:37:41 UTC
closing this in favor of bz1243922

*** This bug has been marked as a duplicate of bug 1243922 ***