[libsolv] building python2-solv subpkg finally

jsilhan jsilhan at fedoraproject.org
Fri Mar 6 15:04:07 UTC 2015


commit e948cbaaa925a7f343fe429ebefbc75abacfbcab
Author: Jan Silhan <jsilhan at redhat.com>
Date:   Fri Mar 6 16:04:04 2015 +0100

    building python2-solv subpkg finally

 libsolv.spec | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)
---
diff --git a/libsolv.spec b/libsolv.spec
index dd8b8f1..f8333c2 100644
--- a/libsolv.spec
+++ b/libsolv.spec
@@ -1,7 +1,7 @@
 %global gitrev 78c8a55bc087f45e231276ed5c33c84aed55463c
 %{!?ruby_vendorarch: %global ruby_vendorarch %(ruby -rrbconfig -e 'puts RbConfig::CONFIG["vendorarchdir"] ')}
 %filter_provides_in %{perl_vendorarch}/.*\.so$
-%filter_provides_in %{python3_sitearch}/.*\.so$
+%filter_provides_in %{python_sitearch}/.*\.so$
 %filter_provides_in %{ruby_vendorarch}/.*\.so$
 %filter_setup
 
@@ -16,7 +16,7 @@ Patch1:		libsolv-ruby22-rbconfig.patch
 Group:		Development/Libraries
 Summary:	Package dependency solver
 BuildRequires:	cmake libdb-devel expat-devel rpm-devel zlib-devel
-BuildRequires:	swig perl perl-devel ruby ruby-devel python3-devel
+BuildRequires:	swig perl perl-devel ruby ruby-devel python2-devel
 BuildRequires:  xz-devel
 %description
 A free package dependency solver using a satisfiability algorithm. The
@@ -63,12 +63,12 @@ Group:		Development/Languages
 %description -n ruby-solv
 Ruby bindings for sat solver.
 
-%package -n python3-solv
+%package -n python-solv
 Summary:	Python bindings for the libsolv library
 Group:		Development/Languages
-Requires:	python3
+Requires:	python
 
-%description -n python3-solv
+%description -n python-solv
 Python bindings for sat solver.
 
 %package -n perl-solv
@@ -148,13 +148,12 @@ rm $RPM_BUILD_ROOT/usr/bin/testsolv
 %doc examples/rbsolv
 %{ruby_vendorarch}/*
 
-%files -n python3-solv
+%files -n python-solv
 %doc examples/pysolv
-%{python3_sitearch}/*
+%{python_sitearch}/*
 
 %changelog
-
-* Tue Feb 24 2015 Jan Silhan <jsilhan at redhat.com> - 0.6.8-3
+* Fri Mar 6 2015 Jan Silhan <jsilhan at redhat.com> - 0.6.8-3
 - Rebuilt with new provides selection feature
 
 * Mon Jan 19 2015 Vít Ondruch <vondruch at redhat.com> - 0.6.8-2


More information about the scm-commits mailing list