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
This commit is contained in:
David Cantrell 2020-02-11 10:58:02 -05:00
parent 85315a929d
commit e54c3fce0a
5 changed files with 23 additions and 6 deletions

2
.gitignore vendored
View File

@ -4,3 +4,5 @@
/pyparted-3.11.2.tar.gz
/pyparted-3.11.2.tar.gz.asc
/pyparted-3.11.3.tar.gz
/pyparted-3.11.4.tar.gz
/pyparted-3.11.4.tar.gz.asc

BIN
keyring.gpg Normal file

Binary file not shown.

View File

@ -33,17 +33,21 @@
Summary: Python module for GNU parted
Name: pyparted
Epoch: 1
Version: 3.11.3
Release: 2%{?dist}
Version: 3.11.4
Release: 1%{?dist}
License: GPLv2+
URL: https://github.com/dcantrell/pyparted
Source0: https://github.com/dcantrell/pyparted/archive/%{name}-%{version}.tar.gz
Source0: https://github.com/dcantrell/pyparted/releases/download/v%{version}/%{name}-%{version}.tar.gz
Source1: https://github.com/dcantrell/pyparted/releases/download/v%{version}/%{name}-%{version}.tar.gz.asc
Source2: keyring.gpg
Source3: trustdb.gpg
BuildRequires: gcc
BuildRequires: parted-devel >= 3.2-18
BuildRequires: pkgconfig
BuildRequires: e2fsprogs
BuildRequires: gnupg2
%if %{with python3}
BuildRequires: python3-devel
@ -83,6 +87,9 @@ partition tables. This package provides Python 3 bindings for parted.
%endif
%prep
# Verify source archive signature
gpg --no-default-keyring --keyring %{SOURCE2} --trustdb-name %{SOURCE3} --verify %{SOURCE1} %{SOURCE0} || exit 1
%setup -q
%if %{with python3}
@ -93,12 +100,12 @@ cp -a $everything py3dir
%build
%if %{with python2}
PYTHON=python2 make %{?_smp_mflags}
PYTHON=python2 make %{?_smp_mflags} CFLAGS="%{optflags} -fcommon"
%endif
%if %{with python3}
pushd py3dir
PYTHON=python3 make %{?_smp_mflags}
PYTHON=python3 make %{?_smp_mflags} CFLAGS="%{optflags} -fcommon"
popd
%endif
@ -141,6 +148,13 @@ popd
%endif
%changelog
* Tue Feb 11 2020 David Cantrell <dcantrell@redhat.com> - 1:3.11.4-1
- 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
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.11.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

View File

@ -1 +1,2 @@
SHA512 (pyparted-3.11.3.tar.gz) = 861869d286ddca64e536851a992608e5c9482f55a2978c93386a167e73d05effa3ad80495a9b81af6973ee6770b9d6ef693e133fe086073698e8e02aa5ee5931
SHA512 (pyparted-3.11.4.tar.gz) = 73e1f575c200a407392d46c87475f70f5f2405ad28b9b816117703284a75094df05727fcb2243793a31cd9471be5876eb4c22c870218f7a23625cfa359265818
SHA512 (pyparted-3.11.4.tar.gz.asc) = 5c4426beac456125f56bb65fd8e38856e5822caadf3596f02ecb2c086f0120991f61ebabfbc6fad80d6b8bbb3810f9193ab1bf839f9d1eb507aa9958edfd7993

BIN
trustdb.gpg Normal file

Binary file not shown.