From 2fa240270c9d5f2df82643c8162eeae9e1e43f2e Mon Sep 17 00:00:00 2001 From: Alan Pevec Date: Jun 02 2015 21:11:55 +0000 Subject: update to 0.11.0 --- diff --git a/.gitignore b/.gitignore index 0a5bc38..c4c68eb 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ /pbr-0.10.0.tar.gz /pbr-0.10.7.tar.gz /pbr-0.10.8.tar.gz +/pbr-0.11.0.tar.gz diff --git a/python-pbr.spec b/python-pbr.spec index 863e4e3..7589262 100644 --- a/python-pbr.spec +++ b/python-pbr.spec @@ -8,35 +8,30 @@ %global do_test 1 %endif -# tests are failing currently -%global do_test 0 - Name: python-%{pypi_name} -Version: 0.10.8 +Version: 0.11.0 Release: 1%{?dist} Summary: Python Build Reasonableness License: ASL 2.0 URL: http://pypi.python.org/pypi/pbr Source0: http://pypi.python.org/packages/source/p/%{pypi_name}/%{pypi_name}-%{version}.tar.gz + BuildArch: noarch BuildRequires: python2-devel -# very new required, when also using tests -BuildRequires: python-d2to1 >= 0.2.10 +BuildRequires: python-d2to1 %if 0%{?do_test} == 1 -BuildRequires: python-testtools -BuildRequires: python-testscenarios - -# still not packaged yet: -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-coverage +BuildRequires: python-hacking +BuildRequires: python-mock +BuildRequires: python-testrepository BuildRequires: python-testresources +BuildRequires: python-testscenarios +BuildRequires: gcc +BuildRequires: git +BuildRequires: gnupg %endif @@ -68,12 +63,7 @@ Manage dynamic plugins for Python applications %prep %setup -q -n %{pypi_name}-%{version} -# Remove the requirements file so that pbr hooks don't add it -# to distutils requiers_dist config -rm -rf {test-,}requirements.txt - -# Remove bundled egg-info -rm -rf %{pypi_name}.egg-info +rm -rf {test-,}requirements.txt pbr.egg-info/requires.txt %if 0%{?with_python3} rm -rf %{py3dir} @@ -81,6 +71,7 @@ cp -a . %{py3dir} %endif %build +export SKIP_PIP_INSTALL=1 %{__python} setup.py build %if 0%{?with_python3} @@ -109,6 +100,7 @@ pushd %{py3dir} popd %endif %{__python} setup.py install --skip-build --root %{buildroot} +rm -rf %{buildroot}%{python_sitelib}/pbr/tests %if 0%{?do_test} %check @@ -119,7 +111,7 @@ popd %files %doc html README.rst LICENSE %{_bindir}/pbr -%{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info +%{python_sitelib}/*.egg-info %{python_sitelib}/%{pypi_name} %if 0%{?with_python3} @@ -130,6 +122,9 @@ popd %endif %changelog +* Tue Jun 02 2015 Alan Pevec - 0.11.0-1 +- update to 0.11.0 + * Fri Mar 20 2015 Alan Pevec - 0.10.8-1 - update to 0.10.8 diff --git a/sources b/sources index 0fda862..e752901 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ccef0c0fa2ad7ee2c9997322a83d7e45 pbr-0.10.8.tar.gz +e69466b4206e350f4f1e1db2e11ab73b pbr-0.11.0.tar.gz