This commit is contained in:
parent
89d17d573e
commit
9814c8db96
19
fsck.xfs
19
fsck.xfs
@ -1,19 +0,0 @@
|
|||||||
#!/bin/sh -f
|
|
||||||
#
|
|
||||||
# Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved.
|
|
||||||
#
|
|
||||||
|
|
||||||
AUTO=false
|
|
||||||
while getopts ":aA" c
|
|
||||||
do
|
|
||||||
case $c in
|
|
||||||
a|A) AUTO=true;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
if $AUTO; then
|
|
||||||
echo "$0: XFS file system."
|
|
||||||
else
|
|
||||||
echo "If you wish to check the consistency of an XFS filesystem or"
|
|
||||||
echo "repair a damaged filesystem, see xfs_check(8) and xfs_repair(8)."
|
|
||||||
fi
|
|
||||||
exit 0
|
|
@ -1,11 +0,0 @@
|
|||||||
--- include/buildmacros
|
|
||||||
+++ include/buildmacros
|
|
||||||
@@ -73,8 +73,6 @@
|
|
||||||
../$(INSTALL) -m 644 $(LIBNAME).lai $(PKG_DEVLIB_DIR)/$(LIBNAME).la ; \
|
|
||||||
../$(INSTALL) -m 755 -d $(PKG_LIB_DIR); \
|
|
||||||
../$(INSTALL) -T so_base $(LIBNAME).lai $(PKG_LIB_DIR); \
|
|
||||||
- ../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).a $(PKG_LIB_DIR)/$(LIBNAME).a; \
|
|
||||||
- ../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).la $(PKG_LIB_DIR)/$(LIBNAME).la; \
|
|
||||||
../$(INSTALL) -S $(PKG_LIB_DIR)/$(LIBNAME).so $(PKG_DEVLIB_DIR)/$(LIBNAME).so
|
|
||||||
else
|
|
||||||
INSTALL_LTLIB_DEV = $(INSTALL_LTLIB_STATIC)
|
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 22 16:36:46 CEST 2007 - mmarek@suse.cz
|
||||||
|
|
||||||
|
- updated to 2.8.21
|
||||||
|
* Add support for lazy superblock counters in mkfs.xfs, xfs_db,
|
||||||
|
xfs_repair, xfs_growfs and also libxfs.
|
||||||
|
* Fix xfs_quota project command to stop it operating on special files.
|
||||||
|
Thanks to Leo Baltus.
|
||||||
|
- specfile cleanup
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 4 14:44:40 CEST 2007 - mmarek@suse.cz
|
Wed Apr 4 14:44:40 CEST 2007 - mmarek@suse.cz
|
||||||
|
|
||||||
|
105
xfsprogs.spec
105
xfsprogs.spec
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package xfsprogs (Version 2.8.20)
|
# spec file for package xfsprogs (Version 2.8.21)
|
||||||
#
|
#
|
||||||
# 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,9 +12,8 @@
|
|||||||
|
|
||||||
Name: xfsprogs
|
Name: xfsprogs
|
||||||
BuildRequires: e2fsprogs-devel
|
BuildRequires: e2fsprogs-devel
|
||||||
Version: 2.8.20
|
Version: 2.8.21
|
||||||
Release: 1
|
Release: 1
|
||||||
Conflicts: xfsdump < 2.0.0
|
|
||||||
# hint for ZYPP
|
# hint for ZYPP
|
||||||
Supplements: filesystem(xfs)
|
Supplements: filesystem(xfs)
|
||||||
Autoreqprov: on
|
Autoreqprov: on
|
||||||
@ -23,10 +22,8 @@ License: GNU General Public License (GPL)
|
|||||||
URL: http://oss.sgi.com/projects/xfs/
|
URL: http://oss.sgi.com/projects/xfs/
|
||||||
Summary: Utilities for managing the XFS file system
|
Summary: Utilities for managing the XFS file system
|
||||||
Source0: xfsprogs_%{version}-1.tar.bz2
|
Source0: xfsprogs_%{version}-1.tar.bz2
|
||||||
Source1: fsck.xfs
|
|
||||||
Patch0: xfsprogs-docdir.diff
|
Patch0: xfsprogs-docdir.diff
|
||||||
Patch1: xfsprogs-no_la_in_root.diff
|
Patch1: xfsprogs-ppc64.diff
|
||||||
Patch2: xfsprogs-ppc64.diff
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -50,8 +47,7 @@ Authors:
|
|||||||
SGI
|
SGI
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Requires: xfsprogs >= 2.0.0
|
Requires: xfsprogs = %version
|
||||||
Conflicts: xfsprogs < 2.0.0
|
|
||||||
Autoreqprov: on
|
Autoreqprov: on
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
License: GNU General Public License (GPL)
|
License: GNU General Public License (GPL)
|
||||||
@ -76,7 +72,6 @@ Authors:
|
|||||||
%setup -q
|
%setup -q
|
||||||
%patch0
|
%patch0
|
||||||
%patch1
|
%patch1
|
||||||
%patch2
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{suse_update_config -f}
|
%{suse_update_config -f}
|
||||||
@ -87,68 +82,64 @@ export CFLAGS="$RPM_OPT_FLAGS"
|
|||||||
aclocal --force
|
aclocal --force
|
||||||
autoconf --force
|
autoconf --force
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=%{_prefix} \
|
--prefix=%{_prefix} \
|
||||||
--exec-prefix=/ \
|
--exec-prefix=/ \
|
||||||
--sbindir=/sbin \
|
--sbindir=/sbin \
|
||||||
--bindir=%{_sbindir} \
|
--bindir=%{_sbindir} \
|
||||||
--libdir=/%{_lib} \
|
--libdir=/%{_lib} \
|
||||||
--libexecdir=/usr/%{_lib} \
|
--libexecdir=/usr/%{_lib} \
|
||||||
--includedir=%{_includedir} \
|
--includedir=%{_includedir} \
|
||||||
--mandir=%{_mandir} \
|
--mandir=%{_mandir} \
|
||||||
--datadir=%{_datadir}
|
--datadir=%{_datadir}
|
||||||
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
|
/usr/bin/make install
|
||||||
DIST_INSTALL_DEV=`pwd`/install-dev.manifest
|
/usr/bin/make install-dev
|
||||||
export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV
|
# remove devel stuff from /lib
|
||||||
/usr/bin/make install DIST_MANIFEST="$DIST_INSTALL"
|
rm $RPM_BUILD_ROOT/%_lib/libhandle.{so,a,la}
|
||||||
/usr/bin/make install-dev DIST_MANIFEST="$DIST_INSTALL_DEV"
|
rm $RPM_BUILD_ROOT/%_libdir/libhandle.so
|
||||||
rm -rf $RPM_BUILD_ROOT/sbin/fsck.xfs
|
pushd $RPM_BUILD_ROOT%_libdir
|
||||||
install -m755 %{S:1} $RPM_BUILD_ROOT/sbin
|
ls ../../%_lib/libhandle.so.[0-9]
|
||||||
files()
|
ln -s ../../%_lib/libhandle.so.[0-9] libhandle.so
|
||||||
{
|
popd
|
||||||
sort | uniq | awk '
|
chmod 755 $RPM_BUILD_ROOT/sbin/fsck.xfs
|
||||||
$1 == "d" { printf ("%%%%dir %%%%attr(%s,root,root) %s\n", $2, $5); }
|
%find_lang %name
|
||||||
$1 == "f" { if (match ($6, "/usr/share/man") || match ($6, "/usr/share/doc/packages/xfsprogs"))
|
|
||||||
printf ("%%%%doc ");
|
|
||||||
if (match ($6, "/usr/share/man"))
|
|
||||||
printf ("%%%%attr(%s,root,root) %s*\n", $2, $6);
|
|
||||||
else
|
|
||||||
if (match ($6, "/libhandle.so"))
|
|
||||||
printf ("%%%%attr(0755,root,root) %s\n", $6);
|
|
||||||
else
|
|
||||||
printf ("%%%%attr(%s,root,root) %s\n", $2, $6);
|
|
||||||
}
|
|
||||||
$1 == "l" { if (match ($3, "/usr/share/man") || match ($3, "/usr/share/doc/packages/xfsprogs"))
|
|
||||||
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.*/man[58]$" -e "^%%dir.*/lib(64)?$" -e "^%%dir.*/usr/share/locale" > files.rpm
|
|
||||||
files < "$DIST_INSTALL_DEV" | egrep -v -e "^%%dir.*/lib(64)?$" -e "^%%dir.*/man3$" > filesdevel.rpm
|
|
||||||
set -x
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%post
|
%post -p /sbin/ldconfig
|
||||||
%run_ldconfig
|
|
||||||
|
|
||||||
%postun
|
%postun -p /sbin/ldconfig
|
||||||
%run_ldconfig
|
|
||||||
|
|
||||||
%files -f files.rpm
|
%files -f %name.lang
|
||||||
%defattr(-,root,root,755)
|
%defattr(-,root,root,755)
|
||||||
|
/sbin/*
|
||||||
|
/usr/sbin/*
|
||||||
|
# this is only used by xfs cmds, therefore no urgent need for a shlib package
|
||||||
|
/%_lib/libhandle.so.*
|
||||||
|
%doc /usr/share/man/man[58]/*
|
||||||
|
%doc %_defaultdocdir/%name
|
||||||
|
|
||||||
%files devel -f filesdevel.rpm
|
%files devel
|
||||||
%defattr(-,root,root,755)
|
%defattr(-,root,root,755)
|
||||||
|
/usr/include/disk
|
||||||
|
/usr/include/xfs
|
||||||
|
%_libdir/*.so
|
||||||
|
%_libdir/*.a
|
||||||
|
%_libdir/*.la
|
||||||
|
/usr/share/man/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 22 2007 - mmarek@suse.cz
|
||||||
|
- updated to 2.8.21
|
||||||
|
* Add support for lazy superblock counters in mkfs.xfs, xfs_db,
|
||||||
|
xfs_repair, xfs_growfs and also libxfs.
|
||||||
|
* Fix xfs_quota project command to stop it operating on special files.
|
||||||
|
Thanks to Leo Baltus.
|
||||||
|
- specfile cleanup
|
||||||
* Wed Apr 04 2007 - mmarek@suse.cz
|
* Wed Apr 04 2007 - mmarek@suse.cz
|
||||||
- updated to version 2.8.20
|
- updated to version 2.8.20
|
||||||
* Fix xfs_repair not detecting invalid btree root in inodes.
|
* Fix xfs_repair not detecting invalid btree root in inodes.
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:533c6332b5680cb8b8332f81ab31cfa37ff08c60830258dec94b569934fde480
|
|
||||||
size 765634
|
|
3
xfsprogs_2.8.21-1.tar.bz2
Normal file
3
xfsprogs_2.8.21-1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:789a9928fbb6ef163657c40e165d7abbe2a37b8b49f4dc8e32fe0f1a4a084d65
|
||||||
|
size 767507
|
Loading…
Reference in New Issue
Block a user