diff --git a/parted-1.8.6-label-types.patch b/parted-1.8.6-label-types.patch new file mode 100644 index 0000000..52e4e2d --- /dev/null +++ b/parted-1.8.6-label-types.patch @@ -0,0 +1,14 @@ +diff -up parted-1.8.6/doc/C/parted.8.label-types parted-1.8.6/doc/C/parted.8 +--- parted-1.8.6/doc/C/parted.8.label-types 2007-12-13 17:13:24.000000000 -1000 ++++ parted-1.8.6/doc/C/parted.8 2007-12-13 17:14:41.000000000 -1000 +@@ -104,8 +104,8 @@ a LVM logical volume if that is necessar + .TP + .B set \fIpartition\fP \fIflag\fP \fIstate\fP + change the state of the \fIflag\fP on \fIpartition\fP to \fIstate\fP. Flags +-supported are: "boot", "root", "swap", "hidden", "raid", "lvm", "lba" and +-"palo". ++supported are: "boot"(Mac, MS-DOS, PC98), "root"(Mac), "swap"(Mac), "hidden"(MS-DOS, PC98), "raid"(MS-DOS), "lvm"(MS-DOS), "lba"(MS-DOS) and ++"palo"(MS-DOS). + \fIstate\fP should be either "on" or "off" + .RE + .SH KNOWN ISSUES diff --git a/parted.spec b/parted.spec index 0e5f1c9..69d3938 100644 --- a/parted.spec +++ b/parted.spec @@ -4,25 +4,31 @@ Summary: The GNU disk partition manipulation program Name: parted Version: 1.8.6 -Release: 12%{?dist} +Release: 13%{?dist} License: GPLv2+ Group: Applications/System URL: http://www.gnu.org/software/parted Source: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2 -Patch0: %{name}-1.8.6-warnings.patch -Patch1: %{name}-1.8.6-notransname.patch -Patch2: %{name}-1.8.6-off-by-one.patch -Patch3: %{name}-1.8.6-primary-boundary.patch -Patch4: %{name}-1.8.6-xvd.patch -Patch5: %{name}-1.8.6-devmapper-header.patch -Patch6: %{name}-1.8.6-noinst-headers.patch -Patch7: %{name}-1.8.6-manpage.patch +Patch0: %{name}-1.8.6-warnings.patch +Patch1: %{name}-1.8.6-notransname.patch +Patch2: %{name}-1.8.6-off-by-one.patch +Patch3: %{name}-1.8.6-primary-boundary.patch +Patch4: %{name}-1.8.6-xvd.patch +Patch5: %{name}-1.8.6-devmapper-header.patch +Patch6: %{name}-1.8.6-noinst-headers.patch +Patch7: %{name}-1.8.6-manpage.patch +Patch8: %{name}-1.8.6-label-types.patch Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: e2fsprogs-devel readline-devel ncurses-devel -BuildRequires: libtool gettext-devel texinfo -BuildRequires: device-mapper-devel libselinux-devel +BuildRequires: e2fsprogs-devel +BuildRequires: readline-devel +BuildRequires: ncurses-devel +BuildRequires: libtool +BuildRequires: gettext-devel +BuildRequires: texinfo +BuildRequires: device-mapper-devel +BuildRequires: libselinux-devel Requires(post): /sbin/ldconfig Requires(post): /sbin/install-info @@ -38,7 +44,9 @@ to new hard disks. %package devel Summary: Files for developing apps which will manipulate disk partitions Group: Development/Libraries -Requires: %{name} = %{version}-%{release} pkgconfig +Requires: %{name} = %{version}-%{release} +Requires: pkgconfig + %description devel The GNU Parted library is a set of routines for hard disk partition manipulation. If you want to develop programs that manipulate disk @@ -55,6 +63,7 @@ Parted library, you need to install this package. %patch5 -p1 -b .devmapper %patch6 -p1 -b .noinst %patch7 -p1 -b .manpage +%patch8 -p1 -b .label-types %build %configure --enable-device-mapper --enable-selinux --disable-static @@ -100,6 +109,10 @@ fi %{_libdir}/pkgconfig/libparted.pc %changelog +* Thu Dec 13 2007 David Cantrell - 1.8.6-13 +- Modify parted man page to indicate which flags are valid for which + disk labels (#242711) + * Mon Nov 05 2007 David Cantrell - 1.8.6-12 - Add KNOWN ISSUES section to parted(8) man page explaining that we cannot currently do ext3 resizing inside parted (#367101)