diff --git a/libcap.spec b/libcap.spec index 037fa10..0ccc4f0 100644 --- a/libcap.spec +++ b/libcap.spec @@ -1,6 +1,6 @@ Name: libcap Version: 1.10 -Release: 30 +Release: 31 Summary: Library for getting and setting POSIX.1e capabilities Source: ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.4/%{name}-%{version}.tar.bz2 Source1: http://ftp.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.4/capfaq-0.2.txt @@ -62,7 +62,7 @@ make install DESTDIR=${RPM_BUILD_ROOT} \ mkdir -p ${RPM_BUILD_ROOT}/%{_mandir}/man{2,3,8} mv -f doc/*.2 ${RPM_BUILD_ROOT}/%{_mandir}/man2/ mv -f doc/*.3 ${RPM_BUILD_ROOT}/%{_mandir}/man3/ -cp %{SOURCE1} doc/ +cp -p %{SOURCE1} doc/ chmod +x ${RPM_BUILD_ROOT}/%{_lib}/*.so.* @@ -73,7 +73,7 @@ chmod +x ${RPM_BUILD_ROOT}/%{_lib}/*.so.* %defattr(-,root,root) /%{_lib}/*.so.* %{_sbindir}/* -%doc doc/capability.notes doc/capfaq-0.2.txt +%doc doc/capability.notes doc/capfaq-0.2.txt License %files devel %defattr(-,root,root) @@ -86,6 +86,10 @@ chmod +x ${RPM_BUILD_ROOT}/%{_lib}/*.so.* rm -rf ${RPM_BUILD_ROOT} %changelog +* Mon Jan 14 2008 Karsten Hopp 1.10-30 +- use cp -p in spec file to preserve file attributes (#225992) +- add license file + * Fri Aug 24 2007 Karsten Hopp 1.10-30 - rebuild