Bug 1074278

Summary: javapackages-tools installs macros files to /etc/rpm
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: javapackages-toolsAssignee: Mikolaj Izdebski <mizdebsk>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: java-sig-commits, mizdebsk, msimacek, msrb, sochotni
Target Milestone: ---Keywords: FutureFeature, Triaged, Upstream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://lists.fedoraproject.org/pipermail/devel/2014-January/195026.html
Whiteboard:
Fixed In Version: 4.1.0-2 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-16 12:38:39 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    

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