Browse Source

xfsdump-3.1.8-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@12133 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 4 years ago
parent
commit
b72ae4970a
1 changed files with 14 additions and 12 deletions
  1. 14 12
      x/xfsdump/xfsdump-vl.spec

+ 14 - 12
x/xfsdump/xfsdump-vl.spec

@@ -1,21 +1,21 @@
 Summary: Administrative utilities for the XFS filesystem
 Name: xfsdump
-Version: 3.1.3
-Release: 6%{?_dist_release}
+Version: 3.1.8
+Release: 1%{?_dist_release}
 # Licensing based on generic "GNU GENERAL PUBLIC LICENSE"
 # in source, with no mention of version.
 License: GPL+
 Group: System Environment/Base
-URL: http://oss.sgi.com/projects/xfs/
-Source0: ftp://oss.sgi.com/projects/xfs/cmd_tars/%{name}-%{version}.tar.gz
+URL: http://xfs.org/
+Source0: https://mirrors.edge.kernel.org/pub/linux/utils/fs/xfs/xfsdump/%{name}-%{version}.tar.xz
+Patch1: 0003-common-types.h-Wrap-define-UUID_STR_LEN-36-in-ifndef.patch
+Patch2: 0004-common-drive.c-include-stdlib.h.patch
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: libtool, gettext, gawk
 BuildRequires: xfsprogs-devel, libuuid-devel, libattr-devel ncurses-devel
 Requires: xfsprogs >= 2.6.30, attr >= 2.0.0
 
-Patch0:		xfsdump-getdents-ifdef-hell.patch
-Patch1:		xfsdump-ancient-getdents-code.patch
-
 Vendor: Project Vine
 Distribution: Vine Linux
 Packager: tomop
@@ -38,10 +38,8 @@ be layered on top of the full backup.  Single files and directory
 subtrees may be restored from full or partial backups.
 
 %prep
-%setup -q
-
-%patch0 -p1
-%patch1 -p1
+%autosetup -p1
+perl -pi -e 's/xfs_fsop_geom_v1_t/struct xfs_fsop_geom_v1/' common/fs.c
 
 %build
 %configure
@@ -69,13 +67,17 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(-,root,root)
-%doc README doc/COPYING doc/CHANGES doc/README.xfsdump doc/xfsdump_ts.txt
+%license doc/COPYING
+%doc README  doc/CHANGES doc/README.xfsdump doc/xfsdump_ts.txt
 %{_mandir}/man8/*
 /sbin/*
 %{_sbindir}*
 %{_sharedstatedir}/xfsdump/inventory
 
 %changelog
+* Sat Aug 31 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.1.8-1
+- new upstream release.
+
 * Fri Jul  4 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.1.3-6
 - initial build for Vine Linux.