14
0
forked from pool/python-parted

- update to 3.11.7:

* Do not remove the generated tarballs. 
  * Update the RELEASE file. 
  * tests: Fix flag_get_name tests 
  * Avoid potential NULL dereferences in pydisk.c and pytimer.c 
  * New - example to query device capacity 
  * correct spelling mistake 
  * Make the partition name a property on parted.Partition objects 
  * 'from collections' -> 'from collections.abc' 
  * Add some more examples
  * Small correction to the PED_EXCEPTION_FIX handling. 
  * Restore returning None for get_name
  * Handle PED_EXCEPTION_FIX 
  * check for undefined flags
  * added support for newer pyparted versions
  * Support pypi.python.org for releases 
  * Forgot the "/" in the path name 
  * Remove assumption that temp devices get created in /tmp 
  * Adjust test case numbers for GeometryWriteTestCase again
  * Revert "Use copy.deepcopy() rather than .duplicate()"
  * Remove another unnecessary os.close() from baseclass.py
  * Remove rogue close() call in baseclass.py
  * Ignore the 'const' and just use these values as 'char *'
  * Use copy.deepcopy
  * More file descriptor close statements.
  * Fixes for the RequiresDeviceNode class
  * Use a smaller length for GeometryWriteTestCase
  * Close the RequiresDeviceNode file descriptor before removal.
  * Fix writing NULL sectors using a Geometry object
  * Use Decimal

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parted?expand=0&rev=12
This commit is contained in:
2022-01-11 10:12:51 +00:00
committed by Git OBS Bridge
parent f153efbba2
commit fbb22f7e25
7 changed files with 75 additions and 79 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-parted
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,18 +19,15 @@
%define srcname pyparted
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-parted
Version: 3.11.1
Version: 3.11.7
Release: 0
Summary: Python module for GNU parted
License: GPL-2.0-or-later
Group: Development/Languages/Python
URL: https://github.com/dcantrell/pyparted/
Source0: https://github.com/dcantrell/pyparted/archive/v3.11.1.tar.gz#/%{srcname}-%{version}.tar.gz
Source0: https://github.com/dcantrell/pyparted/archive/v%{version}.tar.gz#/%{srcname}-%{version}.tar.gz
# catch exception for unknown 'disk flag', kkaempf@suse.de
Patch0: pyparted-3.10.patch
# do not check for PED_PARTITION)_LAST_FLAG as it is not part of ABI
Patch1: no-last-flag-check.patch
Patch2: python-parted-unittests.patch
Patch3: python-parted-parted-binary.patch
Patch4: python-parted-featurestest.patch
BuildRequires: %{python_module devel}
@@ -54,8 +51,6 @@ partition tables.
%autopatch -p1
%build
export CFLAGS="%{optflags} -fcommon"
export CXXFLAGS="%{optflags} -fcommon"
%python_build
%install