Compare commits
3 Commits
0.7.22-1ma
...
0.7.24-1ma
Author | SHA1 | Date | |
---|---|---|---|
9bf9694698 | |||
84a492bc6e | |||
6b41b9f4d6 |
29
libsolv.spec
29
libsolv.spec
@@ -1,5 +1,5 @@
|
||||
Name: libsolv
|
||||
Version: 0.7.22
|
||||
Version: 0.7.24
|
||||
Release: 1mamba
|
||||
Summary: Library for solving packages and reading repositories
|
||||
Group: System/Libraries
|
||||
@@ -21,7 +21,7 @@ BuildRequires: glibc-devel
|
||||
BuildRequires: libbzip2-devel
|
||||
BuildRequires: liblzma-devel
|
||||
BuildRequires: libperl
|
||||
BuildRequires: libpython3-devel
|
||||
BuildRequires: libpython310-devel
|
||||
BuildRequires: librpm-devel
|
||||
BuildRequires: libtcl-devel
|
||||
BuildRequires: libxml2-devel
|
||||
@@ -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,19 @@ cp ext/*.h %{buildroot}%{_includedir}/solv/
|
||||
|
||||
%files -n python-libsolv-py3
|
||||
%defattr(-,root,root)
|
||||
%{python3_sitelib}/_solv.so
|
||||
%{python3_sitelib}/solv.py
|
||||
%{python310_sitearch}/_solv.so
|
||||
%{python310_sitearch}/solv.py
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
|
||||
|
Reference in New Issue
Block a user