[python-coverage] update to 3.5b1

Tom Callaway spot at fedoraproject.org
Mon Jun 6 17:57:12 UTC 2011


commit df5a6128d399367c2da386e7b55398735e38a02d
Author: Tom "spot" Callaway <tcallawa at redhat.com>
Date:   Mon Jun 6 13:57:00 2011 -0400

    update to 3.5b1

 .gitignore           |    1 +
 python-coverage.spec |   20 +++++++++-----------
 sources              |    2 +-
 3 files changed, 11 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6e86514..2c85278 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 coverage-3.3.1.tar.gz
 coverage-3.4.tar.gz
+/coverage-3.5b1.tar.gz
diff --git a/python-coverage.spec b/python-coverage.spec
index 56c0aa8..561e73b 100644
--- a/python-coverage.spec
+++ b/python-coverage.spec
@@ -2,6 +2,8 @@
 %global with_python3 1
 %endif
 
+%global betaver b1
+
 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 
 # tracer.so is a private object, don't include it in the provides
@@ -11,13 +13,12 @@
 
 Name:           python-coverage
 Summary:        Code coverage testing module for Python
-Version:        3.4
-Release:        3%{?dist}
+Version:        3.5
+Release:        0.1.%{betaver}%{?dist}
 License:        BSD and (MIT or GPLv2)
 Group:          System Environment/Libraries
 URL:            http://nedbatchelder.com/code/modules/coverage.html
-Source0:        http://pypi.python.org/packages/source/c/coverage/coverage-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0:        http://pypi.python.org/packages/source/c/coverage/coverage-%{version}%{betaver}.tar.gz
 BuildRequires:  python-setuptools, python-devel
 Requires:       python-setuptools
 %if 0%{?with_python3}
@@ -47,7 +48,7 @@ have been executed.
 %endif # with_python3
 
 %prep
-%setup -q -n coverage-%{version}
+%setup -q -n coverage-%{version}%{betaver}
 
 find . -type f -exec chmod 0644 \{\} \;
 sed -i 's/\r//g' README.txt
@@ -70,7 +71,6 @@ popd
 %endif # if with_python3
 
 %install
-rm -rf %{buildroot}
 %if 0%{?with_python3}
 pushd %{py3dir}
 %{__python3} setup.py install -O1 --skip-build --root %{buildroot}
@@ -80,11 +80,7 @@ popd
 
 %{__python} setup.py install -O1 --skip-build --root %{buildroot}
 
-%clean
-rm -rf %{buildroot}
-
 %files
-%defattr(-,root,root,-)
 %doc README.txt
 %{_bindir}/coverage
 %{python_sitearch}/coverage/
@@ -92,7 +88,6 @@ rm -rf %{buildroot}
 
 %if 0%{?with_python3}
 %files -n python3-coverage
-%defattr(-,root,root,-)
 %{_bindir}/python3-coverage
 %{python3_sitearch}/coverage/
 %{python3_sitearch}/coverage*.egg-info/
@@ -100,6 +95,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Mon Jun  6 2011 Tom Callaway <spot at fedoraproject.org> - 3.5-0.1.b1
+- update to 3.5b1
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.4-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index f5dab82..c46fb7d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-46782809578c8fd29912c124d2420842  coverage-3.4.tar.gz
+f4066fb59feb010150407940d1b544e6  coverage-3.5b1.tar.gz


More information about the scm-commits mailing list