diff --git a/.cvsignore b/.cvsignore index 409efbb..7e00738 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -parted-1.8.5.tar.bz2 +parted-1.8.6.tar.bz2 diff --git a/parted-1.8.6-warnings.patch b/parted-1.8.6-warnings.patch new file mode 100644 index 0000000..c8b2e7d --- /dev/null +++ b/parted-1.8.6-warnings.patch @@ -0,0 +1,11 @@ +--- parted-1.8.6/libparted/fs/linux_swap/linux_swap.c.warnings 2007-03-20 13:22:36.000000000 -0400 ++++ parted-1.8.6/libparted/fs/linux_swap/linux_swap.c 2007-03-20 13:59:11.000000000 -0400 +@@ -123,7 +123,7 @@ + + error_close_fs: + swap_close (fs); +-error: ++ + return 0; + } + #endif /* !DISCOVER_ONLY */ diff --git a/parted.spec b/parted.spec index faf2053..55e03d8 100644 --- a/parted.spec +++ b/parted.spec @@ -7,6 +7,8 @@ Version: 1.8.6 Release: 1%{?dist} Source: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2 +Patch0: %{name}-%{version}-warnings.patch + Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) License: GPL Group: Applications/System @@ -34,6 +36,7 @@ Parted library, you need to install this package. %prep %setup -q +%patch0 -p1 -b .warnings %build %configure --enable-device-mapper --enable-selinux diff --git a/sources b/sources index ace2f39..16830c6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -80be0f616a35221393ebfedfa8c4b582 parted-1.8.5.tar.bz2 +03c967ae0e915e08da90605d68ba93d7 parted-1.8.6.tar.bz2