Commit Graph

178 Commits

Author SHA1 Message Date
Fedora Release Engineering
197cf98baa - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 08:56:08 +00:00
Tom Stellard
c514058933 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-08 19:41:58 +00:00
David Cantrell
fd1528e088 Upgrade to pyparted-3.11.7 (BZ#1890443)
Set PY_SSIZE_T_CLEAN for the build (bcl)
add nvme support
Update RELEASE file to make last step be "make pypi" (dcantrell)

Signed-off-by: David Cantrell <david.l.cantrell@gmail.com>
2020-10-23 15:56:10 -04:00
Tom Stellard
6e7f603dca Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
2020-07-14 03:10:33 +00:00
Miro Hrončok
c37e0a86d4 Rebuilt for Python 3.9 2020-05-23 06:49:31 +02:00
David Cantrell
7d25590c0f Require at least libparted 3.3 and python 3.7 (dcantrell)
pedmodule.c: Fix partition enum flag handling (bcl)
Add support for chromeos_kernel and bls_boot partition flags (bcl)
Move exception declarations to _pedmodule.c (dcantrell)

Signed-off-by: David Cantrell <dcantrell@redhat.com>
2020-03-09 13:10:53 -04:00
David Cantrell
e54c3fce0a Use Decimal for Device.getSize() operations, return a
float (#1801355)
Update the 'twine upload' line in the Makefile
Don't intentionally prohibit Python 2 usage (#67)
mips64 support
2020-02-11 10:58:02 -05:00
Fedora Release Engineering
85315a929d - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 10:14:08 +00:00
David Cantrell
2f159223e6 Fix deprecation warning in parted/cachedlist.py (#1772060) 2019-11-15 09:09:03 -05:00
Miro Hrončok
914d8b9212 Drop the %{py3dir} pattern
%{py3dir} is outside of the expected build directory,
causing this error when only building for Python 3:

    Empty %files file /builddir/build/BUILD/pyparted-3.11.2/debugsourcefiles.list

That's because the mechanism that looks for sources checks all the compiled
files in the build directory and because they are all outside, it fails.
This hasn't happened with the python2 subpackage, because it found the
compiled python2 files.

Note that %{py3dir} was part of the Python guidelines early in the Python 3
adoption in Fedora, long before we've introduced the debugsource packages.

Instead, we create a directory called "py3dir" in the build directory.
There are other solutions possible, but this is the least intrusive in this case.
2019-10-20 22:24:31 +02:00
Miro Hrončok
32e3694413 Remove python2-pyparted from Fedora 32+
https://bugzilla.redhat.com/show_bug.cgi?id=1761222
2019-10-20 21:53:16 +02:00
Miro Hrončok
e15d28a3aa Rebuilt for Python 3.8.0rc1 (#1748018) 2019-10-03 13:59:49 +02:00
Miro Hrončok
d4bab4c0f3 Rebuilt for Python 3.8 2019-08-16 05:17:06 +02:00
Fedora Release Engineering
9e2b6c9c00 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 11:46:14 +00:00
David Cantrell
431cba9788 pyparted-3.11.2 (dcantrell)
Do not remove the generated tarballs. (dcantrell)
Update the RELEASE file. (dcantrell)
tests: Fix flag_get_name tests (bcl)
Avoid potential NULL dereferences in pydisk.c and pytimer.c
  (dcantrell)
New - example to query device capacity (jflorian)
correct spelling mistake (edward)
_ped's *_flag_get_name methods now throw a PartedException instead of
  ValueError on unsupported flags. (lukasz.zemczak)
Make the partition name a property on parted.Partition objects (#34)
  (dcantrell)
2019-02-01 13:55:01 -05:00
Igor Gnatenko
c85f2a3201 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:38 +01:00
David Cantrell
7ddeef7214 gating.yml -> gating.yaml 2019-01-23 16:04:23 -05:00
David Cantrell
450d75ce78 Modify the test run line in tests.yml
'run: run_tests.sh' -> run: ./run_tests.sh'
2018-12-19 10:34:21 -05:00
David Cantrell
f07ca87d45 tests.yaml -> tests.yml 2018-12-19 09:58:30 -05:00
David Cantrell
b859cadf3f Add Fedora CI gating tests for pyparted. 2018-12-19 09:55:01 -05:00
Florian Weimer
efb99947ae Rebuild with fixed binutils 2018-07-31 12:55:15 +02:00
Igor Gnatenko
79c57a44cb
Rebuild for new binutils
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-07-27 14:55:21 +02:00
David Cantrell
02dd5857d4 Do not disable python2 builds by default. There are still some packages
that have not been updated to python3 and require python2-pyparted.
2018-07-26 14:31:45 -04:00
David Cantrell
9d1cdadc55 Do not disable python2 builds by default. There are still some packages
that have not been updated to python3 and require python2-pyparted.
2018-07-26 13:29:11 -04:00
David Cantrell
a332a006d0 Conditionalize python2 and python3 builds to make the SRPM more portable
across releases.  On RHEL > 7 and Fedora > 28, do not build for python2.
  On RHEL <= 7, do not build for python3.
2018-07-25 15:21:54 -04:00
David Cantrell
fd1a7f123a Use 'python2' when building the Python 2.x bindings (#1605566)
BuildRequires gcc (#1605566)
%{python_sitearch} -> %{python2_sitearch} (#1605566)
2018-07-24 10:18:49 -04:00
David Cantrell
fa5d5e7648 Use 'python2' when building the Python 2.x bindings (#1605566)
BuildRequires gcc (#1605566)
2018-07-24 10:09:02 -04:00
David Cantrell
4bc49bbd4f Use 'python2' when building the Python 2.x bindings (#1605566) 2018-07-24 10:08:41 -04:00
Fedora Release Engineering
c184324114 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 23:11:56 +00:00
Jason Tibbitts
715574b2a5 Remove needless use of %defattr 2018-07-10 01:54:21 -05:00
Miro Hrončok
fcc63ed368 Rebuilt for Python 3.7 2018-06-15 23:21:50 +02:00
Adam Williamson
e63a0b6879 Add epoch to pyparted provides/obsoletes/requires
Without this, they don't work right, especially the obsolete -
upgrade doesn't work right as we don't properly obsolete it.
2018-04-02 16:21:13 -07:00
Igor Gnatenko
14eba19809
Remove %clean section
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 07:32:21 +01:00
Igor Gnatenko
321540f0d0 Remove BuildRoot definition
None of currently supported distributions need that.
It was needed last for EL5 which is EOL now

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 00:22:29 +01:00
Fedora Release Engineering
6a04fce2f7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 06:16:37 +00:00
Iryna Shcherbina
f02fbabd72 Update Python 2 dependency declarations to new packaging standards 2018-01-15 19:35:05 +01:00
Zbigniew Jędrzejewski-Szmek
6c17f4a6ce Add Provides for the old name without %_isa 2017-08-20 10:41:20 -04:00
Zbigniew Jędrzejewski-Szmek
c93c7d454d Python 2 binary package renamed to python2-pyparted 2017-08-19 09:39:21 -04:00
Fedora Release Engineering
c160e96b91 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 06:35:14 +00:00
Fedora Release Engineering
6547141dac - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 09:22:38 +00:00
David Cantrell
8edcbf8542 Require parted-3.2-18 in order to ensure #25 does not occur 2017-07-13 13:35:28 -04:00
David Cantrell
86d5ab3888 BuildRequires python[3]-six 2017-06-26 08:14:27 -04:00
David Cantrell
023abd7282 Upgrade to pyparted-3.11.0 2017-06-22 17:26:14 -04:00
Fedora Release Engineering
6741677a7a - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 08:08:37 +00:00
Charalampos Stratakis
e9a00b12d9 Fix previous changelog's entry 2016-12-13 15:22:59 +01:00
Charalampos Stratakis
e4a9118239 Rebuild for Python 3.6 2016-12-13 01:28:41 +01:00
Fedora Release Engineering
00ffc0c1a2 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages 2016-07-19 08:36:15 +00:00
Fedora Release Engineering
5e101acab7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 18:47:03 +00:00
Robert Kuska
8ef7f93e9d Rebuilt for Python3.5 rebuild 2015-10-15 10:01:23 +02:00
David Cantrell
01446019c7 test__ped_filesystem.py for for Python 2 vs 3. (dcantrell) 2015-08-27 16:01:54 -04:00