New upstream sources.

This commit is contained in:
Chris Feist 2006-08-22 19:04:20 +00:00
parent a8f30a7141
commit 1d59a1245a
1 changed files with 10 additions and 3 deletions

View File

@ -12,7 +12,7 @@
Name: gfs2-utils
Version: 0.1.4
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL
Group: System Environment/Kernel
Summary: Utilities for managing the global filesystem (GFS)
@ -26,6 +26,8 @@ BuildRequires: libvolume_id-devel
URL: http://sources.redhat.com/cluster/
Source0: gfs2-%{version}.tar.gz
Patch1: gfs2-utils-norun.patch
Patch2: gfs2-tempondisk.patch
Patch3: gfs2-tempondisk2.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -37,12 +39,16 @@ filesystems.
%prep
%setup -q -n gfs2-%{version}
%patch1 -p2 -b .norun
%patch2 -p1 -b .tempondisk
%patch3 -p1 -b .tempondisk2
%build
./configure --kernel_src=/usr --libdir=%{_libdir}
sed -i '/RELEASE_MAJOR/s/= .*/= 0/' make/defines.mk
sed -i '/RELEASE_MINOR/s/= .*/= 1.0/' make/defines.mk
sed -i '/RELEASE /s/= .*/= %{version}/' make/defines.mk
mkdir include/linux
cp include/gfs2_ondisk.h include/linux/
make
%post
@ -56,8 +62,6 @@ exit 0
%install
rm -rf $RPM_BUILD_ROOT
cd gfs2
make copytobin
make install DESTDIR=$RPM_BUILD_ROOT
%clean
@ -71,6 +75,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/*/*
%changelog
* Tue Aug 22 2006 Chris Feist <cfeist@redhat.com> 0.1.4-2
- New Upstream sources.
* Mon Aug 14 2006 Chris Feist <cfeist@redhat.com> 0.1.3-0
- New Upstream sources, use dist tag.