- use cp -p in spec file to preserve file attributes (#225992)
- add license file
This commit is contained in:
parent
b0d06e1c78
commit
a2ea56fe92
10
libcap.spec
10
libcap.spec
@ -1,6 +1,6 @@
|
|||||||
Name: libcap
|
Name: libcap
|
||||||
Version: 1.10
|
Version: 1.10
|
||||||
Release: 30
|
Release: 31
|
||||||
Summary: Library for getting and setting POSIX.1e capabilities
|
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
|
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
|
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}
|
mkdir -p ${RPM_BUILD_ROOT}/%{_mandir}/man{2,3,8}
|
||||||
mv -f doc/*.2 ${RPM_BUILD_ROOT}/%{_mandir}/man2/
|
mv -f doc/*.2 ${RPM_BUILD_ROOT}/%{_mandir}/man2/
|
||||||
mv -f doc/*.3 ${RPM_BUILD_ROOT}/%{_mandir}/man3/
|
mv -f doc/*.3 ${RPM_BUILD_ROOT}/%{_mandir}/man3/
|
||||||
cp %{SOURCE1} doc/
|
cp -p %{SOURCE1} doc/
|
||||||
|
|
||||||
chmod +x ${RPM_BUILD_ROOT}/%{_lib}/*.so.*
|
chmod +x ${RPM_BUILD_ROOT}/%{_lib}/*.so.*
|
||||||
|
|
||||||
@ -73,7 +73,7 @@ chmod +x ${RPM_BUILD_ROOT}/%{_lib}/*.so.*
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/%{_lib}/*.so.*
|
/%{_lib}/*.so.*
|
||||||
%{_sbindir}/*
|
%{_sbindir}/*
|
||||||
%doc doc/capability.notes doc/capfaq-0.2.txt
|
%doc doc/capability.notes doc/capfaq-0.2.txt License
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -86,6 +86,10 @@ chmod +x ${RPM_BUILD_ROOT}/%{_lib}/*.so.*
|
|||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 14 2008 Karsten Hopp <karsten@redhat.com> 1.10-30
|
||||||
|
- use cp -p in spec file to preserve file attributes (#225992)
|
||||||
|
- add license file
|
||||||
|
|
||||||
* Fri Aug 24 2007 Karsten Hopp <karsten@redhat.com> 1.10-30
|
* Fri Aug 24 2007 Karsten Hopp <karsten@redhat.com> 1.10-30
|
||||||
- rebuild
|
- rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user