Commit Graph

198 Commits

Author SHA1 Message Date
Troy Dawson
8d8ddbee9c Bump release for June 2024 mass rebuild 2024-06-24 09:16:28 -07:00
Fedora Release Engineering
28afbe9415 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-26 00:38:54 +00:00
Fedora Release Engineering
b43cea136d Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 22:47:14 +00:00
Fedora Release Engineering
68b2466ffd Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 06:46:37 +00:00
Python Maint
560c551e0c Rebuilt for Python 3.12 2023-06-22 14:22:46 +02:00
David Cantrell
a4238a2a12 Upgrade to pyparted-3.13.0
Signed-off-by: David Cantrell <dcantrell@redhat.com>
2023-06-22 07:19:58 -04:00
Python Maint
5cc8e359da Rebuilt for Python 3.12 2023-06-15 15:07:14 +02:00
David Cantrell
305aca41de Use non-deprecated syntax for the %patch macros
Signed-off-by: David Cantrell <dcantrell@redhat.com>
2023-06-14 11:12:32 -04:00
Python Maint
1f78cfc5da Rebuilt for Python 3.12 2023-06-13 21:37:29 +02:00
David Cantrell
6d94398a54 Fix FTBFS with _ped.disktype test case for gpt (#2171656)
Update License tag to SPDX expression

Signed-off-by: David Cantrell <dcantrell@redhat.com>
2023-03-02 12:01:05 -05:00
Fedora Release Engineering
c779229780 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 10:42:21 +00:00
Fedora Release Engineering
b71463d9af Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 15:50:35 +00:00
David Cantrell
52a1c8bfaf Patch pyparted to handle PED_DISK_TYPE_PARTITION_TYPE_ID for the
msdos disk type and PED_DISK_TYPE_PARTITION_TYPE_UUID for the gpt
  label (#2098792)

Signed-off-by: David Cantrell <dcantrell@redhat.com>
2022-06-21 15:22:04 -04:00
Adam Williamson
d32b10b877 Backport PR #92 to fix tests with parted 3.5 (#2098792) 2022-06-20 13:24:26 -07:00
Python Maint
e8f5fc9089 Rebuilt for Python 3.11 2022-06-13 16:02:42 +02:00
David Cantrell
791a789e24 BR python3-setuptools
Signed-off-by: David Cantrell <dcantrell@redhat.com>
2022-03-07 14:45:25 -05:00
David Cantrell
775cb0e480 Upgrade to pyparted-3.12.0
Signed-off-by: David Cantrell <dcantrell@redhat.com>
2022-03-07 14:22:47 -05:00
Fedora Release Engineering
0ae7d75235 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 09:51:49 +00:00
Fedora Release Engineering
10bc59882e - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 04:29:12 +00:00
Python Maint
b244549e30 Rebuilt for Python 3.10 2021-06-03 13:33:21 +02:00
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