From 9a798e2b8909f2d7c2e58744da00072e9fcf256e Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Wed, 23 Mar 2011 07:32:07 -1000 Subject: [PATCH] Upgraded to pyparted-3.6 --- .gitignore | 2 +- pyparted-3.5-legacy-boot.patch | 22 ---------------------- pyparted.spec | 10 +++++----- sources | 2 +- 4 files changed, 7 insertions(+), 29 deletions(-) delete mode 100644 pyparted-3.5-legacy-boot.patch diff --git a/.gitignore b/.gitignore index fe305a1..1d0d299 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -pyparted-3.5.tar.gz +pyparted-3.6.tar.gz diff --git a/pyparted-3.5-legacy-boot.patch b/pyparted-3.5-legacy-boot.patch deleted file mode 100644 index 29bd7d7..0000000 --- a/pyparted-3.5-legacy-boot.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff -urN pyparted-3.5.orig/src/_pedmodule.c pyparted-3.5/src/_pedmodule.c ---- pyparted-3.5.orig/src/_pedmodule.c 2010-07-07 08:23:03.000000000 -1000 -+++ pyparted-3.5/src/_pedmodule.c 2011-03-17 05:09:11.033085295 -1000 -@@ -492,6 +492,7 @@ - PyModule_AddIntConstant(m, "PARTITION_APPLE_TV_RECOVERY", PED_PARTITION_APPLE_TV_RECOVERY); - PyModule_AddIntConstant(m, "PARTITION_BIOS_GRUB", PED_PARTITION_BIOS_GRUB); - PyModule_AddIntConstant(m, "PARTITION_DIAG", PED_PARTITION_DIAG); -+ PyModule_AddIntConstant(m, "PARTITION_LEGACY_BOOT", PED_PARTITION_LEGACY_BOOT); - - PyModule_AddIntConstant(m, "DISK_CYLINDER_ALIGNMENT", PED_DISK_CYLINDER_ALIGNMENT); - -diff -urN pyparted-3.5.orig/src/parted/__init__.py pyparted-3.5/src/parted/__init__.py ---- pyparted-3.5.orig/src/parted/__init__.py 2011-01-16 00:08:59.000000000 -1000 -+++ pyparted-3.5/src/parted/__init__.py 2011-03-17 05:09:39.417128307 -1000 -@@ -107,6 +107,7 @@ - from _ped import PARTITION_APPLE_TV_RECOVERY - from _ped import PARTITION_BIOS_GRUB - from _ped import PARTITION_DIAG -+from _ped import PARTITION_LEGACY_BOOT - - from _ped import DISK_CYLINDER_ALIGNMENT - diff --git a/pyparted.spec b/pyparted.spec index ad1d807..8889fe9 100644 --- a/pyparted.spec +++ b/pyparted.spec @@ -2,16 +2,14 @@ Summary: Python module for GNU parted Name: pyparted -Version: 3.5 -Release: 3%{?dist} +Version: 3.6 +Release: 1%{?dist} License: GPLv2+ Group: System Environment/Libraries URL: http://fedorahosted.org/pyparted Source0: http://fedorahosted.org/releases/p/y/%{name}/%{name}-%{version}.tar.gz -Patch0: pyparted-3.5-legacy-boot.patch - BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n) BuildRequires: python-devel BuildRequires: parted-devel >= 2.3 @@ -23,7 +21,6 @@ partition tables. %prep %setup -q -%patch0 -p1 %build %configure @@ -44,6 +41,9 @@ rm -rf %{buildroot} %{python_sitearch}/parted %changelog +* Wed Mar 23 2011 David Cantrell - 3.6-1 +- Upgraded to pyparted-3.6 + * Thu Mar 17 2011 David Cantrell - 3.5-3 - Add support for PED_PARTITION_LEGACY_BOOT partition flag now in libparted diff --git a/sources b/sources index 2782b7d..9a9f9b3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -aa3d68da99331a923bf8a7e21e6e6970 pyparted-3.5.tar.gz +5b6c99ea461f6437b9983dd7c295e57f pyparted-3.6.tar.gz