public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] xfsprogs: Update to 4.7.0.
@ 2016-09-22 10:28 Stefan Schantl
  2016-09-22 14:48 ` Michael Tremer
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Schantl @ 2016-09-22 10:28 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1643 bytes --]

This is an major update to the latest stable version.

* Drop dependency to e2fsprogs.
* Add dependency to libatt-devel

* Cleanup build instructions and package.

Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
---
 xfsprogs/xfsprogs.nm | 22 +++++++++++++++-------
 1 file changed, 15 insertions(+), 7 deletions(-)

diff --git a/xfsprogs/xfsprogs.nm b/xfsprogs/xfsprogs.nm
index 2dded35..5041e50 100644
--- a/xfsprogs/xfsprogs.nm
+++ b/xfsprogs/xfsprogs.nm
@@ -4,7 +4,7 @@
 ###############################################################################
 
 name       = xfsprogs
-version    = 3.2.2
+version    = 4.7.0
 release    = 1
 
 groups     = System/Filesystems
@@ -20,10 +20,10 @@ source_dl  = ftp://oss.sgi.com/projects/xfs/cmd_tars/
 
 build
 	requires
-		e2fsprogs-devel
 		gettext
 		libacl-devel
-		libblkid-devel
+		libattr-devel
+		libblkid-devel >= 2.17
 		libtool
 		libuuid-devel
 		readline-devel
@@ -34,11 +34,19 @@ build
 		--enable-readline=yes \
 		--enable-blkid=yes
 
-	make_build_targets += V=1 DEBUG=-DNDEBUG
+	make_build_targets += \
+		V=1 DEBUG=-DNDEBUG
 
-	install
-		make install install-dev install-qa V=1 DIST_ROOT=%{BUILDROOT} \
-			PKG_ROOT_SBIN_DIR=%{sbindir} PKG_ROOT_LIB_DIR=%{libdir}
+	make_install_targets += \
+		install-dev V=1 DIST_ROOT=%{BUILDROOT} \
+		PKG_ROOT_SBIN_DIR=%{sbindir} PKG_ROOT_LIB_DIR=%{libdir}
+
+	install_cmds
+		# Fix file permission.
+		chmod 0755 %{BUILDROOT}/%{libdir}/libhandle.so.*.*.*
+
+		# Remove unneeded doc location.
+		rm -rvf %{BUILDROOT}/%{datadir}/doc/xfsprogs/
 	end
 end
 
-- 
2.7.4


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-22 14:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-22 10:28 [PATCH] xfsprogs: Update to 4.7.0 Stefan Schantl
2016-09-22 14:48 ` Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox