auto-import changelog data from parted-1.6.6-2.src.rpm
Mon Mar 15 2004 Elliot Lee <sopwith@redhat.com> 1.6.6-2 - Fix parted's "part-static" option to close #118183. Woohoo, a fake-libtool.sh :) Fri Mar 12 2004 Jeremy Katz <katzj@redhat.com> - 1.6.6-1 - update to 1.6.6 - split dasd into a patch instead of included in the tarball - python module is now in the pyparted package (separate src.rpm) - ExcludeArch: ppc64 (#118183) Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> - rebuilt Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> - rebuilt Fri Feb 06 2004 Jeremy Katz <katzj@redhat.com> - add automake buildrequires (#115063)
This commit is contained in:
parent
bcee8df7e7
commit
a81b1cbc4c
@ -1 +1 @@
|
|||||||
parted-1.6.3.tar.gz
|
parted-1.6.6.tar.gz
|
||||||
|
94
parted.spec
94
parted.spec
@ -1,29 +1,28 @@
|
|||||||
# -*- mode: rpm-spec -*-
|
|
||||||
%define aclocaldir /usr/share/aclocal
|
%define aclocaldir /usr/share/aclocal
|
||||||
%define _sbindir /sbin
|
%define _sbindir /sbin
|
||||||
|
|
||||||
Summary: The GNU disk partition manipulation program.
|
Summary: The GNU disk partition manipulation program.
|
||||||
Name: parted
|
Name: parted
|
||||||
Version: 1.6.3
|
Version: 1.6.6
|
||||||
Release: 33
|
Release: 2
|
||||||
Source: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
|
Source: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
|
||||||
|
Source1: fake-libtool.sh
|
||||||
Patch0: parted-1.6.3-fat.c.patch
|
Patch0: parted-1.6.3-fat.c.patch
|
||||||
# NOTE: remove patch1 when updating to a new tarball
|
Patch1: parted-1.6.6-gptver.patch
|
||||||
Patch1: parted-1.6.3-debug.patch
|
Patch2: parted-1.6.3-26geom.patch
|
||||||
Patch2: parted-1.6.3-vtoc.patch
|
Patch3: parted-1.6.6-partstatic.patch
|
||||||
Patch3: parted-1.6.3-s390update.patch
|
|
||||||
Patch4: parted-1.6.3-ldl.patch
|
Patch100: parted-1.6.3-dasd.patch
|
||||||
Patch5: parted-1.6.3-iseries.patch
|
Patch150: parted-1.6.3-iseries.patch
|
||||||
Patch6: parted-1.6.3-aix.patch
|
Patch151: parted-1.6.3-aix.patch
|
||||||
Patch7: parted-1.6.3-s390raidlvm.patch
|
|
||||||
Patch8: parted-1.6.3-gptver.patch
|
|
||||||
Patch9: parted-1.6.3-destroy-segfault.patch
|
|
||||||
Patch10: parted-1.6.3-26geom.patch
|
|
||||||
Buildroot: %{_tmppath}/%{name}-root
|
Buildroot: %{_tmppath}/%{name}-root
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
BuildRequires: e2fsprogs-devel libtermcap-devel readline-devel
|
BuildRequires: e2fsprogs-devel libtermcap-devel readline-devel
|
||||||
BuildRequires: python-devel ncurses-devel
|
BuildRequires: python-devel ncurses-devel
|
||||||
|
BuildRequires: automake14 autoconf
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The GNU Parted program allows you to create, destroy, resize, move,
|
The GNU Parted program allows you to create, destroy, resize, move,
|
||||||
and copy hard disk partitions. Parted can be used for creating space
|
and copy hard disk partitions. Parted can be used for creating space
|
||||||
@ -44,42 +43,37 @@ Parted library, you need to install this package.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1 -b .sigfpe
|
%patch0 -p1 -b .sigfpe
|
||||||
%patch1 -p1 -b .dasddbg
|
%patch1 -p1 -b .gptver
|
||||||
%patch2 -p1 -b .vtoc
|
%patch2 -p1 -b .26geom
|
||||||
%patch3 -p1 -b .s390update
|
%patch3 -p1 -b .partstatic
|
||||||
%patch4 -p1 -b .ldl
|
|
||||||
%patch5 -p1 -b .iseries
|
%patch100 -p1 -b .dasd
|
||||||
%patch6 -p1 -b .aix
|
%patch150 -p1 -b .iseries
|
||||||
%patch7 -p1 -b .s390raidlvm
|
%patch151 -p1 -b .aix
|
||||||
%patch8 -p1 -b .gptver
|
|
||||||
%patch9 -p1 -b .segfault
|
aclocal-1.4
|
||||||
%patch10 -p1 -b .26geom
|
automake-1.4 --add-missing
|
||||||
|
autoconf
|
||||||
|
autoheader
|
||||||
|
|
||||||
%build
|
%build
|
||||||
if [ -n "$LINGUAS" ]; then unset LINGUAS; fi
|
if [ -n "$LINGUAS" ]; then unset LINGUAS; fi
|
||||||
#export CFLAGS="-DDEBUG_DASD"
|
|
||||||
%configure --enable-shared --enable-part-static --enable-pc98=no --enable-Werror=no --disable-dynamic-loading
|
%configure --enable-shared --enable-part-static --enable-pc98=no --enable-Werror=no --disable-dynamic-loading
|
||||||
export tagname=CC
|
export tagname=CC
|
||||||
make LIBTOOL=/usr/bin/libtool
|
make LIBTOOL=/usr/bin/libtool %{?_smp_mflags}
|
||||||
|
|
||||||
|
# Because this is the best fix for 118183, given libtool's stupidity.
|
||||||
|
cd parted
|
||||||
|
mv parted parted_
|
||||||
|
make LIBTOOL=$RPM_SOURCE_DIR/fake-libtool.sh parted
|
||||||
|
mv parted_ parted
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
||||||
# don't relink the python module
|
|
||||||
sed 's/^relink_command=/#relink_command=/' python/partedmodule.la > python/partedmodule.la-
|
|
||||||
mv python/partedmodule.la- python/partedmodule.la
|
|
||||||
export tagname=CC
|
export tagname=CC
|
||||||
%makeinstall LIBTOOL=/usr/bin/libtool
|
%makeinstall LIBTOOL=/usr/bin/libtool MKINSTALLDIRS=`pwd`/mkinstalldirs
|
||||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm {} \;
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm {} \;
|
||||||
rm -f $RPM_BUILD_ROOT/usr/lib/python*/site-packages/*.a
|
|
||||||
rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
|
rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
|
||||||
# FIXME: hack for x86_64 until automake's python.m4 is fixed
|
|
||||||
if [ "%{_libdir}" != "/usr/lib" ]; then
|
|
||||||
for path in $RPM_BUILD_ROOT/usr/lib/python?.? ; do
|
|
||||||
dir=`basename $path`
|
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_libdir}/$dir
|
|
||||||
mv $RPM_BUILD_ROOT/usr/lib/$dir/* $RPM_BUILD_ROOT/%{_libdir}/$dir/
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
||||||
%find_lang %name
|
%find_lang %name
|
||||||
|
|
||||||
@ -92,13 +86,11 @@ fi
|
|||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO doc/COPYING.DOC doc/API doc/USER doc/FAT
|
%doc AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO doc/API doc/FAT
|
||||||
%{_sbindir}/*
|
%{_sbindir}/*
|
||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
%{_libdir}/*.so*
|
%{_libdir}/*.so*
|
||||||
%{_infodir}/parted.info*
|
%{_infodir}/parted.info*
|
||||||
%dir %{_libdir}/python?.?/site-packages
|
|
||||||
%{_libdir}/python?.?/site-packages/*.so
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -107,6 +99,24 @@ fi
|
|||||||
%{_libdir}/*.a*
|
%{_libdir}/*.a*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Mar 15 2004 Elliot Lee <sopwith@redhat.com> 1.6.6-2
|
||||||
|
- Fix parted's "part-static" option to close #118183. Woohoo, a fake-libtool.sh :)
|
||||||
|
|
||||||
|
* Fri Mar 12 2004 Jeremy Katz <katzj@redhat.com> - 1.6.6-1
|
||||||
|
- update to 1.6.6
|
||||||
|
- split dasd into a patch instead of included in the tarball
|
||||||
|
- python module is now in the pyparted package (separate src.rpm)
|
||||||
|
- ExcludeArch: ppc64 (#118183)
|
||||||
|
|
||||||
|
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
|
||||||
|
- rebuilt
|
||||||
|
|
||||||
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
||||||
|
- rebuilt
|
||||||
|
|
||||||
|
* Fri Feb 6 2004 Jeremy Katz <katzj@redhat.com>
|
||||||
|
- add automake buildrequires (#115063)
|
||||||
|
|
||||||
* Thu Jan 22 2004 Jeremy Katz <katzj@redhat.com> 1.6.3-33
|
* Thu Jan 22 2004 Jeremy Katz <katzj@redhat.com> 1.6.3-33
|
||||||
- 2.6 removes the geometry fixups that used to be present for IDE disks.
|
- 2.6 removes the geometry fixups that used to be present for IDE disks.
|
||||||
According to Andries, just follow what's in the partition table and don't
|
According to Andries, just follow what's in the partition table and don't
|
||||||
|
Loading…
Reference in New Issue
Block a user