public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Stefan Schantl <stefan.schantl@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH] xfsprogs: Update to 4.7.0.
Date: Thu, 22 Sep 2016 12:28:22 +0200	[thread overview]
Message-ID: <1474540102-13831-1-git-send-email-stefan.schantl@ipfire.org> (raw)

[-- 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


             reply	other threads:[~2016-09-22 10:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-22 10:28 Stefan Schantl [this message]
2016-09-22 14:48 ` Michael Tremer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1474540102-13831-1-git-send-email-stefan.schantl@ipfire.org \
    --to=stefan.schantl@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox