Re: private-shared-object-provides in python packages

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

 



On Wed, 29 Sep 2010 13:33:44 -0400
Toshio Kuratomi <a.badger@xxxxxxxxx> wrote:

> On Wed, Sep 29, 2010 at 09:29:45AM +0100, Paul Howarth wrote:
> > On 29/09/10 07:25, Ville Skyttä wrote:
> > > On Tuesday 28 September 2010, Toshio Kuratomi wrote:
> > >
> > >> The way to filter this out is probably something like this:
> > >> # we don't want to provide private python extension libs
> > >> %filter_provides_in %{python_sitearch}/.*\.so$
> > >> # actually set up the filtering
> > >> %filter_setup
> > >
> > > I still think that related recipes in Wiki should be constructed
> > > so that specfiles containing this stuff continues to work also on
> > > distro versions that don't have those macros.  For example the
> > > above could be written as:
> > >
> > > %{?filter_setup:
> > > %filter_provides_in %{python_sitearch}/.*\.so$
> > > %filter_setup}
> > 
> > Or it could be encapsulated in a language-specific macro included
> > in the python package, much like what is already done for perl,
> > where the perl module spec files just contain:
> > 
> > %{?perl_default_filter}
> > 
> I asked this on https://fedorahosted.org/fpc/ticket/16#comment:2 but
> maybe you can answer here instead:
> 
> What package is defining that macro and from what Fedora version?  Do
> you know if RHEL5/6 has it as well?

It's in perl-devel (/etc/rpm/macros.perl), and went in at perl
4:5.10.0-79, so it's in an updated Fedora 11 but not one just installed
from media.

It's in RHEL-6 but not earlier RHELs.

Paul.
--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging



[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux