automatic version update by autodist [release 0.8.4-1mamba;Wed Dec 27 2023]

This commit is contained in:
Automatic Build System 2024-01-06 03:57:24 +01:00
parent 7a3bccaff3
commit 8c6bac760a

View File

@ -1,5 +1,5 @@
Name: libcap-ng Name: libcap-ng
Version: 0.8.3 Version: 0.8.4
Release: 1mamba Release: 1mamba
Summary: An alternate posix capabilities library Summary: An alternate posix capabilities library
Group: System/Libraries Group: System/Libraries
@ -15,8 +15,7 @@ Patch3: libcap-ng-0.8.1-apply-disable.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libpython27-devel BuildRequires: libpython311-devel
BuildRequires: libpython3-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libattr-devel BuildRequires: libattr-devel
BuildRequires: swig 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. 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 %package -n python-libcap-ng-py3
Group: Development/Libraries Group: Development/Libraries
Summary: Python 3 bindings for libcap-ng library Summary: Python 3 bindings for libcap-ng library
@ -55,11 +43,12 @@ Provides: python3-libcap-ng
Obsoletes: python3-libcap-ng < 0.8.3 Obsoletes: python3-libcap-ng < 0.8.3
Provides: python-libcap-ng-py36 Provides: python-libcap-ng-py36
Obsoletes: python-libcap-ng-py36 < 0.8.3 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 %description -n python-libcap-ng-py3
The libcap-ng library should make programming with posix capabilities easier. 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. 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. This package contains the bindings so that libcap-ng and can be used by python applications.
%package utils %package utils
@ -78,7 +67,7 @@ It also lets you set the file system based capabilities.
%setup -q %setup -q
# These 2 patches can be disabled when https://github.com/stevegrubb/libcap-ng/issues/21 is resolved # These 2 patches can be disabled when https://github.com/stevegrubb/libcap-ng/issues/21 is resolved
#%patch2 -p1 #%patch2 -p1
%patch3 -p1 %patch 3 -p1
%build %build
%configure \ %configure \
@ -88,7 +77,6 @@ It also lets you set the file system based capabilities.
PYTHON3_CFLAGS=`pkg-config python-3 --cflags` \ PYTHON3_CFLAGS=`pkg-config python-3 --cflags` \
PYTHON3_LIBS=`pkg-config python-3 --libs` PYTHON3_LIBS=`pkg-config python-3 --libs`
%make %make
%install %install
@ -116,27 +104,18 @@ It also lets you set the file system based capabilities.
%defattr(-,root,root) %defattr(-,root,root)
%{_datadir}/aclocal/cap-ng.m4 %{_datadir}/aclocal/cap-ng.m4
%{_includedir}/cap-ng.h %{_includedir}/cap-ng.h
%{_libdir}/libcap-ng.la
%{_libdir}/libcap-ng.so %{_libdir}/libcap-ng.so
%{_libdir}/libdrop_ambient.la
%{_libdir}/libdrop_ambient.so %{_libdir}/libdrop_ambient.so
%{_libdir}/pkgconfig/libcap-ng.pc %{_libdir}/pkgconfig/libcap-ng.pc
%attr(644,root,root) %{_mandir}/man3/capng_*.3* %attr(644,root,root) %{_mandir}/man3/capng_*.3*
%{_mandir}/man7/libdrop_ambient.7* %{_mandir}/man7/libdrop_ambient.7*
%doc ChangeLog README %doc ChangeLog README.md
%files -n python-libcap-ng
%defattr(-,root,root)
%{python27_sitearch}/_capng.la
%{python27_sitearch}/_capng.so
%{python27_sitearch}/capng.py*
%files -n python-libcap-ng-py3 %files -n python-libcap-ng-py3
%defattr(-,root,root) %defattr(-,root,root)
%{python3_sitelib}/_capng.la %{python3_sitearch}/_capng.so
%{python3_sitelib}/_capng.so %{python3_sitearch}/capng.py
%{python3_sitelib}/capng.py %{python3_sitearch}/__pycache__/capng.cpython-*.pyc
%{python3_sitelib}/__pycache__/capng.cpython-*.pyc
%files utils %files utils
%defattr(-,root,root) %defattr(-,root,root)
@ -148,6 +127,9 @@ It also lets you set the file system based capabilities.
%doc COPYING %doc COPYING
%changelog %changelog
* Wed Dec 27 2023 Automatic Build System <autodist@mambasoft.it> 0.8.4-1mamba
- automatic version update by autodist
* Sat Apr 02 2022 Automatic Build System <autodist@mambasoft.it> 0.8.3-1mamba * Sat Apr 02 2022 Automatic Build System <autodist@mambasoft.it> 0.8.3-1mamba
- automatic version update by autodist - automatic version update by autodist