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