Bug 1074282 - ruby installs macros files to /etc/rpm
Summary: ruby installs macros files to /etc/rpm
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ruby
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vít Ondruch
QA Contact: Fedora Extras Quality Assurance
URL: https://lists.fedoraproject.org/piper...
Whiteboard:
Depends On:
Blocks: 1074261
TreeView+ depends on / blocked
 
Reported: 2014-03-09 10:53 UTC by Ville Skyttä
Modified: 2014-05-09 13:22 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-05-09 13:22:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ville Skyttä 2014-03-09 10:53:14 UTC
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)

Comment 1 Vít Ondruch 2014-03-10 09:22:38 UTC
Thanks for the report. This is prepared in Ruby 2.1 branch, commit 0f37fb5c2c291a48379a7edb97c53ae991fcb401

Comment 2 Vít Ondruch 2014-05-09 13:22:21 UTC
Ruby 2.1 is in Rawhide now, including the above mentioned commit.


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