[python-vcstools/el6] Update to release 0.1.31

rmattes rmattes at fedoraproject.org
Sun Feb 9 01:15:13 UTC 2014


commit 15a043b34e77cb97d1620a2c48db7c82a21cb2bc
Author: Rich Mattes <richmattes at gmail.com>
Date:   Mon Aug 19 21:56:39 2013 -0400

    Update to release 0.1.31
    
    - Update to github sourceurl guidelines

 .gitignore           |    1 +
 python-vcstools.spec |   20 +++++++++++---------
 sources              |    2 +-
 3 files changed, 13 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e368d22..a43ac34 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
 /vcstools-vcstools-0.1.24-0-gba30262.tar.gz
 /vcstools-vcstools-0.1.26-0-gd41568f.tar.gz
 /vcstools-vcstools-0.1.30-0-g963c121.tar.gz
+/vcstools-0.1.31-b40a0da.tar.gz
diff --git a/python-vcstools.spec b/python-vcstools.spec
index 3d454b2..dd0f4d1 100644
--- a/python-vcstools.spec
+++ b/python-vcstools.spec
@@ -1,17 +1,15 @@
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-
+%global commit b40a0dab8e64c119006f93b82ea5c3d127d4e45d
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
 %global realname vcstools
-%global gitrev 963c121
 
 Name:           python-%{realname}
-Version:        0.1.30
-Release:        1.20130318git%{gitrev}%{?dist}
+Version:        0.1.31
+Release:        1%{?dist}
 Summary:        Version Control System tools for Python
 
 License:        BSD
 URL:            http://www.ros.org/wiki/vcstools
-#wget --content-disposition https://github.com/vcstools/vcstools/tarball/0.1.30
-Source0:        %{realname}-%{realname}-%{version}-0-g%{gitrev}.tar.gz
+Source0:        https://github.com/%{realname}/%{realname}/archive/%{commit}/%{realname}-%{version}-%{shortcommit}.tar.gz
 BuildArch:      noarch
 
 BuildRequires:  python-devel
@@ -27,7 +25,7 @@ of the API is manipulating on-disk checkouts of source-controlled trees.
 Its main use is to support the rosinstall tool.
 
 %prep
-%setup -q -n %{realname}-%{realname}-%{gitrev}
+%setup -qn %{realname}-%{commit}
 sed -i 's/haiku/default/' doc/conf.py
 sed -i 's/:special-members://' doc/vcstools.rst
 
@@ -57,6 +55,10 @@ rm -rf doc/_build/html/.buildinfo
 %endif
 
 %changelog
+* Mon Aug 19 2013 Rich Mattes <richmattes at gmail.com> - 0.1.31-1
+- Update to release 0.1.31
+- Update to github sourceurl guidelines
+
 * Mon Mar 18 2013 Rich Mattes <richmattes at gmail.com> - 0.1.30-1.20130318git963c121
 - Update to release 0.1.30
 - Updated upstream URL
@@ -64,7 +66,7 @@ rm -rf doc/_build/html/.buildinfo
 * Fri Oct 26 2012 Rich Mattes <richmattes at gmail.com> - 0.1.24-1.20121026gitba30262
 - Update to release 0.1.24
 
-* Mon Aug 28 2012 Rich Mattes <richmattes at gmail.com> - 0.1.21-1.20120828hg0fba0588
+* Tue Aug 28 2012 Rich Mattes <richmattes at gmail.com> - 0.1.21-1.20120828hg0fba0588
 - Update to release 0.1.21
 
 * Fri Jun 08 2012 Rich Mattes <richmattes at gmail.com> - 0.1.17-3.20120606hg6205f4fc
diff --git a/sources b/sources
index 059546c..f0a3305 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-91b20360faa42d9833fd9546759e5081  vcstools-vcstools-0.1.30-0-g963c121.tar.gz
+18cd34165aba4e69424de42b04089f06  vcstools-0.1.31-b40a0da.tar.gz


More information about the scm-commits mailing list