From 30e31116b9acae3819ca0c17e7fb59048967214a4fb651232747d6275f124629 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 22 Jun 2007 16:53:38 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xfsdump?expand=0&rev=3 --- ....2.42-1-docdir.diff => xfsdump-docdir.diff | 0 xfsdump.changes | 24 +++++++ xfsdump.spec | 72 +++++++++---------- xfsdump_2.2.42-1.tar.bz2 | 3 - xfsdump_2.2.45-1.tar.bz2 | 3 + 5 files changed, 62 insertions(+), 40 deletions(-) rename xfsdump-2.2.42-1-docdir.diff => xfsdump-docdir.diff (100%) delete mode 100644 xfsdump_2.2.42-1.tar.bz2 create mode 100644 xfsdump_2.2.45-1.tar.bz2 diff --git a/xfsdump-2.2.42-1-docdir.diff b/xfsdump-docdir.diff similarity index 100% rename from xfsdump-2.2.42-1-docdir.diff rename to xfsdump-docdir.diff diff --git a/xfsdump.changes b/xfsdump.changes index a091f8c..e46c3e9 100644 --- a/xfsdump.changes +++ b/xfsdump.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Fri Jun 22 17:39:04 CEST 2007 - mmarek@suse.cz + +- updated to 2.2.45 + * Change fsr's temp directory mode to 0700 to deny full access. + * Update fsr's usage text. + * Fix use of getopt's optopt variable. Thanks to Kouta Ooizumi. + * Initialize xfsdump's logging facility earlier. Thanks to + Kouta Ooizumi. + * Log a message for each quota file restored, not just the first. + * When using -z, check a file's size against the max dump file + size just before dumping the file, rather than only during the + initial scan, to account for changes during the dump. + * A sync needs to be issued before the first inode scan to avoid + potentially skipping modified files in an incremental dump. + * Change the inode scans to seek to the next inode of + interest, rather than always doing a full scan. Useful + for dumps that contain only a subset of the inodes + in a filesystem (incrementals, subtree dumps, etc.). + * Produce a more accurate dump size estimate when + it is worthwhile to do so (when using multiple dump + streams or when skipping files based on size). +- specfile cleanup + ------------------------------------------------------------------- Thu Mar 29 11:07:44 CEST 2007 - mmarek@suse.de diff --git a/xfsdump.spec b/xfsdump.spec index 0434f33..72a799a 100644 --- a/xfsdump.spec +++ b/xfsdump.spec @@ -1,5 +1,5 @@ # -# spec file for package xfsdump (Version 2.2.42_1) +# spec file for package xfsdump (Version 2.2.45) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -12,16 +12,15 @@ Name: xfsdump BuildRequires: e2fsprogs-devel libattr-devel ncurses-devel xfsprogs-devel -Version: 2.2.42_1 -Release: 22 -%define ver 2.2.42-1 +Version: 2.2.45 +Release: 1 Autoreqprov: on Group: System/Filesystems License: GNU General Public License (GPL) URL: http://oss.sgi.com/projects/xfs/ Summary: Administrative Utilities for the XFS File System -Source0: %{name}_%{ver}.tar.bz2 -Patch0: %{name}-%{ver}-docdir.diff +Source0: xfsdump_%version-1.tar.bz2 +Patch0: xfsdump-docdir.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -48,7 +47,7 @@ Authors: SGI %prep -%setup -q -n %{name}-2.2.42 +%setup -q %patch0 %build @@ -62,46 +61,45 @@ autoconf --force --exec-prefix=/ \ --sbindir=/sbin \ --bindir=/usr/sbin \ - --libdir=/%{lib} \ - --libexecdir=/usr/%{lib}\ - --includedir=/usr/include \ - --mandir=%{_mandir} \ - --datadir=/usr/share + --mandir=%{_mandir} make %{?jobs:-j%jobs} %install -DIST_ROOT="$RPM_BUILD_ROOT" -DIST_INSTALL=`pwd`/install.manifest -export DIST_ROOT DIST_INSTALL -/usr/bin/make install DIST_MANIFEST="$DIST_INSTALL" -files() -{ - sort | uniq | awk ' -$1 == "d" { printf ("%%%%dir %%%%attr(%s,root,root) %s\n", $2, $5); } -$1 == "f" { if (match ($6, "/usr/share/man") || match ($6, "/usr/share/doc/xfsdump")) - printf ("%%%%doc "); - if (match ($6, "/usr/share/man")) - printf ("%%%%attr(%s,root,root) %s*\n", $2, $6); - else - printf ("%%%%attr(%s,root,root) %s\n", $2, $6); } -$1 == "l" { if (match ($3, "/usr/share/man") || match ($3, "/usr/share/doc/xfsdump")) - printf ("%%%%doc "); - if (match ($3, "/usr/share/man")) - printf ("%attr(0777,root,root) %s*\n", $3); - else - printf ("%attr(0777,root,root) %s\n", $3); }' -} -set +x -files < "$DIST_INSTALL" | egrep -v -e "^%%dir.*/sbin$" -e "^%%dir.*/man8$" > files.rpm -set -x +export DIST_ROOT="$RPM_BUILD_ROOT" +make install %clean rm -rf $RPM_BUILD_ROOT -%files -f files.rpm +%files %defattr(-,root,root,755) +/sbin/* +/usr/sbin/* +%doc %_defaultdocdir/%name +/usr/share/man/man8/* %changelog +* Fri Jun 22 2007 - mmarek@suse.cz +- updated to 2.2.45 + * Change fsr's temp directory mode to 0700 to deny full access. + * Update fsr's usage text. + * Fix use of getopt's optopt variable. Thanks to Kouta Ooizumi. + * Initialize xfsdump's logging facility earlier. Thanks to + Kouta Ooizumi. + * Log a message for each quota file restored, not just the first. + * When using -z, check a file's size against the max dump file + size just before dumping the file, rather than only during the + initial scan, to account for changes during the dump. + * A sync needs to be issued before the first inode scan to avoid + potentially skipping modified files in an incremental dump. + * Change the inode scans to seek to the next inode of + interest, rather than always doing a full scan. Useful + for dumps that contain only a subset of the inodes + in a filesystem (incrementals, subtree dumps, etc.). + * Produce a more accurate dump size estimate when + it is worthwhile to do so (when using multiple dump + streams or when skipping files based on size). +- specfile cleanup * Thu Mar 29 2007 - mmarek@suse.de - added ncurses-devel to BuildRequires (needed for xfsinvutil) * Fri Oct 20 2006 - mjancar@suse.cz diff --git a/xfsdump_2.2.42-1.tar.bz2 b/xfsdump_2.2.42-1.tar.bz2 deleted file mode 100644 index 0bc07ea..0000000 --- a/xfsdump_2.2.42-1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e0da72eeacfab14c3f25a2088fde6eab5e908f81c6531bc3504d9612d9f5934f -size 452945 diff --git a/xfsdump_2.2.45-1.tar.bz2 b/xfsdump_2.2.45-1.tar.bz2 new file mode 100644 index 0000000..d128210 --- /dev/null +++ b/xfsdump_2.2.45-1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0d197be7e46b1debffdba5b869bc4837b5acba4398ed8fb72b5df1030b55fcce +size 470712