Blame SPECS/pyparted.spec

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