Re: Macros in %files

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

 



On Fri, 14 Nov 2008 08:55:57 -0700, Orion Poplawski wrote:

> Michael Schwendt wrote:
> > On Thu, 13 Nov 2008 22:50:04 -0700 (MST), Orion Poplawski wrote:
> > 
> >> On Thu, November 13, 2008 10:36 pm, Mamoru Tasaka wrote:
> >>> Changing to %{!?python_sitearch: %global python_....}
> >>> works?
> >> That's the ticket.  Some rpm change I guess I didn't quite pick up on...
> > 
> > Alternatively, simply override it without any nested macros:
> > 
> > %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")
> > 
> 
> Well, it's take directly from:
> 
> http://fedoraproject.org/wiki/Packaging/Python#System_Architecture
> 
> If that doesn't work any more, it seems many spec templates may need to 
> get changed.

True.
 
> I also count 1089 occurrences of this construct in current fedora spec 
> files.

:)

I've searched a bit:
https://fedoraproject.org/wiki/Packaging/Minutes20070424

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux