#12 Update to 5.9.0. Fixes rhbz#2020182.
Merged 2 years ago by jcapitao. Opened 2 years ago by gotmax23.
rpms/ gotmax23/python-pbr f36  into  f36

file modified
+1
@@ -31,3 +31,4 @@ 

  /pbr-5.5.0.tar.gz

  /pbr-5.5.1.tar.gz

  /pbr-5.6.0.tar.gz

+ /pbr-5.9.0.tar.gz

file modified
+37 -17
@@ -2,13 +2,16 @@ 

  

  %bcond_with bootstrap

  

- %if 0%{?fedora} || 0%{?rhel} > 7

- %global do_test 0

+ %if 0%{?fedora}

+ %bcond_without tests

+ %else

+ # EPEL does not have the necessary testing dependencies

+ %bcond_with tests

  %endif

  

  Name:           python-%{pypi_name}

- Version:        5.6.0

- Release:        3%{?dist}

+ Version:        5.9.0

+ Release:        1%{?dist}

  Summary:        Python Build Reasonableness

  

  License:        ASL 2.0
@@ -38,15 +41,18 @@ 

  

  BuildRequires:  python%{python3_pkgversion}-devel

  BuildRequires:  python%{python3_pkgversion}-setuptools

- %if 0%{?do_test} == 1

- BuildRequires:  python%{python3_pkgversion}-coverage

+ %if %{with tests}

+ BuildRequires:  gcc

+ BuildRequires:  gnupg

+ BuildRequires:  python%{python3_pkgversion}-fixtures

  BuildRequires:  python%{python3_pkgversion}-hacking

- BuildRequires:  python%{python3_pkgversion}-mock

+ BuildRequires:  python%{python3_pkgversion}-six

+ BuildRequires:  python%{python3_pkgversion}-stestr

  BuildRequires:  python%{python3_pkgversion}-testrepository

  BuildRequires:  python%{python3_pkgversion}-testresources

  BuildRequires:  python%{python3_pkgversion}-testscenarios

- BuildRequires:  gcc

- BuildRequires:  gnupg

+ BuildRequires:  python%{python3_pkgversion}-virtualenv

+ BuildRequires:  python%{python3_pkgversion}-wheel

  %endif

  Requires:       python%{python3_pkgversion}-setuptools

  Requires:       git-core
@@ -58,7 +64,7 @@ 

  Manage dynamic plugins for Python applications

  

  %prep

- %autosetup -n %{pypi_name}-%{version} -S git

+ %autosetup -n %{pypi_name}-%{version} -p1

  

  rm -rf {test-,}requirements.txt pbr.egg-info/requires.txt

  
@@ -82,23 +88,37 @@ 

  ln -s ./pbr-3 %{buildroot}%{_bindir}/pbr

  

  

- %if 0%{?do_test}

+ %if %{with tests}

  %check

- %{__python3} setup.py test

+ export PYTHONPATH=%{buildroot}%{python3_sitelib}

+ export PYTHONDONTWRITEBYTECODE=1

+ export PATH="%{buildroot}%{_bindir}:${PATH}"

+ # Exclude tests that require networking

+ stestr run -E 'test_requirement_parsing|test_pep_517_support'

  %endif

  

  %files -n python%{python3_pkgversion}-pbr

  %license LICENSE

- %doc README.rst

- %if %{without bootstrap}

- %doc html README.rst

- %endif

+ %doc README.rst %{?without_bootstrap:html}

  %{_bindir}/pbr

  %{_bindir}/pbr-3

- %{python3_sitelib}/*.egg-info/

+ %{python3_sitelib}/%{pypi_name}-*.egg-info/

  %{python3_sitelib}/%{pypi_name}/

  

  %changelog

+ * Sat Jul 23 2022 Maxwell G <gotmax@e.email> - 5.9.0-1

+ - Update to 5.9.0. Fixes rhbz#2020182.

+ - Re-enable unit tests

+ 

+ * Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-6

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

+ 

+ * Thu Jun 16 2022 Python Maint <python-maint@redhat.com> - 5.6.0-5

+ - Rebuilt for Python 3.11

+ 

+ * Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 5.6.0-4

+ - Bootstrap for Python 3.11

+ 

  * Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-3

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

  

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (pbr-5.6.0.tar.gz) = 1dca9020a84e3b9be71fa07e2feb37bbdb2bb69d0b4f69fdcee0fc3c7fe4d84ac2e2079d6bd7560192833f069ca6f5dc27d03a3ef87c168eed18eee8579647fc

+ SHA512 (pbr-5.9.0.tar.gz) = b36cc331664b91899a884bb1bc6980174ba2463db35c591d480d0b5a49dd37781132893e488c6a9238fbd2ec16589652d66b01a8c2701d02ff5c0b04e9c6121b

no initial comment

Build succeeded.

Pull-Request has been merged by jcapitao

2 years ago