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