Almost ready to be build in collection, except the provides filtering is still not working

This commit is contained in:
Miro Hrončok 2014-06-27 14:15:31 +02:00
parent b0d1a493f1
commit f56bf4c622
1 changed files with 5 additions and 6 deletions

View File

@ -137,6 +137,7 @@ Release: 0.3.20140626hg3151f6f9df85%{?dist}
License: Python
Group: Development/Languages
%global __provides_exclude ^pkgconfig
# =======================
# Build-time requirements
@ -724,12 +725,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
URL: http://www.python.org/
# filter pkgconfig and python(abi) Requires/Provides
%{?scl:%filter_from_requires s|python(abi)|%{?scl_prefix}python(abi)|g}
%{?scl:%filter_from_provides s|pkgconfig(|%{?scl_prefix}pkgconfig(|g}
%{?scl:%filter_from_provides s|/usr/lib.*/python||g}
%{?scl:%filter_setup}
# See notes in bug 532118:
Provides: %{?scl_prefix}python(abi) = %{pybasever}
@ -770,6 +765,10 @@ Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
Requires: %{?scl_prefix}%{pkg_name}-libs%{?_isa} = %{version}-%{release}
Conflicts: %{?scl_prefix}%{pkg_name} < %{version}-%{release}
%{?scl:Provides: %{?scl_prefix}pkgconfig(%{pkg_name}) = %{pybasever}}
%{?scl:Provides: %{?scl_prefix}pkgconfig(python-%{pybasever}) = %{pybasever}}
%{?scl:Provides: %{?scl_prefix}pkgconfig(python-%{pybasever}m) = %{pybasever}}
%description devel
This package contains libraries and header files used to build applications
with and native libraries for Python 3