[Bug 1074269] New: ghc-rpm-macros installs macros files to /etc/rpm
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1074269
Bug ID: 1074269
Summary: ghc-rpm-macros installs macros files to /etc/rpm
Product: Fedora
Version: rawhide
Component: ghc-rpm-macros
Assignee: petersen(a)redhat.com
Reporter: ville.skytta(a)iki.fi
QA Contact: extras-qa(a)fedoraproject.org
CC: haskell-devel(a)lists.fedoraproject.org,
petersen(a)redhat.com
Blocks: 1074261
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.
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1074261
[Bug 1074261] macro files install dir tracker bug
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=fOcF6dnXHu&a=cc_unsubscribe
10 years, 2 months