[python-gitdb] Upstream release to fix licensing issues Use real upstream release instead of git checkout No tests

Jesse Keating jkeating at fedoraproject.org
Mon Jul 18 23:48:14 UTC 2011


commit 5e98adc20f5da603391d8d22ef58d1f969c7c1f3
Author: Jesse Keating <jkeating at redhat.com>
Date:   Mon Jul 18 16:47:39 2011 -0700

    Upstream release to fix licensing issues
    Use real upstream release instead of git checkout
    No tests shipped in release, remove %check

 .gitignore        |    1 +
 python-gitdb.spec |   25 +++++++++++--------------
 sources           |    2 +-
 3 files changed, 13 insertions(+), 15 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d2f1568..4fd1cca 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /gitdb-0.5.2-17d9d13.tar.gz
+/gitdb-0.5.4.tar.gz
diff --git a/python-gitdb.spec b/python-gitdb.spec
index 9db039b..6598576 100644
--- a/python-gitdb.spec
+++ b/python-gitdb.spec
@@ -1,20 +1,15 @@
 # sitelib for noarch packages, sitearch for others (remove the unneeded one)
 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
 
-%global gitver 17d9d13
-
 Name:           python-gitdb
-Version:        0.5.2
-Release:        3.20110613git%{gitver}%{?dist}
+Version:        0.5.4
+Release:        1%{?dist}
 Summary:        A pure-Python git object database
 
 Group:          Development/Languages
 License:        BSD
-URL:            https://github.com/gitpython-developers/gitdb
-# Get source:  git clone git://github.com/gitpython-developers/gitdb.git
-# cd gitdb; git checkout 17d9d13; cd ../;
-# tar czvpf gitdb-0.5.2-17d9d13.tar.gz gitdb/
-Source0:        gitdb-%{version}-%{gitver}.tar.gz
+URL:            http://pypi.python.org/packages/source/g/gitdb/gitdb-%{version}.tar.gz#md5=25353bb8d3ea527ba443dd88cd4e8a1c
+Source0:        gitdb-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires:       python-async >= 0.6.1
 
@@ -35,16 +30,13 @@ operate on large objects with a small memory footprint.
 
 
 %prep
-%setup -q -n gitdb
+%setup -q -n gitdb-%{version}
 
 
 %build
 # Remove CFLAGS=... for noarch packages (unneeded)
 CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
 
-%check
-nosetests
-
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -58,11 +50,16 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc README.rst AUTHORS LICENSE
+%doc AUTHORS LICENSE
 # For arch-specific packages: sitearch
 %{python_sitearch}/*
 
 %changelog
+* Mon Jul 18 2011 Jesse Keating <jkeating at redhat.com> - 0.5.4-1
+- Upstream release to fix licensing issues
+- Use real upstream release instead of git checkout
+- No tests shipped in release, remove %check
+
 * Tue Jun 14 2011 Jesse Keating <jkeating at redhat.com> - 0.5.2-3.20110613git17d9d13
 - Add a br on python-async
 
diff --git a/sources b/sources
index e7c299e..8390520 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-fb4d1ffa06d61ef7e4102f115e3f455f  gitdb-0.5.2-17d9d13.tar.gz
+25353bb8d3ea527ba443dd88cd4e8a1c  gitdb-0.5.4.tar.gz


More information about the scm-commits mailing list