upgrade to 4.1.0

epel8
Matthias Runge 7 years ago
parent 555ce5fb37
commit d6054c2177

1
.gitignore vendored

@ -23,3 +23,4 @@
/pbr-1.10.0.tar.gz
/pbr-2.0.0.tar.gz
/pbr-3.1.1.tar.gz
/pbr-4.1.0.tar.gz

@ -6,8 +6,8 @@
%endif
Name: python-%{pypi_name}
Version: 3.1.1
Release: 9%{?dist}
Version: 4.1.0
Release: 1%{?dist}
Summary: Python Build Reasonableness
License: ASL 2.0
@ -68,19 +68,13 @@ Manage dynamic plugins for Python applications
rm -rf {test-,}requirements.txt pbr.egg-info/requires.txt
%if 0%{?with_python3}
rm -rf %{py3dir}
cp -a . %{py3dir}
%endif
%build
export SKIP_PIP_INSTALL=1
%{__python2} setup.py build
%py2_build
%if 0%{?with_python3}
pushd %{py3dir}
%{__python3} setup.py build
popd
%py3_build
%endif
# generate html docs
@ -94,14 +88,13 @@ rm -rf html/.{doctrees,buildinfo}
# overwritten with every setup.py install (and we want the python2 version
# to be the default for now).
%if 0%{?with_python3}
pushd %{py3dir}
%{__python3} setup.py install -O1 --skip-build --root=%{buildroot}
%py3_install
rm -rf %{buildroot}%{python3_sitelib}/pbr/tests
mv %{buildroot}%{_bindir}/pbr %{buildroot}%{_bindir}/pbr-3
popd
%endif
%{__python2} setup.py install --skip-build --root %{buildroot}
rm -rf %{buildroot}%{python_sitelib}/pbr/tests
%py2_install
rm -rf %{buildroot}%{python2_sitelib}/pbr/tests
%if 0%{?do_test}
%check
@ -112,8 +105,8 @@ rm -rf %{buildroot}%{python_sitelib}/pbr/tests
%license LICENSE
%doc html README.rst
%{_bindir}/pbr
%{python_sitelib}/*.egg-info
%{python_sitelib}/%{pypi_name}
%{python2_sitelib}/*.egg-info
%{python2_sitelib}/%{pypi_name}
%if 0%{?with_python3}
%files -n python3-pbr
@ -125,6 +118,10 @@ rm -rf %{buildroot}%{python_sitelib}/pbr/tests
%endif
%changelog
* Tue Jul 17 2018 Matthias Runge <mrunge@redhat.com> - 4.1.0-1
- update to 4.1.0 (rhbz#1561252)
- modernize spec
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

@ -1 +1 @@
SHA512 (pbr-3.1.1.tar.gz) = c01fb83678f8fc3acddc153dd341a17ed9d602b6770f0ff244b1c5b54c37d4ddcbd0c3d726f7d7020865819e02797c1c79a0c15e9ee2ae5c1510fce7112b2a3a
SHA512 (pbr-4.1.0.tar.gz) = 5f4dcbe3e7a339cdfcab24453fae82e16118be97061c3c5f4f13db76f404f8fcb2c6b3c0351ffa5022c01b15325ddf94aac1ebd06271fe1d4bb21bdf80ae10e6

Loading…
Cancel
Save