From: Jakub Bogusz Date: Sat, 19 Nov 2005 08:48:17 +0000 (+0000) Subject: - updated to cluster-1.01.00, Epoch 1 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=07400a553759708e0a81d7502551b8ab9691cd56;hp=be9b87ce2a29125743a299ad331de92b9723d6b3;p=packages%2Fgfs.git - updated to cluster-1.01.00, Epoch 1 Changed files: gfs.spec -> 1.7 --- diff --git a/gfs.spec b/gfs.spec index 9a241f5..6c35182 100644 --- a/gfs.spec +++ b/gfs.spec @@ -1,21 +1,13 @@ Summary: Shared-disk cluster file system Summary(pl): Klastrowy system plików na wspó³dzielonym dysku Name: gfs -Version: 6.1 -%define bver pre21 -Release: 0.%{bver}.1 +Version: 1.01.00 +Release: 1 +Epoch: 1 License: GPL v2 Group: Applications/System -Source0: http://people.redhat.com/cfeist/cluster/tgz/%{name}-%{version}-%{bver}.tar.gz -# Source0-md5: 0b623c83354884e9da498e09130a3214 -# from gfs-kernel CVS -Source1: gfs_ondisk.h -# NoSource1-md5: 772e1801249bff0478b844924c0fdc20 (rev. 1.7; doesn't compile with 1.8) -Source2: gfs_ioctl.h -# NoSource2-md5: fad0a58f6f39499661704f0d5af3a8c0 (rev. 1.10) -# from gfs-kernel/harness CVS -Source3: lm_interface.h -# NoSource3-md5: 5b000a3b33af218e1b6b8a7d96b7e356 (rev. 1.7) +Source0: ftp://sources.redhat.com/pub/cluster/releases/cluster-%{version}.tar.gz +# Source0-md5: e98551b02ee8ed46ae0ab8fca193d751 URL: http://sources.redhat.com/cluster/gfs/ BuildRequires: iddev BuildRequires: perl-base @@ -45,15 +37,17 @@ systemie plik wszystkich innych maszynach w klastrze. %prep -%setup -q -n %{name}-%{version}-%{bver} - -install -d include/linux -cp %{SOURCE1} %{SOURCE2} %{SOURCE3} include/linux +%setup -q -n cluster-%{version} +install -d %{name}/include/linux +install %{name}-kernel/src/gfs/{gfs_ioctl.h,gfs_ondisk.h} %{name}/include/linux +install %{name}-kernel/src/harness/lm_interface.h %{name}/include/linux +cd %{name} %{__perl} -pi -e 's/-Wall/%{rpmcflags} -Wall/' make/defines.mk.input %{__perl} -pi -e 's/-O2 //' gfs_{mkfs,quota,tool}/Makefile %build +cd %{name} ./configure \ --incdir=%{_includedir} \ --libdir=%{_libdir} \ @@ -65,6 +59,7 @@ cp %{SOURCE1} %{SOURCE2} %{SOURCE3} include/linux %install rm -rf $RPM_BUILD_ROOT +cd %{name} %{__make} install \ DESTDIR=$RPM_BUILD_ROOT