FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Packaging

LinkBack Thread Tools
Old 09-29-2010, 08:29 AM
Paul Howarth
Default private-shared-object-provides in python packages

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:


packaging mailing list

Thread Tools

All times are GMT. The time now is 04:10 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org