update to 2.32 [release 2.32-1mamba;Sat Feb 29 2020]
This commit is contained in:
parent
1191cb3420
commit
940316b250
45
libcap.spec
45
libcap.spec
@ -1,5 +1,5 @@
|
|||||||
Name: libcap
|
Name: libcap
|
||||||
Version: 2.27
|
Version: 2.32
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: POSIX 1003.1e capabilities
|
Summary: POSIX 1003.1e capabilities
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
@ -61,14 +61,17 @@ Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
|
|||||||
%description -n lib32-%{name}-devel
|
%description -n lib32-%{name}-devel
|
||||||
This package contains static libraries and header files needed for development.
|
This package contains static libraries and header files needed for development.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%make \
|
%make -j1 \
|
||||||
|
GOLANG=no \
|
||||||
CC=%{_host}-gcc \
|
CC=%{_host}-gcc \
|
||||||
BUILD_CC=%{_build}-gcc \
|
BUILD_CC=%{_build}-gcc \
|
||||||
LIBDIR=/%{_lib} \
|
LIBDIR=%{_libdir} \
|
||||||
%if "%{_host}" != "%{_build}"
|
%if "%{_host}" != "%{_build}"
|
||||||
LDFLAGS="-lcrypt -lattr -L../libcap/"
|
LDFLAGS="-lcrypt -lattr -L../libcap/"
|
||||||
%endif
|
%endif
|
||||||
@ -77,9 +80,15 @@ This package contains static libraries and header files needed for development.
|
|||||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
mkdir -p %{buildroot}%{_mandir}/man8
|
mkdir -p %{buildroot}%{_mandir}/man8
|
||||||
%makeinstall \
|
%makeinstall \
|
||||||
|
GOLANG=no \
|
||||||
FAKEROOT=%{buildroot} \
|
FAKEROOT=%{buildroot} \
|
||||||
RAISE_SETFCAP=no \
|
RAISE_SETFCAP=no \
|
||||||
LIBDIR=/%{_lib}
|
LIBDIR=%{_libdir}
|
||||||
|
|
||||||
|
install -Dm644 pam_cap/capability.conf \
|
||||||
|
%{buildroot}%{_docdir}/libcap/capability.conf.example
|
||||||
|
|
||||||
|
chmod +x %{buildroot}%{_libdir}/libcap.so.*
|
||||||
|
|
||||||
# remove conflicting man pages
|
# remove conflicting man pages
|
||||||
rm -f %{buildroot}%{_mandir}/man2/capset*
|
rm -f %{buildroot}%{_mandir}/man2/capset*
|
||||||
@ -122,16 +131,26 @@ fi
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/%{_lib}/libcap.so.*
|
%{_libdir}/libcap.so.*
|
||||||
/%{_lib}/security/pam_cap.so
|
%{_libdir}/security/pam_cap.so
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/sys/capability.h
|
%{_includedir}/sys/capability.h
|
||||||
/%{_lib}/libcap.a
|
%{_includedir}/sys/psx_syscall.h
|
||||||
/%{_lib}/libcap.so
|
%{_libdir}/libcap.a
|
||||||
%{_mandir}/man3/*.3.gz
|
%{_libdir}/libcap.so
|
||||||
|
%{_libdir}/libpsx.a
|
||||||
|
#%ifarch x86_64
|
||||||
|
#%dir %{_datadir}/gocode/src/libcap
|
||||||
|
#%dir %{_datadir}/gocode/src/libcap/cap
|
||||||
|
#%{_datadir}/gocode/src/libcap/cap/*.go
|
||||||
|
#%dir %{_datadir}/gocode/src/libcap/psx
|
||||||
|
#%{_datadir}/gocode/src/libcap/psx/*.go
|
||||||
|
#%endif
|
||||||
%{_libdir}/pkgconfig/libcap.pc
|
%{_libdir}/pkgconfig/libcap.pc
|
||||||
|
%{_libdir}/pkgconfig/libpsx.pc
|
||||||
|
%{_mandir}/man3/*.3*
|
||||||
|
|
||||||
%files tools
|
%files tools
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -141,7 +160,9 @@ fi
|
|||||||
/sbin/setcap
|
/sbin/setcap
|
||||||
%{_mandir}/man1/capsh.1*
|
%{_mandir}/man1/capsh.1*
|
||||||
%{_mandir}/man8/getcap.8*
|
%{_mandir}/man8/getcap.8*
|
||||||
|
%{_mandir}/man8/getpcaps.8*
|
||||||
%{_mandir}/man8/setcap.8*
|
%{_mandir}/man8/setcap.8*
|
||||||
|
%{_docdir}/libcap/capability.conf.example
|
||||||
%doc README
|
%doc README
|
||||||
|
|
||||||
%ifarch x86_64_disabled
|
%ifarch x86_64_disabled
|
||||||
@ -156,6 +177,12 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Feb 29 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.32-1mamba
|
||||||
|
- update to 2.32
|
||||||
|
|
||||||
|
* Fri Feb 14 2020 Automatic Build System <autodist@mambasoft.it> 2.31-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Sat Apr 20 2019 Automatic Build System <autodist@mambasoft.it> 2.27-1mamba
|
* Sat Apr 20 2019 Automatic Build System <autodist@mambasoft.it> 2.27-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user