No need to exclude libs that are not called lib...so

The exclude was there because the provides/dependency generator
would find /usr/lib64/python3.7/site-packages/libpyrmol.so and it would
add the provides. However this does not happen with files not called libsomething.
This commit is contained in:
Miro Hrončok 2019-01-17 23:22:34 +00:00
parent 75dd06104a
commit 9be1db6b7b

View File

@ -4,13 +4,6 @@
# Build -python subpackage # Build -python subpackage
%bcond_without python %bcond_without python
# See also http://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering#Private_Libraries
%if %{with python}
%global _privatelibs py%{name}[.]so.*
%global __provides_exclude ^(%{_privatelibs})$
%global __requires_exclude ^(%{_privatelibs})$
%endif
# #
Name: rmol Name: rmol
Version: 1.00.2 Version: 1.00.2