Bug 1074284

Summary: scl-utils installs macros files to /etc/rpm
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: scl-utilsAssignee: Ľuboš Kardoš <lkardos>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: bkabrda, jay.hilliard, jorton, jzeleny
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://lists.fedoraproject.org/pipermail/devel/2014-January/195026.html
Whiteboard:
Fixed In Version: scl-utils-2.0.1-5.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 11:07:33 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:53:24 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 Jay Hilliard 2014-07-12 02:09:14 UTC
Will this fix things so I can set per-collection macros that don't conflict?

Comment 2 Jaroslav Reznik 2015-03-03 15:34:07 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 3 Ville Skyttä 2015-03-04 20:32:52 UTC
Fixed in scl-utils-2.0.1-3.fc23 but build fails due to unrelated errors:

https://kojipkgs.fedoraproject.org//work/tasks/9219/9139219/build.log

/usr/bin/ld: CMakeFiles/scl.dir/scl.c.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
CMakeFiles/scl.dir/scl.c.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status

Comment 4 Fedora Admin XMLRPC Client 2016-05-30 14:58:47 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 5 Fedora End Of Life 2016-07-19 11:07:33 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.