Bug 1074269
| Summary: | ghc-rpm-macros installs macros files to /etc/rpm | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ville Skyttä <ville.skytta> |
| Component: | ghc-rpm-macros | Assignee: | Jens Petersen <petersen> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | haskell-devel, petersen |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | https://lists.fedoraproject.org/pipermail/devel/2014-January/195026.html | ||
| Whiteboard: | |||
| Fixed In Version: | ghc-rpm-macros-1.2.3-2.fc21 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-03-10 05:36:12 UTC | Type: | --- |
| 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: | |||
| Bug Blocks: | 1074261 | ||
ghc-rpm-macros-1.2.3-2.fc21 is building now |
The proper location for rpm macros files in rpm >= 4.11 is %{_rpmconfigdir}/macros.d, please move them there from /etc/rpm. If this package's specfile targets Fedora and EL >= 7 only, the location for macro files can be simply changed from /etc/rpm to %{_rpmconfigdir}/macros.d. If it is intended to work on EL 5 and/or 6 as well, you can define a macros dir for example as follows (all on one line) and install the macros to %{macrosdir}: %global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d) Looks like this has already been fixed in git, but there are no successful package builds with the fix in Rawhide.