update to 0.11.0

epel8
Alan Pevec 10 years ago
parent 621f1198a8
commit 2fa240270c

1
.gitignore vendored

@ -13,3 +13,4 @@
/pbr-0.10.0.tar.gz /pbr-0.10.0.tar.gz
/pbr-0.10.7.tar.gz /pbr-0.10.7.tar.gz
/pbr-0.10.8.tar.gz /pbr-0.10.8.tar.gz
/pbr-0.11.0.tar.gz

@ -8,35 +8,30 @@
%global do_test 1 %global do_test 1
%endif %endif
# tests are failing currently
%global do_test 0
Name: python-%{pypi_name} Name: python-%{pypi_name}
Version: 0.10.8 Version: 0.11.0
Release: 1%{?dist} Release: 1%{?dist}
Summary: Python Build Reasonableness Summary: Python Build Reasonableness
License: ASL 2.0 License: ASL 2.0
URL: http://pypi.python.org/pypi/pbr URL: http://pypi.python.org/pypi/pbr
Source0: http://pypi.python.org/packages/source/p/%{pypi_name}/%{pypi_name}-%{version}.tar.gz Source0: http://pypi.python.org/packages/source/p/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: python2-devel BuildRequires: python2-devel
# very new required, when also using tests BuildRequires: python-d2to1
BuildRequires: python-d2to1 >= 0.2.10
%if 0%{?do_test} == 1 %if 0%{?do_test} == 1
BuildRequires: python-testtools BuildRequires: python-coverage
BuildRequires: python-testscenarios BuildRequires: python-hacking
BuildRequires: python-mock
# still not packaged yet: BuildRequires: python-testrepository
BuildRequires: python-discover
BuildRequires: python-coverage >= 3.6
BuildRequires: python-flake8
BuildRequires: python-mock >= 1.0
BuildRequires: python-testrepository >= 0.0.18
BuildRequires: python-subunit
BuildRequires: python-testresources BuildRequires: python-testresources
BuildRequires: python-testscenarios
BuildRequires: gcc
BuildRequires: git
BuildRequires: gnupg
%endif %endif
@ -68,12 +63,7 @@ Manage dynamic plugins for Python applications
%prep %prep
%setup -q -n %{pypi_name}-%{version} %setup -q -n %{pypi_name}-%{version}
# Remove the requirements file so that pbr hooks don't add it rm -rf {test-,}requirements.txt pbr.egg-info/requires.txt
# to distutils requiers_dist config
rm -rf {test-,}requirements.txt
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
%if 0%{?with_python3} %if 0%{?with_python3}
rm -rf %{py3dir} rm -rf %{py3dir}
@ -81,6 +71,7 @@ cp -a . %{py3dir}
%endif %endif
%build %build
export SKIP_PIP_INSTALL=1
%{__python} setup.py build %{__python} setup.py build
%if 0%{?with_python3} %if 0%{?with_python3}
@ -109,6 +100,7 @@ pushd %{py3dir}
popd popd
%endif %endif
%{__python} setup.py install --skip-build --root %{buildroot} %{__python} setup.py install --skip-build --root %{buildroot}
rm -rf %{buildroot}%{python_sitelib}/pbr/tests
%if 0%{?do_test} %if 0%{?do_test}
%check %check
@ -119,7 +111,7 @@ popd
%files %files
%doc html README.rst LICENSE %doc html README.rst LICENSE
%{_bindir}/pbr %{_bindir}/pbr
%{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info %{python_sitelib}/*.egg-info
%{python_sitelib}/%{pypi_name} %{python_sitelib}/%{pypi_name}
%if 0%{?with_python3} %if 0%{?with_python3}
@ -130,6 +122,9 @@ popd
%endif %endif
%changelog %changelog
* Tue Jun 02 2015 Alan Pevec <apevec@redhat.com> - 0.11.0-1
- update to 0.11.0
* Fri Mar 20 2015 Alan Pevec <apevec@redhat.com> - 0.10.8-1 * Fri Mar 20 2015 Alan Pevec <apevec@redhat.com> - 0.10.8-1
- update to 0.10.8 - update to 0.10.8

@ -1 +1 @@
ccef0c0fa2ad7ee2c9997322a83d7e45 pbr-0.10.8.tar.gz e69466b4206e350f4f1e1db2e11ab73b pbr-0.11.0.tar.gz

Loading…
Cancel
Save