Blame SPECS/pyparted.spec

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