diff --git a/libcomps.spec b/libcomps.spec index d39e9bb..f013545 100644 --- a/libcomps.spec +++ b/libcomps.spec @@ -1,6 +1,6 @@ Name: libcomps Version: 0.1.19 -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,7 @@ License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libexpat-devel -BuildRequires: libpython3-devel +BuildRequires: libpython310-devel BuildRequires: libxml2-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END @@ -28,12 +28,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-py3 +%package -n python-libcomps-py310 Group: System/Libraries/Python Summary: Python 3 bindings to %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: python-libcomps-py3 < 0.1.19-2mamba -%description -n python-libcomps-py3 +%description -n python-libcomps-py310 This package contains the python 3 bindings to %{name}. %debug_package @@ -44,7 +45,7 @@ This package contains the python 3 bindings to %{name}. %build cd libcomps %cmake -d build \ - -DPYTHON_DESIRED=3 + -DPYTHON_EXECUTABLE=%{__python310} %make @@ -63,11 +64,11 @@ cd libcomps %{_libdir}/libcomps.so.* %doc COPYING -%files -n python-libcomps-py3 +%files -n python-libcomps-py310 %defattr(-,root,root) -%{python3_sitearch}/libcomps-*.egg-info -%dir %{python3_sitearch}/libcomps -%{python3_sitearch}/libcomps/* +%{python310_sitearch}/libcomps-*.egg-info +%dir %{python310_sitearch}/libcomps +%{python310_sitearch}/libcomps/* %files devel %defattr(-,root,root) @@ -78,6 +79,9 @@ cd libcomps %doc README.md %changelog +* Thu Mar 23 2023 Silvan Calarco 0.1.19-2mamba +- rebuilt with python 3.10 + * Sat Sep 10 2022 Automatic Build System 0.1.19-1mamba - automatic version update by autodist