Upgraded to pyparted-3.6

This commit is contained in:
David Cantrell 2011-03-23 07:32:07 -10:00
parent 2b8b5f7b78
commit 9a798e2b89
4 changed files with 7 additions and 29 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
pyparted-3.5.tar.gz
pyparted-3.6.tar.gz

View File

@ -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

View File

@ -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 <dcantrell@redhat.com> - 3.6-1
- Upgraded to pyparted-3.6
* Thu Mar 17 2011 David Cantrell <dcantrell@redhat.com> - 3.5-3
- Add support for PED_PARTITION_LEGACY_BOOT partition flag now in libparted

View File

@ -1 +1 @@
aa3d68da99331a923bf8a7e21e6e6970 pyparted-3.5.tar.gz
5b6c99ea461f6437b9983dd7c295e57f pyparted-3.6.tar.gz