|
|
@ -1,12 +1,11 @@
|
|
|
|
Summary: Alternate posix capabilities library
|
|
|
|
Summary: Alternate posix capabilities library
|
|
|
|
Name: libcap-ng
|
|
|
|
Name: libcap-ng
|
|
|
|
Version: 0.8.2
|
|
|
|
Version: 0.8.4
|
|
|
|
Release: 7%{?dist}
|
|
|
|
Release: 6%{?dist}
|
|
|
|
License: LGPLv2+
|
|
|
|
License: LGPL-2.0-or-later
|
|
|
|
URL: https://people.redhat.com/sgrubb/libcap-ng/
|
|
|
|
URL: https://people.redhat.com/sgrubb/libcap-ng/
|
|
|
|
Source0: https://people.redhat.com/sgrubb/libcap-ng/%{name}-%{version}.tar.gz
|
|
|
|
Source0: https://people.redhat.com/sgrubb/libcap-ng/%{name}-%{version}.tar.gz
|
|
|
|
# This patch can be removed when 1899540 is resolved
|
|
|
|
Patch1: libcap-ng-0.8.5-python-exception.patch
|
|
|
|
Patch1: libcap-ng-0.8.2-apply-disable.patch
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: kernel-headers >= 2.6.11
|
|
|
|
BuildRequires: kernel-headers >= 2.6.11
|
|
|
@ -17,7 +16,7 @@ Libcap-ng is a library that makes using posix capabilities easier
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Header files for libcap-ng library
|
|
|
|
Summary: Header files for libcap-ng library
|
|
|
|
License: LGPLv2+
|
|
|
|
License: LGPL-2.0-or-later
|
|
|
|
Requires: kernel-headers >= 2.6.11
|
|
|
|
Requires: kernel-headers >= 2.6.11
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: pkgconfig
|
|
|
|
Requires: pkgconfig
|
|
|
@ -28,8 +27,8 @@ applications that need to use the libcap-ng library.
|
|
|
|
|
|
|
|
|
|
|
|
%package python3
|
|
|
|
%package python3
|
|
|
|
Summary: Python3 bindings for libcap-ng library
|
|
|
|
Summary: Python3 bindings for libcap-ng library
|
|
|
|
License: LGPLv2+
|
|
|
|
License: LGPL-2.0-or-later
|
|
|
|
BuildRequires: python3-devel swig
|
|
|
|
BuildRequires: python3-devel python-setuptools swig
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
@ -39,7 +38,7 @@ and can be used by python3 applications.
|
|
|
|
|
|
|
|
|
|
|
|
%package utils
|
|
|
|
%package utils
|
|
|
|
Summary: Utilities for analyzing and setting file capabilities
|
|
|
|
Summary: Utilities for analyzing and setting file capabilities
|
|
|
|
License: GPLv2+
|
|
|
|
License: LGPL-2.0-or-later
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description utils
|
|
|
|
%description utils
|
|
|
@ -49,7 +48,7 @@ lets you set the file system based capabilities.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%setup -q
|
|
|
|
%patch1 -p1
|
|
|
|
%patch -P1 -p1
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%configure --libdir=%{_libdir} --with-python=no --with-python3
|
|
|
|
%configure --libdir=%{_libdir} --with-python=no --with-python3
|
|
|
@ -63,8 +62,8 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libcap-ng.la
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/libcap-ng.a
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/libcap-ng.a
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/libdrop_ambient.la
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/libdrop_ambient.la
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/libdrop_ambient.a
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/libdrop_ambient.a
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/python?.?/site-packages/_capng.a
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/python%{python3_version}/site-packages/_capng.a
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/python?.?/site-packages/_capng.la
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/python%{python3_version}/site-packages/_capng.la
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
make check
|
|
|
|
make check
|
|
|
@ -95,16 +94,69 @@ make check
|
|
|
|
%attr(0644,root,root) %{_mandir}/man8/*
|
|
|
|
%attr(0644,root,root) %{_mandir}/man8/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Tue Feb 15 2022 <ansasaki@redhat.com> - 0.8.2-7
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.8.4-6
|
|
|
|
- Update apply-disable patch (#2045857)
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
Resolves: rhbz#2045857
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.8.2-6
|
|
|
|
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.8.4-5
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.8.2-5
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.8.4-5
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.4-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.4-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 04 2024 Steve Grubb <sgrubb@redhat.com> 0.8.4-2
|
|
|
|
|
|
|
|
- Remove python bindings global exception handler
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Dec 20 2023 Steve Grubb <sgrubb@redhat.com> 0.8.4-1
|
|
|
|
|
|
|
|
- New upstream bugfix release
|
|
|
|
|
|
|
|
- Drop libcap-ng-0.8.3-apply-disable.patch since things should be fixed
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Sep 04 2023 Steve Grubb <sgrubb@redhat.com> 0.8.3-8
|
|
|
|
|
|
|
|
- Add function annotations to warn on unused results
|
|
|
|
|
|
|
|
- SPDX Migration
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> 0.8.3-7
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.8.3-6
|
|
|
|
|
|
|
|
- Rebuilt for Python 3.12
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-5
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Dec 20 2022 Steve Grubb <sgrubb@redhat.com> 0.8.3-4
|
|
|
|
|
|
|
|
- BuildRequires python-setuptools
|
|
|
|
|
|
|
|
- SPDX Migration
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.8.3-2
|
|
|
|
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Mar 29 2022 Steve Grubb <sgrubb@redhat.com> 0.8.3-1
|
|
|
|
|
|
|
|
- New upstream bugfix release
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-9
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Dec 22 2021 Steve Grubb <sgrubb@redhat.com> 0.8.2-8
|
|
|
|
|
|
|
|
- Update apply-disable patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Sep 22 2021 Steve Grubb <sgrubb@redhat.com> 0.8.2-7
|
|
|
|
|
|
|
|
- Drop .la and .a libraries
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-6
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.8.2-5
|
|
|
|
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Feb 02 2021 Steve Grubb <sgrubb@redhat.com> 0.8.2-4
|
|
|
|
* Tue Feb 02 2021 Steve Grubb <sgrubb@redhat.com> 0.8.2-4
|
|
|
|
- Adjust syslog warning for bad use of capng_apply
|
|
|
|
- Adjust syslog warning for bad use of capng_apply
|
|
|
|