Upgraded to pyparted-3.6
This commit is contained in:
parent
2b8b5f7b78
commit
9a798e2b89
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
pyparted-3.5.tar.gz
|
pyparted-3.6.tar.gz
|
||||||
|
@ -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
|
|
||||||
|
|
@ -2,16 +2,14 @@
|
|||||||
|
|
||||||
Summary: Python module for GNU parted
|
Summary: Python module for GNU parted
|
||||||
Name: pyparted
|
Name: pyparted
|
||||||
Version: 3.5
|
Version: 3.6
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://fedorahosted.org/pyparted
|
URL: http://fedorahosted.org/pyparted
|
||||||
|
|
||||||
Source0: http://fedorahosted.org/releases/p/y/%{name}/%{name}-%{version}.tar.gz
|
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)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: parted-devel >= 2.3
|
BuildRequires: parted-devel >= 2.3
|
||||||
@ -23,7 +21,6 @@ partition tables.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
@ -44,6 +41,9 @@ rm -rf %{buildroot}
|
|||||||
%{python_sitearch}/parted
|
%{python_sitearch}/parted
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Mar 17 2011 David Cantrell <dcantrell@redhat.com> - 3.5-3
|
||||||
- Add support for PED_PARTITION_LEGACY_BOOT partition flag now in libparted
|
- Add support for PED_PARTITION_LEGACY_BOOT partition flag now in libparted
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user