diff --git a/libcap-ng.spec b/libcap-ng.spec index 7a22315..6bcdd59 100644 --- a/libcap-ng.spec +++ b/libcap-ng.spec @@ -1,5 +1,5 @@ Name: libcap-ng -Version: 0.8.3 +Version: 0.8.4 Release: 1mamba Summary: An alternate posix capabilities library Group: System/Libraries @@ -15,8 +15,7 @@ Patch3: libcap-ng-0.8.1-apply-disable.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: libpython27-devel -BuildRequires: libpython3-devel +BuildRequires: libpython311-devel ## AUTOBUILDREQ-END BuildRequires: libattr-devel BuildRequires: swig @@ -36,17 +35,6 @@ The library has some utilities to help you analyse a system for apps that may ha This package contains libraries and header files need for development. -%package -n python-libcap-ng -Group: Development/Libraries -Summary: Python bindings for libcap-ng library -Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} - -%description -n python-libcap-ng -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. - -This package contains the bindings so that libcap-ng and can be used by python applications. - %package -n python-libcap-ng-py3 Group: Development/Libraries Summary: Python 3 bindings for libcap-ng library @@ -55,11 +43,12 @@ Provides: python3-libcap-ng Obsoletes: python3-libcap-ng < 0.8.3 Provides: python-libcap-ng-py36 Obsoletes: python-libcap-ng-py36 < 0.8.3 +Provides: python-libcap-ng +Obsoletes: python-libcap-ng < 0.8.4 %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. - This package contains the bindings so that libcap-ng and can be used by python applications. %package utils @@ -78,7 +67,7 @@ It also lets you set the file system based capabilities. %setup -q # These 2 patches can be disabled when https://github.com/stevegrubb/libcap-ng/issues/21 is resolved #%patch2 -p1 -%patch3 -p1 +%patch 3 -p1 %build %configure \ @@ -88,7 +77,6 @@ It also lets you set the file system based capabilities. PYTHON3_CFLAGS=`pkg-config python-3 --cflags` \ PYTHON3_LIBS=`pkg-config python-3 --libs` - %make %install @@ -116,27 +104,18 @@ It also lets you set the file system based capabilities. %defattr(-,root,root) %{_datadir}/aclocal/cap-ng.m4 %{_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 -%defattr(-,root,root) -%{python27_sitearch}/_capng.la -%{python27_sitearch}/_capng.so -%{python27_sitearch}/capng.py* +%doc ChangeLog README.md %files -n python-libcap-ng-py3 %defattr(-,root,root) -%{python3_sitelib}/_capng.la -%{python3_sitelib}/_capng.so -%{python3_sitelib}/capng.py -%{python3_sitelib}/__pycache__/capng.cpython-*.pyc +%{python3_sitearch}/_capng.so +%{python3_sitearch}/capng.py +%{python3_sitearch}/__pycache__/capng.cpython-*.pyc %files utils %defattr(-,root,root) @@ -148,6 +127,9 @@ It also lets you set the file system based capabilities. %doc COPYING %changelog +* Wed Dec 27 2023 Automatic Build System 0.8.4-1mamba +- automatic version update by autodist + * Sat Apr 02 2022 Automatic Build System 0.8.3-1mamba - automatic version update by autodist