building python2-solv subpkg finally

This commit is contained in:
Jan Silhan 2015-03-06 16:04:04 +01:00
parent 2916057961
commit e948cbaaa9

View File

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