[scl.org] Removing 'scls' from %{_sysconfdir} and %{_localstatedir}?

Petr Pisar ppisar at redhat.com
Mon Mar 2 15:28:01 UTC 2015

On Mon, Mar 02, 2015 at 04:00:15PM +0100, Honza Horak wrote:
> On 03/02/2015 09:29 AM, Jan Zelený wrote:
> >>That means we'd just set %_scl_prefix to /opt/fedora/scls in fedora,
> >>while default could stay what it is in scl-utils (just removing the
> >>scls/ hardcoded in the %{_sysconfdir} and similiar macros would be needed).
> >
> >Please correct me if I'm wrong but I don't believe there is mechanism in
> >Fedora that would allow you to do this kind of configuration outside of scl-
> >utils. Does this mean you'd like to start a package similar to redhat-rpm-
> >config that would be maintained by Env. & Stacks?
> Such a package could be tricky, since we cannot depend on rpm reading the
> files under /etc/rpm/macros* in some defined order, do we?

Yes, perl does. Because Perl dependency generators are defined by rpmbuild,
then there is no other way for Perl collection than to redefine them and to
hope the redefinition gets evaluated later then the system one.

-- Petr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 213 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/sclorg/attachments/20150302/29a634f6/attachment.sig>

More information about the SCLorg mailing list