update to 0.7.16

python bindings only for python3 and packaged apart [release 0.7.16-1mamba;Sat Nov 28 2020]
This commit is contained in:
Silvan Calarco 2024-01-06 05:48:47 +01:00
parent 4324cde5bc
commit 66058d1077

View File

@ -1,5 +1,5 @@
Name: libsolv Name: libsolv
Version: 0.7.15 Version: 0.7.16
Release: 1mamba Release: 1mamba
Summary: Library for solving packages and reading repositories Summary: Library for solving packages and reading repositories
Group: System/Libraries Group: System/Libraries
@ -22,7 +22,7 @@ BuildRequires: libbzip2-devel
BuildRequires: libdb53-devel BuildRequires: libdb53-devel
BuildRequires: liblzma-devel BuildRequires: liblzma-devel
BuildRequires: libperl BuildRequires: libperl
BuildRequires: libpython-devel BuildRequires: libpython3-devel
BuildRequires: libtcl-devel BuildRequires: libtcl-devel
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
BuildRequires: libz-devel BuildRequires: libz-devel
@ -53,6 +53,14 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools %description tools
This package contains utility applications for %{name}. This package contains utility applications for %{name}.
%package -n python-libsolv-py3
Group: System/Libraries/Python
Summary: Python bindings for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n python-libsolv-py3
This package contains the Python bindings for %{name}.
%debug_package %debug_package
%prep %prep
@ -83,14 +91,12 @@ This package contains utility applications for %{name}.
-DENABLE_BZIP2_COMPRESSION=ON \ -DENABLE_BZIP2_COMPRESSION=ON \
-DENABLE_ZCHUNK_COMPRESSIO=ON \ -DENABLE_ZCHUNK_COMPRESSIO=ON \
-DWITH_SYSTEM_ZCHUNK=ON \ -DWITH_SYSTEM_ZCHUNK=ON \
-DENABLE_PYTHON=ON \ -DENABLE_PYTHON=OFF \
-DPYTHON_EXECUTABLE=%{__python27} \
-DENABLE_PYTHON3=ON \ -DENABLE_PYTHON3=ON \
-DPYTHON3_EXECUTABLE=%{__python36} \ -DPYTHON3_EXECUTABLE=%{__python3} \
-DUSE_VENDORDIRS=ON -DUSE_VENDORDIRS=ON
# -DPythonLibs_FIND_VERSION=2 \ # -DPYTHON_EXECUTABLE=%{__python27} \
# -DPythonLibs_FIND_VERSION_MAJOR=2 \
%make %make
@ -113,10 +119,6 @@ cp ext/*.h %{buildroot}%{_includedir}/solv/
%{perl_vendorarch}/solv.* %{perl_vendorarch}/solv.*
%{_libdir}/ruby/vendor_ruby/*/*/solv.so %{_libdir}/ruby/vendor_ruby/*/*/solv.so
%{_prefix}/lib/tcl8/*/solv-%{version}.* %{_prefix}/lib/tcl8/*/solv-%{version}.*
%{python27_sitearch}/_solv.so
%{python27_sitearch}/solv.py
%{python36_sitearch}/_solv.so
%{python36_sitearch}/solv.py
%doc LICENSE.BSD CREDITS %doc LICENSE.BSD CREDITS
%files devel %files devel
@ -163,7 +165,16 @@ cp ext/*.h %{buildroot}%{_includedir}/solv/
%{_mandir}/man1/rpms2solv.1* %{_mandir}/man1/rpms2solv.1*
%{_mandir}/man1/updateinfoxml2solv.1* %{_mandir}/man1/updateinfoxml2solv.1*
%files -n python-libsolv-py3
%defattr(-,root,root)
%{python3_sitearch}/_solv.so
%{python3_sitearch}/solv.py
%changelog %changelog
* Sat Nov 28 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.16-1mamba
- update to 0.7.16
- python bindings only for python3 and packaged apart
* Sun Sep 13 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.15-1mamba * Sun Sep 13 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.15-1mamba
- update to 0.7.15 - update to 0.7.15
- update x86_64-multiarch-coexistence patch to only resolve supplements of the main arch - update x86_64-multiarch-coexistence patch to only resolve supplements of the main arch