Bug 1074278 - javapackages-tools installs macros files to /etc/rpm
Summary: javapackages-tools installs macros files to /etc/rpm
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: javapackages-tools
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mikolaj Izdebski
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:52 UTC by Ville Skyttä
Modified: 2014-07-16 12:38 UTC (History)
5 users (show)

Fixed In Version: 4.1.0-2
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-16 12:38:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ville Skyttä 2014-03-09 10:52:55 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 Mikolaj Izdebski 2014-03-10 06:56:55 UTC
Already fixed upstream as mentioned on mailing list.
The fix will be included in Fedora when next upstream version is packaged.

Comment 2 Fedora Admin XMLRPC Client 2014-04-24 12:47:19 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Mikolaj Izdebski 2014-07-16 12:38:39 UTC
I believe that this feature is included in javapackages-tools-4.1.0-2,
which is available in Fedora 21, so I am closing this bug now.

The build which includes the feature can be found at Koji:
http://koji.fedoraproject.org/koji/buildinfo?buildID=543061


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