[PATCH] xfsprogs: Update to 4.7.0.

Michael Tremer michael.tremer at ipfire.org
Thu Sep 22 16:48:43 CEST 2016


Hi,

I merged this, but I am not sure if you noticed that libattr is later not part
of the runtime dependencies.

That suggests that it might have not been found correctly by the build system.

Could you have a look at that again and maybe send a follow-up patch if
necessary?

Best,
-Michael

On Thu, 2016-09-22 at 12:28 +0200, Stefan Schantl wrote:
> 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 at 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
>  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ipfire.org/pipermail/development/attachments/20160922/76c3c226/attachment.sig>


More information about the Development mailing list