[Fedora-packaging] private-shared-object-provides in python packages
Toshio Kuratomi
a.badger at gmail.com
Wed Sep 29 19:05:21 UTC 2010
On Wed, Sep 29, 2010 at 09:25:43AM +0300, 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}
>
Examples on the Packaging page updated with this conditional and a small
explanation added about why we conditionalize this. Please let me know if
there's further clarification that you think would be good.
-Toshio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/packaging/attachments/20100929/9638ac10/attachment.bin
More information about the packaging
mailing list