[Fedora-haskell-list] [Bug 547997] New: rpmbuild -bs became more strict and chokes on undefined macros in Requires

bugzilla at redhat.com bugzilla at redhat.com
Wed Dec 16 10:13:51 UTC 2009


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.

Summary: rpmbuild -bs became more strict and chokes on undefined macros in Requires

https://bugzilla.redhat.com/show_bug.cgi?id=547997

           Summary: rpmbuild -bs became more strict and chokes on
                    undefined macros in Requires
           Product: Fedora
           Version: rawhide
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: medium
          Priority: medium
         Component: rpm
        AssignedTo: pmatilai at redhat.com
        ReportedBy: petersen at redhat.com
         QAContact: extras-qa at fedoraproject.org
                CC: pmatilai at redhat.com, jnovy at redhat.com,
                    ffesti at redhat.com, fedora-haskell-list at redhat.com
    Classification: Fedora
    Target Release: ---


Description of problem:
I can understand on BuildRequires but rpm now seems to need
to be able to expand macros in Requires to build srpms?

Version-Release number of selected component (if applicable):
4.8.0-0.beta1.3

How reproducible:
every time

Steps to Reproduce:
1. use macro like %ghc_version not defined in rpm or redhat-rpm-config (base)
   in package .spec file
2. try to build in dist-f13 in koji
3. job fails while generating srpm

Actual results:
http://koji.fedoraproject.org/koji/taskinfo?taskID=1874770

Expected results:
Be allowed like in dist-f12?

Additional info:
We need ghc macros in rpm or redhat-rpm-config like we have for ocaml.
See ghc-rpm-macros package for %ghc_version and more.

Without fixing this we can't build ghc library packages for rawhide
and ghc-6.12.1 was just released so we need to rebuild them all.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the Fedora-haskell-list mailing list