Summary: Command and library for manipulating access control lists
Summary(pl): Polecenie i biblioteka do manipulacji listami kontroli dostêpu (ACL)
Name: acl
-Version: 2.2.28
+Version: 2.2.39
Release: 1
License: LGPL v2+ (library), GPL v2 (utilities)
Group: Applications/System
-Source0: ftp://linux-xfs.sgi.com/projects/xfs/download/cmd_tars/%{name}-%{version}.src.tar.gz
-# Source0-md5: 69ba4f7e2bb87d20aedd15249f8747eb
+Source0: ftp://linux-xfs.sgi.com/projects/xfs/download/cmd_tars/%{name}_%{version}-1.tar.gz
+# Source0-md5: 4edd450bbee60d6c4b3c51ae80499b00
Patch0: %{name}-miscfix.patch
+Patch1: %{name}-lt.patch
URL: http://oss.sgi.com/projects/xfs/
BuildRequires: attr-devel >= 2.4.16-3
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gettext-devel
+BuildRequires: libtool
BuildRequires: sed >= 4.0
Requires: attr >= 2.4.15
Obsoletes: libacl
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
+sed -e '/LTLDFLAGS/s/$/ $(LLDFLAGS)/' -i libacl/Makefile
%build
rm -f aclocal.m4
DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}" \
OPTIMIZER="%{rpmcflags} -DENABLE_GETTEXT"
-%{__make}
+%{__make} \
+ LLDFLAGS="%{rpmldflags}"
%install
rm -rf $RPM_BUILD_ROOT