[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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

Attachment: pgpKi4QwyAbBs.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]