1
0
forked from pool/xfsdump
OBS User unknown 2007-06-22 16:53:38 +00:00 committed by Git OBS Bridge
parent 23139fbac1
commit 30e31116b9
5 changed files with 62 additions and 40 deletions

View File

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

View File

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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e0da72eeacfab14c3f25a2088fde6eab5e908f81c6531bc3504d9612d9f5934f
size 452945

3
xfsdump_2.2.45-1.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0d197be7e46b1debffdba5b869bc4837b5acba4398ed8fb72b5df1030b55fcce
size 470712