This commit is contained in:
parent
23139fbac1
commit
30e31116b9
@ -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
|
Thu Mar 29 11:07:44 CEST 2007 - mmarek@suse.de
|
||||||
|
|
||||||
|
72
xfsdump.spec
72
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.
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
# This file and all modifications and additions to the pristine
|
||||||
@ -12,16 +12,15 @@
|
|||||||
|
|
||||||
Name: xfsdump
|
Name: xfsdump
|
||||||
BuildRequires: e2fsprogs-devel libattr-devel ncurses-devel xfsprogs-devel
|
BuildRequires: e2fsprogs-devel libattr-devel ncurses-devel xfsprogs-devel
|
||||||
Version: 2.2.42_1
|
Version: 2.2.45
|
||||||
Release: 22
|
Release: 1
|
||||||
%define ver 2.2.42-1
|
|
||||||
Autoreqprov: on
|
Autoreqprov: on
|
||||||
Group: System/Filesystems
|
Group: System/Filesystems
|
||||||
License: GNU General Public License (GPL)
|
License: GNU General Public License (GPL)
|
||||||
URL: http://oss.sgi.com/projects/xfs/
|
URL: http://oss.sgi.com/projects/xfs/
|
||||||
Summary: Administrative Utilities for the XFS File System
|
Summary: Administrative Utilities for the XFS File System
|
||||||
Source0: %{name}_%{ver}.tar.bz2
|
Source0: xfsdump_%version-1.tar.bz2
|
||||||
Patch0: %{name}-%{ver}-docdir.diff
|
Patch0: xfsdump-docdir.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -48,7 +47,7 @@ Authors:
|
|||||||
SGI
|
SGI
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-2.2.42
|
%setup -q
|
||||||
%patch0
|
%patch0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -62,46 +61,45 @@ autoconf --force
|
|||||||
--exec-prefix=/ \
|
--exec-prefix=/ \
|
||||||
--sbindir=/sbin \
|
--sbindir=/sbin \
|
||||||
--bindir=/usr/sbin \
|
--bindir=/usr/sbin \
|
||||||
--libdir=/%{lib} \
|
--mandir=%{_mandir}
|
||||||
--libexecdir=/usr/%{lib}\
|
|
||||||
--includedir=/usr/include \
|
|
||||||
--mandir=%{_mandir} \
|
|
||||||
--datadir=/usr/share
|
|
||||||
make %{?jobs:-j%jobs}
|
make %{?jobs:-j%jobs}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
DIST_ROOT="$RPM_BUILD_ROOT"
|
export DIST_ROOT="$RPM_BUILD_ROOT"
|
||||||
DIST_INSTALL=`pwd`/install.manifest
|
make install
|
||||||
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
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files -f files.rpm
|
%files
|
||||||
%defattr(-,root,root,755)
|
%defattr(-,root,root,755)
|
||||||
|
/sbin/*
|
||||||
|
/usr/sbin/*
|
||||||
|
%doc %_defaultdocdir/%name
|
||||||
|
/usr/share/man/man8/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Mar 29 2007 - mmarek@suse.de
|
||||||
- added ncurses-devel to BuildRequires (needed for xfsinvutil)
|
- added ncurses-devel to BuildRequires (needed for xfsinvutil)
|
||||||
* Fri Oct 20 2006 - mjancar@suse.cz
|
* Fri Oct 20 2006 - mjancar@suse.cz
|
||||||
|
@ -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
3
xfsdump_2.2.45-1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0d197be7e46b1debffdba5b869bc4837b5acba4398ed8fb72b5df1030b55fcce
|
||||||
|
size 470712
|
Loading…
x
Reference in New Issue
Block a user