automatic version update by autodist [release 2.25-1mamba;Wed Feb 17 2016]

This commit is contained in:
Automatic Build System 2024-01-06 03:57:02 +01:00
parent 591fc820b8
commit 86cbde613a

View File

@ -1,5 +1,5 @@
Name: libcap
Version: 2.24
Version: 2.25
Release: 1mamba
Summary: POSIX 1003.1e capabilities
Group: System/Libraries
@ -15,7 +15,7 @@ BuildRequires: ldconfig
## AUTOBUILDREQ-END
BuildRequires: libattr-devel
BuildRequires: pam-devel
%ifarch x86_64
%ifarch x86_64_disabled
BuildRequires: gcc-multilib
BuildRequires: glibc-multilib-devel
BuildRequires: lib32-libattr-devel
@ -28,14 +28,22 @@ POSIX 1003.1e capabilities.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{version}
Requires: %{name} = %{version}-%{release}
Obsoletes: libcap1-devel
%description devel
POSIX 1003.1e capabilities
This package contains static libraries and header files need for development.
%package tools
Group: System/Tools
Summary: Tools for %{name}
Requires: %{name} = %{version}-%{release}
%description tools
POSIX 1003.1e capabilities
This package contains tools for %{name}.
%package -n lib32-%{name}
Summary: POSIX 1003.1e capabilities
Group: System/Libraries
@ -70,13 +78,13 @@ mkdir -p %{buildroot}%{_mandir}/man8
%makeinstall \
FAKEROOT=%{buildroot} \
RAISE_SETFCAP=no \
LIBDIR=%{buildroot}/%{_lib}
LIBDIR=/%{_lib}
# remove conflicting man pages
rm -f %{buildroot}%{_mandir}/man2/capset*
rm -f %{buildroot}%{_mandir}/man2/capget*
%ifarch x86_64
%ifarch x86_64_disabled
# x86_64 lib64 support
make clean
make \
@ -113,16 +121,8 @@ fi
%files
%defattr(-,root,root)
/sbin/capsh
/sbin/getcap
/sbin/getpcaps
/sbin/setcap
/%{_lib}/libcap.so.*
/%{_lib}/security/pam_cap.so
%{_mandir}/man1/capsh.1.gz
%{_mandir}/man8/getcap.8.gz
%{_mandir}/man8/setcap.8.gz
%doc README
%files devel
%defattr(-,root,root)
@ -132,7 +132,18 @@ fi
%{_mandir}/man3/*.3.gz
%{_libdir}/pkgconfig/libcap.pc
%ifarch x86_64
%files tools
%defattr(-,root,root)
/sbin/capsh
/sbin/getcap
/sbin/getpcaps
/sbin/setcap
%{_mandir}/man1/capsh.1*
%{_mandir}/man8/getcap.8*
%{_mandir}/man8/setcap.8*
%doc README
%ifarch x86_64_disabled
%files -n lib32-%{name}
%defattr(-,root,root)
/lib/libcap.so.*
@ -144,6 +155,9 @@ fi
%endif
%changelog
* Wed Feb 17 2016 Automatic Build System <autodist@mambasoft.it> 2.25-1mamba
- automatic version update by autodist
* Thu Jan 09 2014 Automatic Build System <autodist@mambasoft.it> 2.24-1mamba
- automatic version update by autodist