]> git.pld-linux.org Git - packages/acl.git/blobdiff - acl.spec
- updated to 2.2.51
[packages/acl.git] / acl.spec
index 90475a1bc46a94ed894dcf6989e284a4678af0a9..e3acb88a4bd73fce264361e3ff3b98c3176f4565 100644 (file)
--- a/acl.spec
+++ b/acl.spec
@@ -1,12 +1,12 @@
 Summary:       Command and library for manipulating access control lists
 Summary(pl.UTF-8):     Polecenie i biblioteka do manipulacji listami kontroli dostÄ™pu (ACL)
 Name:          acl
-Version:       2.2.49
+Version:       2.2.51
 Release:       1
 License:       LGPL v2+ (library), GPL v2 (utilities)
 Group:         Applications/System
 Source0:       http://download.savannah.gnu.org/releases-noredirect/acl/%{name}-%{version}.src.tar.gz
-# Source0-md5: 181445894cca986da9ae0099d5ce2d08
+# Source0-md5: 3fc0ce99dc5253bdcce4c9cd437bc267
 Patch0:                %{name}-miscfix.patch
 Patch1:                %{name}-lt.patch
 Patch2:                %{name}-LDFLAGS.patch
@@ -17,6 +17,7 @@ BuildRequires:        autoconf
 BuildRequires: automake
 BuildRequires: gettext-devel
 BuildRequires: libtool
+BuildRequires: rpmbuild(macros) >= 1.402
 Requires:      attr >= 2.4.15
 Obsoletes:     libacl
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -67,7 +68,7 @@ Statyczna biblioteka acl.
 %patch2 -p1
 %patch3 -p1
 
-rm -f aclocal.m4
+%{__rm} aclocal.m4
 
 %build
 mv install-sh install-custom-sh
@@ -104,24 +105,18 @@ DIST_INSTALL_LIB=$P/install-lib.manifest
        DIST_MANIFEST=$DIST_INSTALL_LIB \
        top_builddir="../"
 
-rm -f  $RPM_BUILD_ROOT%{_mandir}/man3/{acl_copy_int,acl_set_fd,acl_set_file}.3
-rm -f  $RPM_BUILD_ROOT%{_mandir}/man3/{acl_to_short_text,acl_to_text}.3
-echo ".so acl_copy_ext.3"      > $RPM_BUILD_ROOT%{_mandir}/man3/acl_copy_int.3
-echo ".so acl_get_fd.3"                > $RPM_BUILD_ROOT%{_mandir}/man3/acl_set_fd.3
-echo ".so acl_get_file.3"      > $RPM_BUILD_ROOT%{_mandir}/man3/acl_set_file.3
-echo ".so acl_from_text.3"     > $RPM_BUILD_ROOT%{_mandir}/man3/acl_to_short_text.3
-echo ".so acl_from_text.3"     > $RPM_BUILD_ROOT%{_mandir}/man3/acl_to_text.3
-
-#rm -f $RPM_BUILD_ROOT%{_libexecdir}/lib*.so
 ln -snf %{_libdir}/$(basename $RPM_BUILD_ROOT%{_libdir}/libacl.so.*.*.*) \
        $RPM_BUILD_ROOT%{_libexecdir}/libacl.so
 %{__sed} -i "s|libdir='%{_libdir}'|libdir='%{_libexecdir}'|" \
        $RPM_BUILD_ROOT%{_libexecdir}/libacl.la
 
-rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
 
 # already in /usr
-rm -f $RPM_BUILD_ROOT%{_libdir}/libacl.{so,la,a}
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libacl.{so,la,a}
+
+# fix perms (needed for debuginfo and autorequires/provides)
+chmod a+x $RPM_BUILD_ROOT%{_libdir}/libacl.so.*.*.*
 
 %find_lang %{name}
 
This page took 0.05558 seconds and 4 git commands to generate.