###############################################################################
name = attr
-version = 2.4.43
-release = 7
+version = 2.5.1
+release = 1
groups = System/Filesystems
-url = http://oss.sgi.com/projects/xfs/
+url = https://savannah.nongnu.org/projects/attr
license = GPLv2+ LGPLv2+
summary = Tools for extended attribute support.
objects.
end
-source_dl = ftp://oss.sgi.com/projects/xfs/previous/cmd_tars/
+source_dl = https://download-mirror.savannah.gnu.org/releases/attr/
build
requires
--libexecdir=%{libdir} \
--enable-shared
- make_build_targets += LIBTOOL="libtool --tag=CC"
- make_install_targets += install-lib install-dev
-
install_cmds
# Fix absolute symlink.
rm -rvf %{BUILDROOT}%{libdir}/libattr.so
+++ /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