import pyparted-3.11.7-4.el8

This commit is contained in:
CentOS Sources 2021-10-05 23:41:55 -04:00 committed by Stepan Oksanichenko
parent dd94f02e81
commit e444fa9f21
4 changed files with 1605 additions and 10 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/pyparted-3.11.0.tar.gz
SOURCES/pyparted-3.11.7.tar.gz

View File

@ -1 +1 @@
9c28f947ed6b13ee85326160964881f1bf60def0 SOURCES/pyparted-3.11.0.tar.gz
8084cb0b64542e57066716505fa4f1d28c031b09 SOURCES/pyparted-3.11.7.tar.gz

File diff suppressed because it is too large Load Diff

View File

@ -35,14 +35,16 @@
Summary: Python module for GNU parted
Name: pyparted
Epoch: 1
Version: 3.11.0
Release: 13%{?dist}
Version: 3.11.7
Release: 4%{?dist}
License: GPLv2+
Group: System Environment/Libraries
URL: https://github.com/rhinstaller/pyparted
Source0: https://github.com/rhinstaller/pyparted/archive/%{name}-%{version}.tar.gz
Patch0: pyparted-3.11.7-covscan.patch
BuildRequires: gcc
BuildRequires: parted-devel >= 3.2-18
BuildRequires: pkgconfig
@ -91,6 +93,7 @@ partition tables. This package provides Python 3 bindings for parted.
%prep
%setup -q
%patch0 -p1
%if %{with python2}
rm -rf ../%{py2dir}
@ -101,34 +104,34 @@ mv ../%{py2dir} .
%build
%if %{with python3}
PYTHON=python3 make %{?_smp_mflags}
PYTHON=python3 CFLAGS="%{optflags}" make %{?_smp_mflags}
%endif
%if %{with python2}
pushd %{py2dir}
PYTHON=python2 make %{?_smp_mflags}
PYTHON=python2 CFLAGS="%{optflags}" make %{?_smp_mflags}
popd
%endif
%check
%if %{with python3}
PYTHON=python3 make test
PYTHON=python3 CFLAGS="%{optflags}" make test
%endif
%if %{with python2}
pushd %{py2dir}
PYTHON=python2 make test
PYTHON=python2 CFLAGS="%{optflags}" make test
popd
%endif
%install
%if %{with python3}
PYTHON=python3 make install DESTDIR=%{buildroot}
PYTHON=python3 CFLAGS="%{optflags}" make install DESTDIR=%{buildroot}
%endif
%if %{with python2}
pushd %{py2dir}
PYTHON=python2 make install DESTDIR=%{buildroot}
PYTHON=python2 CFLAGS="%{optflags}" make install DESTDIR=%{buildroot}
popd
%endif
@ -149,6 +152,46 @@ popd
%endif
%changelog
* Mon Jul 12 2021 David Cantrell <dcantrell@redhat.com> - 1:3.11.7-4
- Rebuild for gating
Related: rhbz#1927379
* Fri Jul 09 2021 David Cantrell <dcantrell@redhat.com> - 1:3.11.7-3
- More covscan patch followup
Related: rhbz#1927379
* Fri Jul 09 2021 David Cantrell <dcantrell@redhat.com> - 1:3.11.7-2
- Patched errors found by covscan
Related: rhbz#1927379
* Thu Jul 08 2021 David Cantrell <dcantrell@redhat.com> - 1:3.11.7-1
- Upgrade to pyparted-3.11.7
Resolves: rhbz#1927379
* Tue May 18 2021 David Cantrell <dcantrell@redhat.com> - 1:3.11.0-21
- Rebuild for gating
Related: rhbz#1927379
* Tue May 18 2021 David Cantrell <dcantrell@redhat.com> - 1:3.11.0-20
- Fixes for gating
Related: rhbz#1927379
* Mon May 17 2021 David Cantrell <dcantrell@redhat.com> - 1:3.11.0-19
- Rebuild for gating
Related: rhbz#1927379
* Mon May 17 2021 David Cantrell <dcantrell@redhat.com> - 1:3.11.0-18
- Rebuild for gating
Related: rhbz#1927379
* Mon May 17 2021 David Cantrell <dcantrell@redhat.com> - 1:3.11.0-17
- Rebuild
Related: rhbz#1927379
* Tue Feb 23 2021 David Cantrell <dcantrell@redhat.com> - 1:3.11.0-16
- Handle PED_EXCEPTION_FIX (Fix/Ignore) exceptions
Resolves: rhbz#1927379
* Wed Jul 25 2018 David Cantrell <dcantrell@redhat.com> - 1:3.11.0-13
- Do not build python2 subpackage
Resolves: rhbz#1565329