[python-pbr] update to 0.7.0
Matthias Runge
mrunge at fedoraproject.org
Mon Mar 24 12:59:15 UTC 2014
commit 5b99fce610cf75ce62a7dd7ef6c7522f415dcdb6
Author: Matthias Runge <mrunge at redhat.com>
Date: Mon Mar 24 13:59:10 2014 +0100
update to 0.7.0
.gitignore | 1 +
python-pbr.spec | 45 ++++++++++++++++++++++++++++-----------------
sources | 2 +-
3 files changed, 30 insertions(+), 18 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index caaba43..f9d2fb8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@
/pbr-0.5.21.tar.gz
/pbr-0.5.23.tar.gz
/pbr-0.6.tar.gz
+/pbr-0.7.0.tar.gz
diff --git a/python-pbr.spec b/python-pbr.spec
index d88386b..687f195 100644
--- a/python-pbr.spec
+++ b/python-pbr.spec
@@ -1,7 +1,13 @@
%global pypi_name pbr
+%if 0%{?fedora} > 19
+%global do_test 1
+%endif
+
+# tests are failing currently
+%global do_test 0
Name: python-%{pypi_name}
-Version: 0.6
+Version: 0.7.0
Release: 1%{?dist}
Summary: Python Build Reasonableness
@@ -15,21 +21,21 @@ Requires: python-pip
BuildRequires: python2-devel
# very new required, when also using tests
BuildRequires: python-d2to1 >= 0.2.10
-#BuildRequires: python-d2to1
-# not necessary, but listed in requirements.txt
-# Requires: python-setuptools_git
-# BuildRequires: python-setuptools_git
-#BuildRequires: python-testtools
-#BuildRequires: python-testscenarios
-# not packaged yet:
-#BuildRequires: python-discover
-
-#BuildRequires: python-coverage >= 3.6
-#BuildRequires: python-flake8
-#BuildRequires: python-mox
-#BuildRequires: python-testrepository
-#BuildRequires: python-subunit
-#BuildRequires: python-testresources
+
+%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-testresources
+%endif
+
%if 0%{?rhel}==6
BuildRequires: python-sphinx10
@@ -71,9 +77,11 @@ rm -rf html/.{doctrees,buildinfo}
%install
%{__python} setup.py install --skip-build --root %{buildroot}
+%if 0%{?do_test}
%check
# we don't have the necessary br's, yet
-#%{__python} setup.py test
+%{__python} setup.py test
+%endif
%files
%doc html README.rst LICENSE
@@ -81,6 +89,9 @@ rm -rf html/.{doctrees,buildinfo}
%{python_sitelib}/%{pypi_name}
%changelog
+* Mon Mar 24 2014 Matthias Runge <mrunge at redhat.com> - 0.7.0-1
+- update to 0.7.0 (rhbz#1078761)
+
* Tue Feb 11 2014 Matthias Runge <mrunge at redhat.com> - 0.6.0-1
- update to 0.6.0 (rhbz#1061124)
diff --git a/sources b/sources
index f7e8b0c..7536cdb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-74ed7d0a9d93c1ab3eb7000e2c0482c7 pbr-0.6.tar.gz
+33e71021ae6a35487325f4c4c16d467d pbr-0.7.0.tar.gz
More information about the scm-commits
mailing list