rebuilt with python3; obsolete python-libcomps-py310 [release 0.1.20-2mamba;Thu Jan 11 2024]

This commit is contained in:
Silvan Calarco 2024-01-14 10:35:58 +01:00
parent 2ad7adf76a
commit 1661943999

View File

@ -1,6 +1,6 @@
Name: libcomps
Version: 0.1.20
Release: 1mamba
Release: 2mamba
Summary: Alternative for yum.comps library written in pure C with Python bindings
Group: System/Libraries
Vendor: openmamba
@ -12,7 +12,8 @@ License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libexpat-devel
BuildRequires: libpython310-devel
BuildRequires: libpython3-devel
BuildRequires: libpython311-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
@ -28,13 +29,13 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%package -n python-libcomps-py310
%package -n python-libcomps-py3
Group: System/Libraries/Python
Summary: Python 3 bindings to %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: python-libcomps-py3 < 0.1.19-2mamba
Obsoletes: python-libcomps-py310 <= 0.1.20-1mamba
%description -n python-libcomps-py310
%description -n python-libcomps-py3
This package contains the python 3 bindings to %{name}.
%debug_package
@ -45,7 +46,7 @@ This package contains the python 3 bindings to %{name}.
%build
cd libcomps
%cmake -d build \
-DPYTHON_EXECUTABLE=%{__python310}
-DPYTHON_EXECUTABLE=%{__python3}
%make
@ -64,11 +65,11 @@ cd libcomps
%{_libdir}/libcomps.so.*
%doc COPYING
%files -n python-libcomps-py310
%files -n python-libcomps-py3
%defattr(-,root,root)
%{python310_sitearch}/libcomps-*.egg-info
%dir %{python310_sitearch}/libcomps
%{python310_sitearch}/libcomps/*
%{python3_sitearch}/libcomps-*.egg-info
%dir %{python3_sitearch}/libcomps
%{python3_sitearch}/libcomps/*
%files devel
%defattr(-,root,root)
@ -79,6 +80,9 @@ cd libcomps
%doc README.md
%changelog
* Thu Jan 11 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.20-2mamba
- rebuilt with python3; obsolete python-libcomps-py310
* Fri Oct 06 2023 Automatic Build System <autodist@mambasoft.it> 0.1.20-1mamba
- automatic version update by autodist