Bug 1089102 - move macros.ghc-srpm to ghc-srpm-macros and make redhat-rpm-config require it
Summary: move macros.ghc-srpm to ghc-srpm-macros and make redhat-rpm-config require it
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ghc-rpm-macros
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jens Petersen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-18 00:33 UTC by Jens Petersen
Modified: 2014-05-13 08:33 UTC (History)
5 users (show)

Fixed In Version: ghc-rpm-macros-1.2.7-1.fc21
Clone Of:
Environment:
Last Closed: 2014-05-09 05:16:18 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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?


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