[python-dpath] Update to new upstream version

Stanislav Ochotnicky sochotni at fedoraproject.org
Mon Apr 7 12:36:56 UTC 2014


commit 27810981e9294e7ea22decb74e947f74c1220d7f
Author: Stanislav Ochotnicky <sochotnicky at redhat.com>
Date:   Mon Apr 7 14:32:27 2014 +0200

    Update to new upstream version

 .gitignore          |    1 +
 generate-tarball.sh |   12 ------------
 python-dpath.spec   |   15 ++++++++-------
 sources             |    2 +-
 4 files changed, 10 insertions(+), 20 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a906812..ea3386b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /python-dpath-1.2-a6ce774d.tar.xz
+/dpath-1.2-70.tar.gz
diff --git a/python-dpath.spec b/python-dpath.spec
index 53d31d3..f3ccd84 100644
--- a/python-dpath.spec
+++ b/python-dpath.spec
@@ -1,4 +1,3 @@
-%global git_sha a6ce774d
 %if 0%{?fedora} > 12
 %global with_python3 1
 %else
@@ -6,18 +5,17 @@
 %{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib())")}
 %endif
 
+%global microv 70
+
 Name:           python-dpath
 Version:        1.2
-Release:        0.1.52.20140319git%{git_sha}%{?dist}
+Release:        0.2.%{microv}%{?dist}
 Summary:        A library for searching dictionaries using XPath-like expressions
 License:        MIT
 URL:            https://github.com/akesterson/dpath-python
 BuildArch:      noarch
 
-# we'll be able to use pypi if this gets pulled
-# https://github.com/akesterson/dpath-python/pull/19
-Source0:        %{name}-%{version}-%{git_sha}.tar.xz
-Source1:        generate-tarball.sh
+Source0:        https://pypi.python.org/packages/source/d/dpath/dpath-%{version}-%{microv}.tar.gz
 
 BuildRequires:  python2-devel
 BuildRequires:  python-setuptools
@@ -50,7 +48,7 @@ for filtering those results.
 
 
 %prep
-%setup -q -n dpath-%{version}-%{git_sha}
+%setup -q -n dpath-%{version}-%{microv}
 
 
 %if 0%{?with_python3}
@@ -94,6 +92,9 @@ popd
 
 
 %changelog
+* Mon Apr 07 2014 Stanislav Ochotnicky <sochotnicky at redhat.com> - 1.2-0.2.70
+- Update to new upstream version
+
 * Wed Mar 19 2014 Stanislav Ochotnicky <sochotnicky at redhat.com> - 1.2-0.1.52.20140319gita6ce774d
 - Initial packaging
 
diff --git a/sources b/sources
index 35297a6..97dbea0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a4d138bd0b880e76f51b57a27da44313  python-dpath-1.2-a6ce774d.tar.xz
+adbcd66956eb40366ff00af2c7802d7e  dpath-1.2-70.tar.gz


More information about the scm-commits mailing list