11 Commits

Author SHA1 Message Date
d32d72a039 automatic version update by autodist [release 0.7.25-1mamba;Fri Sep 15 2023] 2024-01-06 05:48:51 +01:00
9bf9694698 automatic version update by autodist [release 0.7.24-1mamba;Sun Apr 16 2023] 2024-01-06 05:48:50 +01:00
84a492bc6e automatic version update by autodist [release 0.7.23-1mamba;Sat Dec 17 2022] 2024-01-06 05:48:49 +01:00
6b41b9f4d6 remove multiarch cohexistence patch, build with -DFEDORA to fix multilib support [release 0.7.22-2mamba;Sat Apr 30 2022] 2024-01-06 05:48:49 +01:00
35a1c257cb automatic version update by autodist [release 0.7.22-1mamba;Tue Mar 29 2022] 2024-01-06 05:48:49 +01:00
d289a6dd95 automatic version update by autodist [release 0.7.21-1mamba;Fri Mar 04 2022] 2024-01-06 05:48:49 +01:00
eaed049a11 automatic version update by autodist [release 0.7.20-1mamba;Tue Sep 28 2021] 2024-01-06 05:48:48 +01:00
bea0f38f16 automatic version update by autodist [release 0.7.19-1mamba;Thu Apr 08 2021] 2024-01-06 05:48:48 +01:00
6659e638cc automatic version update by autodist [release 0.7.18-1mamba;Sat Mar 27 2021] 2024-01-06 05:48:48 +01:00
5fcf244956 rebuilt by autoport with build requirements: librpm-devel>=4.16.1.2-1mamba [release 0.7.17-2mamba;Sun Mar 07 2021] 2024-01-06 05:48:48 +01:00
8fcd534523 automatic version update by autodist [release 0.7.17-1mamba;Tue Feb 09 2021] 2024-01-06 05:48:48 +01:00

View File

@@ -1,12 +1,12 @@
Name: libsolv
Version: 0.7.16
Version: 0.7.25
Release: 1mamba
Summary: Library for solving packages and reading repositories
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://en.opensuse.org/openSUSE:Libzypp_satsolver
URL: https://en.opensuse.org/openSUSE:Libzypp_satsolver
Source: https://github.com/openSUSE/libsolv.git/%{version}/libsolv-%{version}.tar.bz2
Patch0: libsolv-0.6.35-rpm-5.patch
Patch1: libsolv-0.6.34-rpm-5.2.patch
@@ -19,19 +19,19 @@ License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libbzip2-devel
BuildRequires: libdb53-devel
BuildRequires: liblzma-devel
BuildRequires: libperl
BuildRequires: libpython3-devel
BuildRequires: libpython310-devel
BuildRequires: librpm-devel
BuildRequires: libtcl-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
BuildRequires: libzck-devel
BuildRequires: libzstd-devel
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRequires: librpm-devel >= 1:4.14.2.1
BuildRequires: librpm-devel >= 4.16.1.2-1mamba
BuildRequires: cmake
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Library for solving packages and reading repositories.
@@ -66,9 +66,9 @@ This package contains the Python bindings for %{name}.
%prep
%setup -q
#%patch2 -p1
%ifarch x86_64
%patch6 -p1
%endif
#%ifarch x86_64
#%patch6 -p1
#%endif
%build
%cmake -d build \
@@ -93,8 +93,9 @@ This package contains the Python bindings for %{name}.
-DWITH_SYSTEM_ZCHUNK=ON \
-DENABLE_PYTHON=OFF \
-DENABLE_PYTHON3=ON \
-DPYTHON3_EXECUTABLE=%{__python3} \
-DUSE_VENDORDIRS=ON
-DPYTHON3_EXECUTABLE=%{__python310} \
-DUSE_VENDORDIRS=ON \
-DFEDORA=ON
# -DPYTHON_EXECUTABLE=%{__python27} \
@@ -139,6 +140,7 @@ cp ext/*.h %{buildroot}%{_includedir}/solv/
%files tools
%defattr(-,root,root)
%{_bindir}/solv
%{_bindir}/appdata2solv
%{_bindir}/deltainfoxml2solv
%{_bindir}/dumpsolv
@@ -167,10 +169,43 @@ cp ext/*.h %{buildroot}%{_includedir}/solv/
%files -n python-libsolv-py3
%defattr(-,root,root)
%{python3_sitearch}/_solv.so
%{python3_sitearch}/solv.py
%{python310_sitearch}/_solv.so
%{python310_sitearch}/solv.py
%changelog
* Fri Sep 15 2023 Automatic Build System <autodist@mambasoft.it> 0.7.25-1mamba
- automatic version update by autodist
* Sun Apr 16 2023 Automatic Build System <autodist@mambasoft.it> 0.7.24-1mamba
- automatic version update by autodist
* Sat Dec 17 2022 Automatic Build System <autodist@mambasoft.it> 0.7.23-1mamba
- automatic version update by autodist
* Sat Apr 30 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.22-2mamba
- remove multiarch cohexistence patch, build with -DFEDORA to fix multilib support
* Tue Mar 29 2022 Automatic Build System <autodist@mambasoft.it> 0.7.22-1mamba
- automatic version update by autodist
* Fri Mar 04 2022 Automatic Build System <autodist@mambasoft.it> 0.7.21-1mamba
- automatic version update by autodist
* Tue Sep 28 2021 Automatic Build System <autodist@mambasoft.it> 0.7.20-1mamba
- automatic version update by autodist
* Thu Apr 08 2021 Automatic Build System <autodist@mambasoft.it> 0.7.19-1mamba
- automatic version update by autodist
* Sat Mar 27 2021 Automatic Build System <autodist@mambasoft.it> 0.7.18-1mamba
- automatic version update by autodist
* Sun Mar 07 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.17-2mamba
- rebuilt by autoport with build requirements: librpm-devel>=4.16.1.2-1mamba
* Tue Feb 09 2021 Automatic Build System <autodist@mambasoft.it> 0.7.17-1mamba
- automatic version update by autodist
* 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