update to 0.1.15 [release 0.1.15-1mamba;Sat Aug 15 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 04:01:28 +01:00
parent 7cf1f07af0
commit f164328980

View File

@ -1,5 +1,5 @@
Name: libcomps
Version: 0.1.8
Version: 0.1.15
Release: 1mamba
Summary: Alternative for yum.comps library written in pure C with Python bindings
Group: System/Libraries
@ -11,10 +11,12 @@ Source: https://github.com/rpm-software-management/libcomps.git/libcomps-
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libexpat-devel
BuildRequires: libpython-devel
BuildRequires: libpython27-devel
BuildRequires: libpython3-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -29,6 +31,14 @@ 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
Group: System/Libraries/Python
Summary: Python 3 bindings to %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n python-libcomps-py3
This package contains the python 3 bindings to %{name}.
%debug_package
%prep
@ -37,7 +47,7 @@ This package contains libraries and header files for developing applications tha
%build
cd libcomps
%cmake -d build \
-DPYTHON_EXECUTABLE=%{__python27}
-DPYTHON_DESIRED=3
%make
@ -54,17 +64,25 @@ cd libcomps
%files
%defattr(-,root,root)
%{_libdir}/libcomps.so.*
%dir %{python27_sitearch}/libcomps
%{python27_sitearch}/libcomps/*
%doc COPYING
%files -n python-libcomps-py3
%defattr(-,root,root)
%{python3_sitearch}/libcomps-*.egg-info
%dir %{python3_sitearch}/libcomps
%{python3_sitearch}/libcomps/*
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libcomps
%{_includedir}/libcomps/*
%{_libdir}/libcomps.so
%{_libdir}/pkgconfig/libcomps.pc
%doc README.md
%changelog
* Sat Aug 15 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.15-1mamba
- update to 0.1.15
* Thu May 17 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.8-1mamba
- package created using the webbuild interface