update to 0.8.1 [release 0.8.1-1mamba;Sat Nov 28 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 03:57:23 +01:00
parent 25039715b4
commit 02f76c3f43

View File

@ -1,5 +1,5 @@
Name: libcap-ng
Version: 0.8
Version: 0.8.1
Release: 1mamba
Summary: An alternate posix capabilities library
Group: System/Libraries
@ -13,6 +13,7 @@ License: GPL
BuildRequires: glibc-devel
BuildRequires: libpython-devel
## AUTOBUILDREQ-END
BuildRequires: libpython3-devel
BuildRequires: libattr-devel
BuildRequires: swig
Patch0: libcap-ng-0.6.3-euid.patch
@ -45,14 +46,16 @@ The library has some utilities to help you analyse a system for apps that may ha
This package contains the bindings so that libcap-ng and can be used by python applications.
%package -n python-libcap-ng-py36
%package -n python-libcap-ng-py3
Group: Development/Libraries
Summary: Python 3 bindings for libcap-ng library
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: python3-libgap-ng
Obsoletes: python3-libgap-ng
Provides: python-libgap-ng-py36
Obsoletes: python-libgap-ng-py36
%description -n python-libcap-ng-py36
%description -n python-libcap-ng-py3
The libcap-ng library should make programming with posix capabilities easier.
The library has some utilities to help you analyse a system for apps that may have too much privileges.
@ -69,6 +72,8 @@ The library has some utilities to help you analyse a system for apps that may ha
This package contains applications to analyse the posix capabilities of all the program running on a system.
It also lets you set the file system based capabilities.
%debug_package
%prep
%setup -q
#%patch0 -p1
@ -77,10 +82,10 @@ It also lets you set the file system based capabilities.
%build
%configure \
--disable-static \
PYTHON3=%{__python36} \
PYTHON3_INCLUDES=%{python36_inc} \
PYTHON3_CFLAGS=`pkg-config python-3.6 --cflags` \
PYTHON3_LIBS=`pkg-config python-3.6 --libs`
PYTHON3=%{__python3} \
PYTHON3_INCLUDES=%{python3_inc} \
PYTHON3_CFLAGS=`pkg-config python-3 --cflags` \
PYTHON3_LIBS=`pkg-config python-3 --libs`
%make
@ -103,6 +108,7 @@ It also lets you set the file system based capabilities.
%files
%defattr(-,root,root)
%{_libdir}/libcap-ng.so.*
%{_libdir}/libdrop_ambient.so.*
%doc AUTHORS COPYING.LIB
%files devel
@ -111,8 +117,11 @@ It also lets you set the file system based capabilities.
%{_includedir}/cap-ng.h
%{_libdir}/libcap-ng.la
%{_libdir}/libcap-ng.so
%{_libdir}/libdrop_ambient.la
%{_libdir}/libdrop_ambient.so
%{_libdir}/pkgconfig/libcap-ng.pc
%attr(644,root,root) %{_mandir}/man3/capng_*.3*
%{_mandir}/man7/libdrop_ambient.7*
%doc ChangeLog README
%files -n python-libcap-ng
@ -121,12 +130,12 @@ It also lets you set the file system based capabilities.
%{python_sitearch}/_capng.so
%{python_sitearch}/capng.py*
%files -n python-libcap-ng-py36
%files -n python-libcap-ng-py3
%defattr(-,root,root)
%{python36_sitearch}/_capng.la
%{python36_sitearch}/_capng.so
%{python36_sitearch}/capng.py
%{python36_sitearch}/__pycache__/capng.cpython-*.pyc
%{python3_sitearch}/_capng.la
%{python3_sitearch}/_capng.so
%{python3_sitearch}/capng.py
%{python3_sitearch}/__pycache__/capng.cpython-*.pyc
%files utils
%defattr(-,root,root)
@ -138,6 +147,9 @@ It also lets you set the file system based capabilities.
%doc COPYING
%changelog
* Sat Nov 28 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.1-1mamba
- update to 0.8.1
* Fri Oct 16 2020 Automatic Build System <autodist@mambasoft.it> 0.8-1mamba
- automatic version update by autodist