diff --git a/.gitignore b/.gitignore index 31679d4..e830d0b 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/keyring.gpg b/keyring.gpg new file mode 100644 index 0000000..10fab63 Binary files /dev/null and b/keyring.gpg differ diff --git a/pyparted.spec b/pyparted.spec index a07c818..92da511 100644 --- a/pyparted.spec +++ b/pyparted.spec @@ -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 - 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 - 1:3.11.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index eec434c..09fa3fc 100644 --- a/sources +++ b/sources @@ -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 diff --git a/trustdb.gpg b/trustdb.gpg new file mode 100644 index 0000000..cf09ce7 Binary files /dev/null and b/trustdb.gpg differ