name = attr
version = 2.4.43
-release = 5
+release = 6
groups = System/Filesystems
url = http://oss.sgi.com/projects/xfs/
summary = Tools for extended attribute support.
description
- A set of tools for manipulating extended attributes on filesystem \
+ A set of tools for manipulating extended attributes on filesystem
objects.
end
--enable-shared
make_build_targets += LIBTOOL="libtool --tag=CC"
- make_install_targets += install-libs install-dev
+ make_install_targets += install-lib install-dev
+
+ install_cmds
+ # Fix absolute symlink.
+ rm -rvf %{BUILDROOT}%{libdir}/libattr.so
+ ln -svf libattr.so.1 %{BUILDROOT}%{libdir}/libattr.so
+ end
end
packages
--- /dev/null
+diff -Nur a/include/builddefs.in b/include/builddefs.in
+--- a/include/builddefs.in 2008-06-30 07:38:27.000000000 +0200
++++ b/include/builddefs.in 2012-04-12 22:20:47.479076688 +0200
+@@ -27,14 +27,14 @@
+ PKG_VERSION = @pkg_version@
+ PKG_PLATFORM = @pkg_platform@
+ PKG_DISTRIBUTION= @pkg_distribution@
+-PKG_BIN_DIR = @bindir@
+-PKG_SBIN_DIR = @sbindir@
+-PKG_LIB_DIR = @libdir@@libdirsuffix@
+-PKG_DEVLIB_DIR = @libexecdir@@libdirsuffix@
+-PKG_INC_DIR = @includedir@/attr
+-PKG_MAN_DIR = @mandir@
+-PKG_DOC_DIR = @datadir@/doc/@pkg_name@
+-PKG_LOCALE_DIR = @datadir@/locale
++PKG_BIN_DIR = $(DESTDIR)@bindir@
++PKG_SBIN_DIR = $(DESTDIR)@sbindir@
++PKG_LIB_DIR = $(DESTDIR)@libdir@@libdirsuffix@
++PKG_DEVLIB_DIR = $(DESTDIR)@libexecdir@@libdirsuffix@
++PKG_INC_DIR = $(DESTDIR)@includedir@/attr
++PKG_MAN_DIR = $(DESTDIR)@mandir@
++PKG_DOC_DIR = $(DESTDIR)@datadir@/doc/@pkg_name@
++PKG_LOCALE_DIR = $(DESTDIR)@datadir@/locale
+
+ CC = @cc@
+ AWK = @awk@
+diff -Nur a/include/buildmacros b/include/buildmacros
+--- a/include/buildmacros 2008-06-30 07:22:18.000000000 +0200
++++ b/include/buildmacros 2012-04-12 22:21:18.737379800 +0200
+@@ -27,7 +27,7 @@
+ $(LFILES:.l=.o) \
+ $(YFILES:%.y=%.tab.o)
+
+-INSTALL = $(TOPDIR)/install-sh -o $(PKG_USER) -g $(PKG_GROUP)
++INSTALL = $(TOPDIR)/install-sh
+
+ SHELL = /bin/sh
+ IMAGES_DIR = $(TOPDIR)/all-images