Bug 1089102

Summary: move macros.ghc-srpm to ghc-srpm-macros and make redhat-rpm-config require it
Product: [Fedora] Fedora Reporter: Jens Petersen <petersen>
Component: ghc-rpm-macrosAssignee: Jens Petersen <petersen>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: haskell-devel, normand, petersen, pmatilai, rjones
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ghc-rpm-macros-1.2.7-1.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-09 05:16:18 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:

Description Jens Petersen 2014-04-18 00:33:34 UTC
Description of problem:
ocaml and perl now have ocaml-srpm-macros and perl-srpm-macros
(required by redhat-rpm-macros).  We should move the macros.ghc-srpm
patch out from redhat-rpm-config into ghc-srpm-macros
(or ghc-rpm-macros-srpm).

Comment 1 Jens Petersen 2014-05-01 05:10:27 UTC
Okay this has been done today in ghc-rpm-macros-1.2.7-1.fc21
(which adds ghc-srpm-macros) and redhat-rpm-config-21-1.fc21.

It might be better though in terms of long term stability
to make ghc-srpm-macros a separate source package though
since ghc-rpm-macros gets a fair bit of churn in rawhide
at least whereas I expect macros.ghc-srpm to change very slowly
over releases.

Comment 2 Jens Petersen 2014-05-09 05:16:54 UTC
Bug 1093541 is the review for ghc-srpm-macros.

Comment 3 Michel Normand 2014-05-13 06:10:54 UTC
this change seems to have created dependency loop that make build to fail as per:
http://ppc-le.koji.fedoraproject.org/kojifiles/work/tasks/7237/17237/root.log

===
DEBUG util.py:282:  Error: Package: redhat-rpm-config-21-1.fc21.noarch (build)
DEBUG util.py:282:             Requires: ghc-srpm-macros
===

Comment 4 Richard W.M. Jones 2014-05-13 08:16:16 UTC
Isn't it just that ghc-srpm-macros is not included in the ppc64le
compose?

There doesn't appear to be any problem in the ghc-rpm-macros.spec
file.  It doesn't BuildRequire anything.  Also ghc-srpm-macros doesn't
Require anything.

I think you should ask whoever does release engineering for ppc64le
to take a look.

Comment 5 Jens Petersen 2014-05-13 08:33:30 UTC
It looks like redhat-rpm-config-21-1.fc21 is untagged now.
Then you should be able to:

- build ghc-rpm-macros-1.2.7-1.fc21
- tag redhat-rpm-config-21-1.fc21 into f21

and hopefully all will be well again.

(If you had built redhat-rpm-config-20-1.fc21, ghc-rpm-macros-1.2.7-1.fc21,
and then redhat-rpm-config-21-1.fc21, I guess you could have avoided
this problem.)

Does that help?