- get rid of *.la files
- remove duplicate doc files
This commit is contained in:
parent
594c51ea6e
commit
6f6d6f985f
14
acl.spec
14
acl.spec
@ -1,8 +1,8 @@
|
|||||||
Summary: Access control list utilities.
|
Summary: Access control list utilities.
|
||||||
Name: acl
|
Name: acl
|
||||||
Version: 2.2.23
|
Version: 2.2.23
|
||||||
Release: 8
|
Release: 9
|
||||||
BuildRoot: %{_tmppath}/%{name}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||||
BuildRequires: libattr-devel >= 2.4.1
|
BuildRequires: libattr-devel >= 2.4.1
|
||||||
Source: http://acl.bestbits.at/current/tar/acl-%{version}.src.tar.gz
|
Source: http://acl.bestbits.at/current/tar/acl-%{version}.src.tar.gz
|
||||||
Patch0: acl-2.2.3-multilib.patch
|
Patch0: acl-2.2.3-multilib.patch
|
||||||
@ -63,6 +63,9 @@ make install-lib DIST_MANIFEST="$DIST_INSTALL_LIB"
|
|||||||
perl -pi -e 's|^f 644|f 755|' $DIST_INSTALL_LIB
|
perl -pi -e 's|^f 644|f 755|' $DIST_INSTALL_LIB
|
||||||
chmod 755 $RPM_BUILD_ROOT/%{_lib}/*
|
chmod 755 $RPM_BUILD_ROOT/%{_lib}/*
|
||||||
|
|
||||||
|
# get rid of *.la files
|
||||||
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
||||||
|
|
||||||
files()
|
files()
|
||||||
{
|
{
|
||||||
sort | uniq | awk '
|
sort | uniq | awk '
|
||||||
@ -84,7 +87,7 @@ $1 == "l" { if (match ($3, "/usr/share/man") || match ($3, "/usr/share/doc/acl")
|
|||||||
}
|
}
|
||||||
set +x
|
set +x
|
||||||
files < "$DIST_INSTALL" > files.rpm
|
files < "$DIST_INSTALL" > files.rpm
|
||||||
files < "$DIST_INSTALL_DEV" > filesdevel.rpm
|
files < "$DIST_INSTALL_DEV" | grep -v libacl.la > filesdevel.rpm
|
||||||
files < "$DIST_INSTALL_LIB" > fileslib.rpm
|
files < "$DIST_INSTALL_LIB" > fileslib.rpm
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
@ -97,7 +100,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files -f files.rpm
|
%files -f files.rpm
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc %{_docdir}/acl-%{version}
|
|
||||||
|
|
||||||
%files -n libacl-devel -f filesdevel.rpm
|
%files -n libacl-devel -f filesdevel.rpm
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -106,6 +108,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%files -n libacl -f fileslib.rpm
|
%files -n libacl -f fileslib.rpm
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 28 2005 Than Ngo <than@redhat.com> 2.2.23-9
|
||||||
|
- get rid of *.la files
|
||||||
|
- remove duplicate doc files
|
||||||
|
|
||||||
* Wed Feb 9 2005 Stephen C. Tweedie <sct@redhat.com> 2.2.23-6
|
* Wed Feb 9 2005 Stephen C. Tweedie <sct@redhat.com> 2.2.23-6
|
||||||
- Rebuild
|
- Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user