Bug 1074265 - ldc installs macros files to /etc/rpm
Summary: ldc installs macros files to /etc/rpm
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ldc
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Christopher Meng
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:37 UTC by Ville Skyttä
Modified: 2014-03-30 06:15 UTC (History)
2 users (show)

Fixed In Version: ldc-2-57.20140305git6e908ff.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-30 06:15:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ville Skyttä 2014-03-09 10:37:18 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)

Also while at it, remove %config from macros files:
https://fedorahosted.org/fpc/ticket/259

Comment 1 MERCIER Jonathan 2014-03-10 21:20:53 UTC
Thanks that will be fixed soon. Sorry i missed before your bug report

Comment 2 Fedora Update System 2014-03-10 22:48:26 UTC
ldc-2-57.20140305git6e908ff.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/ldc-2-57.20140305git6e908ff.fc20

Comment 3 Fedora Update System 2014-03-12 12:22:17 UTC
Package ldc-2-57.20140305git6e908ff.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ldc-2-57.20140305git6e908ff.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-3750/ldc-2-57.20140305git6e908ff.fc20
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2014-03-30 06:15:10 UTC
ldc-2-57.20140305git6e908ff.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


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