593ae0
%if 0%{?rhel}
593ae0
%if %{rhel} <= 7
593ae0
# disable python3 by default
593ae0
%bcond_with python3
593ae0
%else
593ae0
%bcond_without python3
593ae0
%endif
593ae0
593ae0
%if %{rhel} > 7
593ae0
# disable python2 by default
593ae0
%bcond_with python2
593ae0
%else
593ae0
%bcond_without python2
593ae0
%endif
593ae0
%endif
593ae0
593ae0
%if 0%{?fedora}
593ae0
%if %{fedora} < 23
593ae0
# disable python3 by default
593ae0
%bcond_with python3
593ae0
%else
593ae0
%bcond_without python3
593ae0
%endif
593ae0
593ae0
%if %{fedora} > 31
593ae0
# disable python2 by default
593ae0
%bcond_with python2
593ae0
%else
593ae0
%bcond_without python2
593ae0
%endif
593ae0
%endif
593ae0
593ae0
Summary: Python module for GNU parted
593ae0
Name:    pyparted
593ae0
Epoch:   1
1624f1
Version: 3.12.0
1624f1
Release: 1%{?dist}
593ae0
License: GPLv2+
593ae0
URL:     https://github.com/dcantrell/pyparted
593ae0
593ae0
Source0: https://github.com/dcantrell/pyparted/releases/download/v%{version}/%{name}-%{version}.tar.gz
593ae0
Source1: https://github.com/dcantrell/pyparted/releases/download/v%{version}/%{name}-%{version}.tar.gz.asc
593ae0
Source2: keyring.gpg
593ae0
Source3: trustdb.gpg
593ae0
1624f1
# Support new disk type features from parted 3.5:
1624f1
# https://bugzilla.redhat.com/show_bug.cgi?id=2098792
1624f1
# https://github.com/dcantrell/pyparted/issues/91
1624f1
Patch0:  pyparted-3.12.0-types.patch
1624f1
593ae0
BuildRequires: make
593ae0
BuildRequires: gcc
1624f1
BuildRequires: parted-devel >= 3.5
593ae0
BuildRequires: pkgconfig
593ae0
BuildRequires: e2fsprogs
593ae0
BuildRequires: gnupg2
593ae0
593ae0
%if %{with python3}
593ae0
BuildRequires: python3-devel
593ae0
BuildRequires: python3-six
1624f1
BuildRequires: python3-setuptools
593ae0
%endif
593ae0
593ae0
%if %{with python2}
593ae0
BuildRequires: python2-devel
593ae0
BuildRequires: python2-six
593ae0
%endif
593ae0
593ae0
%global _description\
593ae0
Python module for the parted library.  It is used for manipulating\
593ae0
partition tables.
593ae0
593ae0
%description %_description
593ae0
593ae0
%if %{with python2}
593ae0
%package -n python2-pyparted
593ae0
Summary: %summary
593ae0
%{?python_provide:%python_provide python2-pyparted}
593ae0
# Remove before F30
593ae0
Provides: pyparted = %{epoch}:%{version}-%{release}
593ae0
Provides: pyparted%{?_isa} = %{epoch}:%{version}-%{release}
593ae0
Obsoletes: pyparted < %{epoch}:%{version}-%{release}
593ae0
593ae0
%description -n python2-pyparted %_description
593ae0
%endif
593ae0
593ae0
%if %{with python3}
593ae0
%package -n python3-pyparted
593ae0
Summary: Python 3 module for GNU parted
593ae0
593ae0
%description -n python3-pyparted
593ae0
Python module for the parted library.  It is used for manipulating
593ae0
partition tables. This package provides Python 3 bindings for parted.
593ae0
%endif
593ae0
593ae0
%prep
593ae0
# Verify source archive signature
593ae0
gpg --no-default-keyring --keyring %{SOURCE2} --trustdb-name %{SOURCE3} --verify %{SOURCE1} %{SOURCE0} || exit 1
593ae0
593ae0
%setup -q
1624f1
%patch0 -p1
593ae0
593ae0
%if %{with python3}
593ae0
everything=$(ls)
593ae0
mkdir -p py3dir
593ae0
cp -a $everything py3dir
593ae0
%endif
593ae0
593ae0
%build
593ae0
%if %{with python2}
593ae0
PYTHON=python2 %make_build CFLAGS="%{optflags} -fcommon"
593ae0
%endif
593ae0
593ae0
%if %{with python3}
593ae0
pushd py3dir
593ae0
PYTHON=python3 %make_build CFLAGS="%{optflags} -fcommon"
593ae0
popd
593ae0
%endif
593ae0
593ae0
%check
593ae0
%if %{with python2}
593ae0
PYTHON=python2 make test
593ae0
%endif
593ae0
593ae0
%if %{with python3}
593ae0
pushd py3dir
593ae0
PYTHON=python3 make test
593ae0
popd
593ae0
%endif
593ae0
593ae0
%install
593ae0
%if %{with python2}
593ae0
PYTHON=python2 %make_install
593ae0
%endif
593ae0
593ae0
%if %{with python3}
593ae0
pushd py3dir
593ae0
PYTHON=python3 %make_install
593ae0
popd
593ae0
%endif
593ae0
593ae0
%if %{with python2}
593ae0
%files -n python2-pyparted
593ae0
%doc AUTHORS COPYING NEWS README TODO
593ae0
%{python2_sitearch}/_ped.so
593ae0
%{python2_sitearch}/parted
593ae0
%{python2_sitearch}/%{name}-%{version}-*.egg-info
593ae0
%endif
593ae0
593ae0
%if %{with python3}
593ae0
%files -n python3-pyparted
593ae0
%doc AUTHORS COPYING NEWS README TODO
593ae0
%{python3_sitearch}/_ped.*.so
593ae0
%{python3_sitearch}/parted
593ae0
%{python3_sitearch}/%{name}-%{version}-*.egg-info
593ae0
%endif
593ae0
593ae0
%changelog
1624f1
* Tue Jun 21 2022 David Cantrell <dcantrell@redhat.com> - 1:3.12.0-1
1624f1
- Patch pyparted to handle PED_DISK_TYPE_PARTITION_TYPE_ID for the
1624f1
  msdos disk type and PED_DISK_TYPE_PARTITION_TYPE_UUID for the gpt
1624f1
  label
1624f1
  Resolves: rhbz#2103243
1624f1
593ae0
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1:3.11.7-4
593ae0
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
593ae0
  Related: rhbz#1991688
593ae0
593ae0
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1:3.11.7-3
593ae0
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
593ae0
593ae0
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.11.7-2
593ae0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
593ae0
593ae0
* Fri Oct 23 2020 David Cantrell <dcantrell@redhat.com> - 1:3.11.7-1
593ae0
- Upgrade to pyparted-3.11.7 (BZ#1890443)
593ae0
- Set PY_SSIZE_T_CLEAN for the build (bcl)
593ae0
- add nvme support
593ae0
- Update RELEASE file to make last step be "make pypi" (dcantrell)
593ae0
593ae0
* Tue Jul 14 2020 Tom Stellard <tstellar@redhat.com> - 1:3.11.5-3
593ae0
- Use make macros
593ae0
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
593ae0
593ae0
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1:3.11.5-2
593ae0
- Rebuilt for Python 3.9
593ae0
593ae0
* Mon Mar 09 2020 David Cantrell <dcantrell@redhat.com> - 1:3.11.5-1
593ae0
- Require at least libparted 3.3 and python 3.7 (dcantrell)
593ae0
- pedmodule.c: Fix partition enum flag handling (bcl)
593ae0
- Add support for chromeos_kernel and bls_boot partition flags (bcl)
593ae0
- Move exception declarations to _pedmodule.c (dcantrell)
593ae0
593ae0
* Tue Feb 11 2020 David Cantrell <dcantrell@redhat.com> - 1:3.11.4-1
593ae0
- Use Decimal for Device.getSize() operations, return a
593ae0
  float (#1801355)
593ae0
- Update the 'twine upload' line in the Makefile
593ae0
- Don't intentionally prohibit Python 2 usage (#67)
593ae0
- mips64 support
593ae0
593ae0
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.11.3-2
593ae0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
593ae0
593ae0
* Fri Nov 15 2019 David Cantrell <dcantrell@redhat.com> - 1:3.11.3-1
593ae0
- Fix deprecation warning in parted/cachedlist.py (#1772060)
593ae0
593ae0
* Sun Oct 20 2019 Miro Hrončok <mhroncok@redhat.com> - 1:3.11.2-5
593ae0
- Remove python2-pyparted from Fedora 32+
593ae0
593ae0
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1:3.11.2-4
593ae0
- Rebuilt for Python 3.8.0rc1 (#1748018)
593ae0
593ae0
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 1:3.11.2-3
593ae0
- Rebuilt for Python 3.8
593ae0
593ae0
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.11.2-2
593ae0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
593ae0
593ae0
* Fri Feb 01 2019 David Cantrell <dcantrell@redhat.com> - 1:3.11.2-1
593ae0
- pyparted-3.11.2 (dcantrell)
593ae0
- Do not remove the generated tarballs. (dcantrell)
593ae0
- Update the RELEASE file. (dcantrell)
593ae0
- tests: Fix flag_get_name tests (bcl)
593ae0
- Avoid potential NULL dereferences in pydisk.c and pytimer.c
593ae0
  (dcantrell)
593ae0
- New - example to query device capacity (jflorian)
593ae0
- correct spelling mistake (edward)
593ae0
- _ped's *_flag_get_name methods now throw a PartedException instead of
593ae0
  ValueError on unsupported flags. (lukasz.zemczak)
593ae0
- Make the partition name a property on parted.Partition objects (#34)
593ae0
  (dcantrell)
593ae0
593ae0
* Tue Jul 31 2018 Florian Weimer <fweimer@redhat.com> - 1:3.11.0-17
593ae0
- Rebuild with fixed binutils
593ae0
593ae0
* Fri Jul 27 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:3.11.0-16
593ae0
- Rebuild for new binutils
593ae0
593ae0
* Thu Jul 26 2018 David Cantrell <dcantrell@redhat.com> - 1:3.11.0-15
593ae0
- Do not disable python2 builds by default.  There are still some packages
593ae0
  that have not been updated to python3 and require python2-pyparted.
593ae0
593ae0
* Wed Jul 25 2018 David Cantrell <dcantrell@redhat.com> - 1:3.11.0-14
593ae0
- Conditionalize python2 and python3 builds to make the SRPM more portable
593ae0
  across releases.  On RHEL > 7 and Fedora > 28, do not build for python2.
593ae0
  On RHEL <= 7, do not build for python3.
593ae0
593ae0
* Tue Jul 24 2018 David Cantrell <dcantrell@redhat.com> - 1:3.11.0-13
593ae0
- Use 'python2' when building the Python 2.x bindings (#1605566)
593ae0
- BuildRequires gcc (#1605566)
593ae0
- %%{python_sitearch} -> %%{python2_sitearch} (#1605566)
593ae0
593ae0
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.11.0-12
593ae0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
593ae0
593ae0
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 1:3.11.0-11
593ae0
- Rebuilt for Python 3.7
593ae0
593ae0
* Mon Apr 02 2018 Adam Williamson <awilliam@redhat.com> - 1:3.11.0-10
593ae0
- Make pyparted provides/obsoletes include the epoch
593ae0
593ae0
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.11.0-9
593ae0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
593ae0
593ae0
* Mon Jan 15 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1:3.11.0-8
593ae0
- Update Python 2 dependency declarations to new packaging standards
593ae0
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
593ae0
593ae0
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:3.11.0-7
593ae0
- Add Provides for the old name without %%_isa
593ae0
593ae0
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:3.11.0-6
593ae0
- Python 2 binary package renamed to python2-pyparted
593ae0
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
593ae0
593ae0
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.11.0-5
593ae0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
593ae0
593ae0
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.11.0-4
593ae0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
593ae0
593ae0
* Thu Jul 13 2017 David Cantrell <dcantrell@redhat.com> - 1:3.11.0-3
593ae0
- Require parted-3.2-18 in order to ensure #25 does not occur
593ae0
593ae0
* Mon Jun 26 2017 David Cantrell <dcantrell@redhat.com> - 1:3.11.0-2
593ae0
- BuildRequires python[3]-six
593ae0
593ae0
* Thu Jun 22 2017 David Cantrell <dcantrell@redhat.com> - 1:3.11.0-1
593ae0
- Upgrade to pyparted-3.11.0
593ae0
593ae0
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.10.7-6
593ae0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
593ae0
593ae0
* Tue Dec 13 2016 Stratakis Charalampos <cstratak@redhat.com> - 1:3.10.7-5
593ae0
- Rebuild for Python 3.6
593ae0
593ae0
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.10.7-4
593ae0
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
593ae0
593ae0
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.10.7-3
593ae0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
593ae0
593ae0
* Thu Oct 15 2015 Robert Kuska <rkuska@redhat.com> - 1:3.10.7-2
593ae0
- Rebuilt for Python3.5 rebuild
593ae0
593ae0
* Thu Aug 27 2015 David Cantrell <dcantrell@redhat.com> - 3.10.7-1
593ae0
- test__ped_filesystem.py for for Python 2 vs 3. (dcantrell)
593ae0
593ae0
* Thu Aug 27 2015 David Cantrell <dcantrell@redhat.com> - 3.10.6-1
593ae0
- Use sys.exit instead of os._exit with pocketlint. (clumens)
593ae0
- Use addCleanup instead of tearDown for removing temp-device. (clumens)
593ae0
- Add a new makefile target that does everything needed for jenkins.
593ae0
  (clumens)
593ae0
- Merge pull request #13 from atodorov/fix_imports (david.l.cantrell)
593ae0
- Merge pull request #14 from vpodzime/master (david.l.cantrell)
593ae0
- Do not support and use hashing on pyparted's objects (#1229186) (vpodzime)
593ae0
- Fix pylint errors (atodorov)
593ae0
- Merge pull request #12 from atodorov/remove_hardcoded_paths
593ae0
  (david.l.cantrell)
593ae0
- Merge pull request #8 from atodorov/tests_ped_filesystem (david.l.cantrell)
593ae0
- Merge pull request #10 from atodorov/tests_ped_partition (david.l.cantrell)
593ae0
- Merge pull request #6 from atodorov/add_coverage (david.l.cantrell)
593ae0
- Remove hard-coded paths. You should have all tools in PATH when working on
593ae0
  pyparted. (atodorov)
593ae0
- run the test suite under python-coverage and report the results (atodorov)
593ae0
- add test coverage for _ped.Partition (atodorov)
593ae0
- Merge pull request #9 from atodorov/tests_dont_skip_if_root
593ae0
  (david.l.cantrell)
593ae0
- Merge pull request #11 from atodorov/fix_api_docs (david.l.cantrell)
593ae0
- update pydoc descriptions based on actual behavior (atodorov)
593ae0
- don't skip DeviceGetNextTestCase if running as root (atodorov)
593ae0
- add test cases for _ped.FileSystem (atodorov)
593ae0
- Merge pull request #7 from atodorov/tests_readme (david.l.cantrell)
593ae0
- Remove old BUGS file. (david.l.cantrell)
593ae0
- add simple test documentation (atodorov)
593ae0
- Merge pull request #5 from vpodzime/master (david.l.cantrell)
593ae0
- Beware of Python 3's version of the map() built-in function (vpodzime)
593ae0
- Remove the MANIFEST file when doing 'make release' (dcantrell)
593ae0
- Remove fedorahosted steps from the RELEASE file. (dcantrell)
593ae0
- Update documentation and Makefile for github. (dcantrell)
593ae0
- Stop using type() to do comparisons. (clumens)
593ae0
- Merge pull request #4 from vpodzime/master-python3 (david.l.cantrell)
593ae0
- Don't blindly expect that everything is hashable (vpodzime)
593ae0
- Replace filter() call with list comprehension (vpodzime)
593ae0
- Fix an incorrect reference to "type". (clumens)
593ae0
- Merge pull request #3 from clumens/master (clumens)
593ae0
- Only run pylint against a python3 build of pyparted. (clumens)
593ae0
- Fix the fdisk example up to pass pylint. (clumens)
593ae0
- Catch exact exceptions in a couple places. (clumens)
593ae0
- Ignore some pylint warnings. (clumens)
593ae0
- Don't use string formatting in calls to log.whatever. (clumens)
593ae0
- Fix a couple unused variable warnings. (clumens)
593ae0
- Define things in the setUp methods, not in runTest. (clumens)
593ae0
- Don't redefine reserved or already used function names. (clumens)
593ae0
- Fix import errors turned up by pylint. (clumens)
593ae0
- Convert to using pocketlint to run pylint. (clumens)
593ae0
- Don't run "git clean -fdx" in the "make clean" target. (clumens)
593ae0
- Add extension whitelist for _ped to pylint call (bcl)
593ae0
- Merge pull request #2 from jflorian/master (david.l.cantrell)
593ae0
- New - example to create a single bootable partition (john_florian)
593ae0
- Remember to pass the arguments to the exception handler. (clumens)
593ae0
- Put new _ped constants and functions into the parted module. (clumens)
593ae0
- PyInt_FromLong doesn't exist in python3, so always use PyLong_FromLong.
593ae0
  (clumens)
593ae0
- Add new functions to extend exception handling. (clumens)
593ae0
- Add function for resetting partition's number. (vpodzime)
593ae0
- Fix localeC imports in a handful of src/parted/*.py files. (dcantrell)
593ae0
- Disable false positive E0611 errors on src/parted/__init__.py (dcantrell)
593ae0
- ped_unit_get_size() returns a long long, not just a long. (dcantrell)
593ae0
- Adjust test cases to deal with run-time support. (dcantrell)
593ae0
- Only import partition types that exist. (dcantrell)
593ae0
- Note x.y.z version number. (dcantrell)
593ae0
- Remove .travis.yml and tox.ini (dcantrell)
593ae0
- Skip 'aix' diskType in FreshDiskTestCase (dcantrell)
593ae0
- Handle running the test suite on armv7l hosts. (dcantrell)
593ae0
- Fix getPartitionByPath for disks that are just plain files. (dlehman)
593ae0
- ext2 may be smaller than the end of the device (#1095904) (bcl)
593ae0
- support ppc64le in pyparted (hamzy)
593ae0
- Fix up the PYTHONPATH for "make check" and "make test". (clumens)
593ae0
- Remove geom tests that don't fail (bcl)
593ae0
- Add btrfs and ext4 for filesystem type test (bcl)
593ae0
- Revert "Add support for hfs_esp flag" (bcl)
593ae0
- Teach pyparted that aarch64 support GPT partitions. (dcantrell)
593ae0
- And disable the length one, too. (clumens)
593ae0
- Disable one test case that fails on ppc64, for the moment. (clumens)
593ae0
- Update pylint options for the latest version of that program. (clumens)
593ae0
- Fix 'make bumpver' to handle multiple decimal points. (dcantrell)
593ae0
- Add support for hfs_esp flag (dcantrell)
593ae0
- Add support for esp flag (dcantrell)
593ae0
- Add support for irst flag (dcantrell)
593ae0
- Add support for msftdata flag (dcantrell)
593ae0
- Don't assume tools will be in the user's $PATH. (clumens)
593ae0
- Fix a lot of problems pylint caught. (clumens)
593ae0
- Move from pychecker to pylint. (clumens)
593ae0
- Have pychecker ignore some fale positives on missing class attrs. (clumens)
593ae0
- setattr doesn't return any value. (clumens)
593ae0
- Fix up pychecker errors reported by Jenkins. (dcantrell)
593ae0
- Subject: [PATCH] pyparted: export ped_disk_new functionality (rnsastry)
593ae0
- Correct boilerplate modifications. (dcantrell)
593ae0
- Tests also require the parted binary. (g2p.code)
593ae0
- Work around Travis's broken defaults. (g2p.code)
593ae0
593ae0
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.10.5-2
593ae0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
593ae0
593ae0
* Thu May 07 2015 David Cantrell <dcantrell@redhat.com> - 3.10.5-1
593ae0
- Upgrade to pyparted-3.10.5
593ae0
593ae0
* Tue May 05 2015 David Cantrell <dcantrell@redhat.com> - 3.10.4-1
593ae0
- Upgrade to pyparted-3.10.4
593ae0
593ae0
* Fri Jan 16 2015 David Cantrell <dcantrell@redhat.com> - 3.10.3-1
593ae0
- Upgrade to pyparted-3.10.3
593ae0
593ae0
* Wed Nov 26 2014 David Cantrell <dcantrell@redhat.com> - 3.10.2-1
593ae0
- Upgrade to pyparted-3.10.2
593ae0
593ae0
* Mon Nov 10 2014 David Cantrell <dcantrell@redhat.com> - 3.10.1-1
593ae0
- Upgrade to pyparted-3.10.1
593ae0
593ae0
* Wed Sep 24 2014 David Cantrell <dcantrell@redhat.com> - 3.10.0a-1
593ae0
- Upgrade to pyparted-3.10.0
593ae0
- Add python3 subpackage (#985308)
593ae0
593ae0
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.9.5-2
593ae0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
593ae0
593ae0
* Tue Jun 24 2014 David Cantrell <dcantrell@redhat.com> - 3.9.5-1
593ae0
- Upgrade to pyparted-3.9.5
593ae0
593ae0
* Tue Jun 24 2014 David Cantrell <dcantrell@redhat.com> - 3.9.4-2
593ae0
- Handle building on armv7l hosts
593ae0
593ae0
* Tue Jun 24 2014 David Cantrell <dcantrell@redhat.com> - 3.9.4-1
593ae0
- Support gpt and msdos disk labels on aarch64 (#1095904)
593ae0
593ae0
* Thu Jun 12 2014 David Cantrell <dcantrell@redhat.com> - 3.9.3-3
593ae0
- Fix GetLabelsTestCase for aarch64 (#1102854)
593ae0
593ae0
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.9.3-2
593ae0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
593ae0
593ae0
* Wed May 07 2014 Chris Lumens <clumens@redhat.com> 3.9.3-1
593ae0
- Upgrade to pyparted-3.9.3
593ae0
- Revert "Add support for hfs_esp flag" (bcl)
593ae0
- Add btrfs and ext4 for filesystem type test (bcl)
593ae0
- Remove geom tests that don't fail (bcl)
593ae0
593ae0
* Mon Sep 09 2013 David Cantrell <dcantrell@redhat.com> - 3.9.2-1
593ae0
- Upgrade to pyparted-3.9.2
593ae0
- Enable 'make check' in the spec file, patch for koji use
593ae0
- Add armv7l to the list of acceptable arches for gpt and msdos disklabels
593ae0
593ae0
* Mon Sep 09 2013 David Cantrell <dcantrell@redhat.com> - 3.9.1-1
593ae0
- Fix 'make bumpver' to handle multiple decimal points. (dcantrell)
593ae0
- Add support for hfs_esp flag (dcantrell)
593ae0
- Add support for esp flag (bcl)
593ae0
- Add support for irst flag (bcl)
593ae0
- Add support for msftdata flag (bcl)
593ae0
- Subject: [PATCH] pyparted: export ped_disk_new functionality (rnsastry)
593ae0
- Convert Constraint to __ped.Constraint in partition.getMaxGeometry()
593ae0
  (chris)
593ae0
- Do not traceback when calling setlocale (#875354). (clumens)
593ae0
- Enable 'make check' in the spec file, patch for koji use
593ae0
- Add armv7l to the list of acceptable arches for gpt and msdos disklabels
593ae0
593ae0
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.9-4
593ae0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
593ae0
593ae0
* Mon Jul 08 2013 David Cantrell <dcantrell@redhat.com> - 3.9-3
593ae0
- Revert to pyparted-3.9 plus critical patches due to issues with the 3.10
593ae0
  release which are actively being worked on.  The 3.10 release does not
593ae0
  work with the installer right now.
593ae0
593ae0
* Thu May 23 2013 David Cantrell <dcantrell@redhat.com> - 3.10-2
593ae0
- Fix build errors.
593ae0
593ae0
* Thu May 23 2013 David Cantrell <dcantrell@redhat.com> - 3.10-1
593ae0
- Upgrade to pyparted-3.10 (#886033)
593ae0
593ae0
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9-2
593ae0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
593ae0
593ae0
* Wed Dec 05 2012 David Cantrell <dcantrell@redhat.com> - 3.9-1
593ae0
- Upgrade to pyparted-3.9
593ae0
593ae0
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8-5
593ae0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
593ae0
593ae0
* Tue Mar 13 2012 Brian C. Lane <bcl@redhat.com> - 3.8-4
593ae0
- Rebuild against parted 3.1
593ae0
593ae0
* Thu Feb 02 2012 Brian C. Lane <bcl@redhat.com> - 3.8-3
593ae0
- Add patch for new parted PED_DISK_GPT_PMBR_BOOT flag
593ae0
593ae0
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8-2
593ae0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
593ae0
593ae0
* Wed Jun 29 2011 David Cantrell <dcantrell@redhat.com> - 3.8-1
593ae0
- Upgraded to pyparted-3.8
593ae0
593ae0
* Wed Jun 29 2011 David Cantrell <dcantrell@redhat.com> - 3.7-2
593ae0
- BR parted-devel >= 3.0
593ae0
- Adjust for distutils build method
593ae0
593ae0
* Wed Jun 29 2011 David Cantrell <dcantrell@redhat.com> - 3.7-1
593ae0
- Upgraded to pyparted-3.7 (compatibility with parted-3.0)
593ae0
593ae0
* Wed Mar 23 2011 David Cantrell <dcantrell@redhat.com> - 3.6-1
593ae0
- Upgraded to pyparted-3.6
593ae0
593ae0
* Thu Mar 17 2011 David Cantrell <dcantrell@redhat.com> - 3.5-3
593ae0
- Add support for PED_PARTITION_LEGACY_BOOT partition flag now in libparted
593ae0
593ae0
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5-2
593ae0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
593ae0
593ae0
* Mon Jan 17 2011 David Cantrell <dcantrell@redhat.com> - 3.5-1
593ae0
- Drop dependency on python-decorator module. (dcantrell)
593ae0
- Differentiate the "Could not commit" messages. (jgranado)
593ae0
- Import _ped.DiskLabelException into parted namespace (cjwatson)
593ae0
- Return PED_EXCEPTION_NO for yes/no interactive exceptions. (dcantrell)
593ae0
593ae0
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 3.4-3
593ae0
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
593ae0
593ae0
* Fri May 21 2010 David Cantrell <dcantrell@redhat.com> - 3.4-2
593ae0
- Spec file cleanups to comply with current packaging policies
593ae0
593ae0
* Thu Apr 29 2010 David Cantrell <dcantrell@redhat.com> - 3.4-1
593ae0
- Handle PED_EXCEPTION_WARNING with PED_EXCEPTION_YES_NO (#575749)
593ae0
  (dcantrell)
593ae0
593ae0
* Wed Apr 21 2010 Chris Lumens <clumens@redhat.com> - 3.3-1
593ae0
- Upgrade to pyparted-3.3 (#583628).
593ae0
593ae0
* Wed Mar 31 2010 David Cantrell <dcantrell@redhat.com> - 3.2-2
593ae0
- Rebuild for libparted soname change
593ae0
593ae0
* Thu Mar 25 2010 Chris Lumens <clumens@redhat.com> - 3.2-1
593ae0
- Upgrade to pyparted-3.2 (#571940).
593ae0
593ae0
* Mon Mar 01 2010 David Cantrell <dcantrell@redhat.com> - 3.1-1
593ae0
- Upgrade to pyparted-3.1 (#567576).
593ae0
593ae0
* Tue Jan 12 2010 David Cantrell <dcantrell@redhat.com> - 3.0-1
593ae0
- Upgrade to pyparted-3.0.
593ae0
593ae0
* Mon Jan 11 2010 Hans de Goede <hdegoede@redhat.com> - 2.5-4
593ae0
- Rebuild for new parted-2.1
593ae0
- Remove py_disk_clobber_exclude function binding, as this function was
593ae0
  removed from parted-2.1
593ae0
593ae0
* Thu Jan  7 2010 Hans de Goede <hdegoede@redhat.com> - 2.5-3
593ae0
- Change python_sitearch macro to use %%global as the new rpm will break
593ae0
  using %%define here, see:
593ae0
  https://www.redhat.com/archives/fedora-devel-list/2010-January/msg00093.html
593ae0
593ae0
* Sat Dec 19 2009 David Cantrell <dcantrell@redhat.com> - 2.5-2
593ae0
- Exclude pyparted-2.4.tar.gz from source RPM (oops)
593ae0
593ae0
* Sat Dec 19 2009 David Cantrell <dcantrell@redhat.com> - 2.5-1
593ae0
- Update release instructions. (dcantrell)
593ae0
- Remove old cylinder alignment test cases for _ped. (dcantrell)
593ae0
- Add tests for max partition length / start sector (hdegoede)
593ae0
- Add _pedmodule and parted functions for max partition length / start
593ae0
  sector (hdegoede)
593ae0
- Remove align_to_cylinders function bindings (hdegoede)
593ae0
- Add tests for disk flag methods (hdegoede)
593ae0
- Add _pedmodule and parted functions for per disk flags (hdegoede)
593ae0
- Every tuple member requires a comma after it. (dcantrell)
593ae0
- Fill out a lot of simple _ped.Disk test cases. (dcantrell)
593ae0
- Disable DeviceDestroyTestCase for now. (dcantrell)
593ae0
- Add RequiresLabeledDevice to tests/_ped/baseclass.py. (dcantrell)
593ae0
- Attempt at fixing _ped.Device.destroy(), no dice. (dcantrell)
593ae0
- Fix UnitFormatCustomTestCase and UnitFormatTestCase. (dcantrell)
593ae0
- Fix UnitFormatCustomByteTestCase and UnitFormatByteTestCase. (dcantrell)
593ae0
- Add DeviceStrTestCase, disable DeviceDestroyTestCase. (dcantrell)
593ae0
- Add DeviceDestroyTestCase and DeviceCacheRemoveTestCase. (dcantrell)
593ae0
- Implemented ConstraintIsSolutionTestCase(). (dcantrell)
593ae0
- Implement ConstraintSolveMaxTestCase(). (dcantrell)
593ae0
- Implement ConstraintSolveNearestTestCase(). (dcantrell)
593ae0
- Correct py_ped_file_system_probe_specific() for NULL returns. (dcantrell)
593ae0
- Implement FileSystemProbeSpecificTestCase(). (dcantrell)
593ae0
- Implement FileSystemProbeTestCase(). (dcantrell)
593ae0
- Add RequiresFileSystem to tests/_ped/baseclass.py. (dcantrell)
593ae0
- Add disk alignment test cases in test_ped.py. (dcantrell)
593ae0
- Fix CHSGeometryStrTestCase(). (dcantrell)
593ae0
- Fix ConstraintDuplicateTestCase...finally. (dcantrell)
593ae0
- Put a deprecation warning in py_ped_constraint_duplicate(). (dcantrell)
593ae0
- Note that we need parted from Fedora for pyparted. (dcantrell)
593ae0
- Fix UnitGetSizeTestCase in _ped test cases for _ped.UNIT_PERCENT.
593ae0
  (dcantrell)
593ae0
- Add testcase for new _ped disk get_partition_alignment method (hdegoede)
593ae0
593ae0
* Fri Nov 06 2009 David Cantrell <dcantrell@redhat.com> - 2.4-1
593ae0
- Upgrade to pyparted-2.4:
593ae0
      Use PedDevice length instead of DIY (#532023) (hdegoede)
593ae0
      Use sectorSize not physicalSectorSize for size calculations (hdegoede)
593ae0
593ae0
* Tue Nov 03 2009 David Cantrell <dcantrell@redhat.com> - 2.3-1
593ae0
- Upgrade to pyparted-2.3:
593ae0
      Remove root user requirement in _ped
593ae0
      Add testcases for new _ped device methods
593ae0
      Add python wrapper for new PedDisk partition alignment info function
593ae0
      Add support for new PedDisk parition alignment info function
593ae0
      Add python wrappers for new PedDevice alignment info functions
593ae0
      Add support for new PedDevice alignment info functions
593ae0
      Fix a whole pile of test cases.
593ae0
      Remove ped_disk_commit_to_dev() call from py_ped_disk_new_fresh()
593ae0
      Fix error in Constraint __str__ method
593ae0
      Make _ped_Device2PedDevice properly set / throw exceptions
593ae0
      Fixup various errorhandling issues in pydisk.c
593ae0
      Add missing _ped_Device2PedDevice() retval checks
593ae0
      Use libparted commit() for parted.disk.Disk.commit() (hdegoede).
593ae0
- BR parted-devel >= 1.9.0-20
593ae0
593ae0
* Fri Oct 02 2009 David Cantrell <dcantrell@redhat.com> - 2.2-1
593ae0
- Upgrade to pyparted-2.2:
593ae0
      Fixes PedDisk2_ped_Disk() and avoids losing disk label data
593ae0
      in the conversion process (#526999)
593ae0
593ae0
* Mon Aug 17 2009 Chris Lumens <clumens@redhat.com> - 2.1.2-1
593ae0
- Upgrade to pyparted-2.1.2:
593ae0
      PED_DEVICE_DM is always defined in libparted these days.
593ae0
      Handle parted exceptions arising from ped_device_get (#495433).
593ae0
593ae0
* Tue Aug 04 2009 David Cantrell <dcantrell@redhat.com> - 2.1.1-1
593ae0
- Upgrade to pyparted-2.1.1
593ae0
593ae0
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-2
593ae0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
593ae0
593ae0
* Thu Jul 16 2009 David Cantrell <dcantrell@redhat.com> - 2.1.0-1
593ae0
- Upgrade to pyparted-2.1.0, requires parted-1.9.0-1 or higher
593ae0
593ae0
* Fri Jul 10 2009 David Cantrell <dcantrell@redhat.com> - 2.0.12-2
593ae0
- Rebuild for new parted
593ae0
593ae0
* Tue Apr 14 2009 David Cantrell <dcantrell@redhat.com> - 2.0.12-1
593ae0
- Upgrade to pyparted-2.0.12
593ae0
593ae0
* Mon Apr 13 2009 David Cantrell <dcantrell@redhat.com> - 2.0.11-1
593ae0
- Upgrade to pyparted-2.0.11
593ae0
593ae0
* Fri Apr 03 2009 David Cantrell <dcantrell@redhat.com> - 2.0.10-1
593ae0
- Upgrade to pyparted-2.0.10
593ae0
      Fix LVM problems around parted.Disk.commit() (#491746)
593ae0
593ae0
* Mon Mar 23 2009 David Cantrell <dcantrell@redhat.com> - 2.0.9-1
593ae0
- Upgrade to pyparted-2.0.9
593ae0
593ae0
* Fri Mar 20 2009 David Cantrell <dcantrell@redhat.com> - 2.0.8-1
593ae0
- Upgrade to pyparted-2.0.8
593ae0
593ae0
* Thu Mar 19 2009 David Cantrell <dcantrell@redhat.com> - 2.0.7-1
593ae0
- Upgrade to pyparted-2.0.7
593ae0
593ae0
* Thu Mar 12 2009 David Cantrell <dcantrell@redhat.com> - 2.0.6-1
593ae0
- Upgrade to pyparted-2.0.6
593ae0
593ae0
* Thu Mar 05 2009 David Cantrell <dcantrell@redhat.com> - 2.0.5-1
593ae0
- Upgrade to pyparted-2.0.5
593ae0
593ae0
* Sat Feb 28 2009 David Cantrell <dcantrell@redhat.com> - 2.0.4-1
593ae0
- Upgrade to pyparted-2.0.4
593ae0
593ae0
* Fri Feb 27 2009 David Cantrell <dcantrell@redhat.com> - 2.0.3-1
593ae0
- Upgrade to pyparted-2.0.3
593ae0
593ae0
* Wed Feb 25 2009 David Cantrell <dcantrell@redhat.com> - 2.0.2-1
593ae0
- Upgrade to pyparted-2.0.2
593ae0
593ae0
* Mon Feb 16 2009 David Cantrell <dcantrell@redhat.com> - 2.0.1-1
593ae0
- Upgrade to pyparted-2.0.1 (#485632)
593ae0
593ae0
* Thu Feb 12 2009 David Cantrell <dcantrell@redhat.com> - 2.0.0-1
593ae0
- Upgrade to pyparted-2.0.0
593ae0
593ae0
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.8.9-6
593ae0
- Rebuild for Python 2.6
593ae0
593ae0
* Fri Feb 08 2008 David Cantrell <dcantrell@redhat.com> - 1.8.9-5
593ae0
- Rebuild for gcc-4.3
593ae0
593ae0
* Wed Jan 02 2008 David Cantrell <dcantrell@redhat.com> - 1.8.9-4
593ae0
- Rebuild
593ae0
593ae0
* Mon Nov 19 2007 Jeremy Katz <katzj@redhat.com> - 1.8.9-3
593ae0
- Add support for exact constraints
593ae0
593ae0
* Tue Aug 21 2007 David Cantrell <dcantrell@redhat.com> - 1.8.9-2
593ae0
- Rebuild
593ae0
593ae0
* Fri Aug 10 2007 David Cantrell <dcantrell@redhat.com> - 1.8.9-1
593ae0
- Update license tag to indicate GPL v2 or later
593ae0
- Update URLs to point to new upstream location
593ae0
593ae0
* Fri Jun 15 2007 David Cantrell <dcantrell@redhat.com> - 1.8.8-1
593ae0
- Clean up wording in package description (#226337)
593ae0
- BR pkgconfig (#226337)
593ae0
593ae0
* Fri Jun 15 2007 David Cantrell <dcantrell@redhat.com> - 1.8.7-1
593ae0
- Merge review (#226337)
593ae0
593ae0
* Mon Apr 23 2007 David Cantrell <dcantrell@redhat.com> - 1.8.6-2
593ae0
- Ensure build env CFLAGS are included (#226337)
593ae0
593ae0
* Thu Apr 19 2007 David Cantrell <dcantrell@redhat.com> - 1.8.6-1
593ae0
- Merge review (#226337)
593ae0
593ae0
* Tue Mar 20 2007 David Cantrell <dcantrell@redhat.com> - 1.8.5-4
593ae0
- Rebuild for GNU parted-1.8.6
593ae0
593ae0
* Tue Mar 20 2007 David Cantrell <dcantrell@redhat.com> - 1.8.5-3
593ae0
- Rebuild for GNU parted-1.8.5
593ae0
593ae0
* Mon Mar 19 2007 David Cantrell <dcantrell@redhat.com> - 1.8.5-2
593ae0
- Rebuild for GNU parted-1.8.4
593ae0
593ae0
* Thu Feb 08 2007 David Cantrell <dcantrell@redhat.com> - 1.8.5-1
593ae0
- Define and use python_sitearch rather than python_sitelib
593ae0
593ae0
* Thu Feb 08 2007 David Cantrell <dcantrell@redhat.com> - 1.8.4-1
593ae0
- Use preferred BuildRoot (package review)
593ae0
- Define and use python_sitelib macro (package review)
593ae0
593ae0
* Fri Jan 12 2007 David Cantrell <dcantrell@redhat.com> - 1.8.3-1
593ae0
- Required parted-1.8.2 or higher
593ae0
593ae0
* Wed Jan 10 2007 Jeremy Katz <katzj@redhat.com> - 1.8.2-1
593ae0
- use PyObject_DEL instead of PyMem_DEL
593ae0
593ae0
* Thu Dec  7 2006 Jeremy Katz <katzj@redhat.com> - 1.8.1-3
593ae0
- rebuild for python 2.5
593ae0
593ae0
* Tue Dec 05 2006 David Cantrell <dcantrell@redhat.com> - 1.8.1-2
593ae0
- Rebuild for GNU parted-1.8.1
593ae0
593ae0
* Thu Nov 30 2006 David Cantrell <dcantrell@redhat.com> - 1.8.1-1
593ae0
- Determine Python version to use in %%build so the source RPM is more
593ae0
  easily moved between distribution releases.
593ae0
593ae0
* Fri Nov 17 2006 David Cantrell <dcantrell@redhat.com> - 1.8.0-1
593ae0
- Bump version to 1.8.0 and require parted >= 1.8.0
593ae0
- Remove python-abi Requires line since rpm handles that automatically
593ae0
593ae0
* Wed Aug 30 2006 David Cantrell <dcantrell@redhat.com> - 1.7.3-1
593ae0
- Include parted/constraint.h in required header files
593ae0
593ae0
* Wed Aug 30 2006 David Cantrell <dcantrell@redhat.com> - 1.7.2-2
593ae0
- Require parted-1.7.1 or higher
593ae0
593ae0
* Tue Jul 25 2006 David Cantrell <dcantrell@redhat.com> - 1.7.2-1
593ae0
- Add HPSERVICE, PALO, PREP, and MSFT_RESERVED to partition types list
593ae0
593ae0
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.7.1-1.1
593ae0
- rebuild
593ae0
593ae0
* Sun May 28 2006 David Cantrell <dcantrell@redhat.com> - 1.7.1-1
593ae0
- Bump version to 1.7.1 and require parted >= 1.7.1
593ae0
593ae0
* Fri May 19 2006 David Cantrell <dcantrell@redhat.com> - 1.7.0-1
593ae0
- Bump version to 1.7.0 and require parted >= 1.7.0
593ae0
593ae0
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
593ae0
- rebuilt
593ae0
593ae0
* Fri Nov 11 2005 Peter Jones <pjones@redhat.com> - 1.6.10-1
593ae0
- rebuild for new parted.
593ae0
- add debugging options for make so debuginfo isn't useless
593ae0
593ae0
* Wed Nov  9 2005 Jeremy Katz <katzj@redhat.com> - 1.6.9-5
593ae0
- rebuild for new parted
593ae0
593ae0
* Wed Aug 31 2005 Chris Lumens <clumens@redhat.com> 1.6.9-4
593ae0
- Rebuilt for new parted library.
593ae0
593ae0
* Wed Mar 16 2005 Chris Lumens <clumens@redhat.com> 1.6.9-3
593ae0
- Updated for gcc4 and python2.4.  Fixed build warnings.
593ae0
593ae0
* Tue Dec 14 2004 Jeremy Katz <katzj@redhat.com> - 1.6.9-2
593ae0
- add support for sx8 devices
593ae0
593ae0
* Mon Nov  8 2004 Jeremy Katz <katzj@redhat.com> - 1.6.8-3
593ae0
- rebuild for python 2.4
593ae0
593ae0
* Mon Oct 11 2004 Warren Togami <wtogami@redhat.com> - 1.6.8-2
593ae0
- #135100 req python-abi (Robert Scheck)
593ae0
593ae0
* Tue Aug 17 2004 Jeremy Katz <katzj@redhat.com> - 1.6.8-1
593ae0
- update for new parted ABI
593ae0
  - device -> heads, sectors, cylinders now refer to the bios geometry
593ae0
- require parted >= 1.6.12
593ae0
593ae0
* Thu Jul 22 2004 Jeremy Katz <katzj@redhat.com> - 1.6.7-3
593ae0
- build on ppc64 again
593ae0
593ae0
* Thu May 13 2004 Jeremy Katz <katzj@redhat.com> - 1.6.7-1
593ae0
- fix build for newer versions of gcc (fix from Jeff Law)
593ae0
593ae0
* Tue Mar 16 2004 Jeremy Katz <katzj@redhat.com> 1.6.6-2
593ae0
- fix PARTITION_PROTECTED definition (#118451)
593ae0
593ae0
* Fri Mar 12 2004 Jeremy Katz <katzj@redhat.com>
593ae0
- Initial build split out into separate source from the parted package.
593ae0
- Don't build on ppc64 right now due to parted build problems (#118183)