[python-oauth2] 1.5.170
Tom Callaway
spot at fedoraproject.org
Mon Jul 18 17:06:59 UTC 2011
commit ec9c9d514fa7b456a6da102ef793c1132cab3619
Author: Tom "spot" Callaway <tcallawa at redhat.com>
Date: Mon Jul 18 13:06:48 2011 -0400
1.5.170
.gitignore | 1 +
python-oauth2.spec | 28 ++++++++++++----------------
sources | 2 +-
3 files changed, 14 insertions(+), 17 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 36b752f..c728c7f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/oauth2-1.1.3.tar.gz
+/oauth2-1.5.170.tar.gz
diff --git a/python-oauth2.spec b/python-oauth2.spec
index c331905..a2630e5 100644
--- a/python-oauth2.spec
+++ b/python-oauth2.spec
@@ -1,18 +1,11 @@
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-
-%global oldversion 1.1.3
-
Name: python-oauth2
Summary: Python support for improved oauth
-Version: 1.2.1
-Release: 2%{?dist}
+Version: 1.5.170
+Release: 1%{?dist}
License: MIT
Group: System Environment/Libraries
-Source0: http://pypi.python.org/packages/source/o/oauth2/oauth2-%{oldversion}.tar.gz
-# Upstream can't seem to manage to put out newer tarballs, just newer git tagged revisions.
-Patch0: python-oauth2-1.1.3-1.2.1.patch
+Source0: http://pypi.python.org/packages/source/o/oauth2/oauth2-%{version}.tar.gz
URL: http://pypi.python.org/pypi/oauth2/
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel, python-setuptools, python-simplejson
Requires: python-simplejson
@@ -36,27 +29,30 @@ number of notable differences exist between this code and its forefathers:
wish to make.
%prep
-%setup -q -n oauth2-%{oldversion}
-%patch0 -p1 -b .121
+%setup -q -n oauth2-%{version}
%build
%{__python} setup.py build
%install
-%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
+%{__python} setup.py install --skip-build --root %{buildroot}
%check
-# Tests require mox, not in Fedora yet.
+# Tests require python-mock, not in Fedora yet.
# export PYTHONPATH=$RPM_BUILD_ROOT/%%{python_sitelib}
# %%{__python} setup.py test
%files
-%defattr(-,root,root,-)
-%doc README.md LICENSE.txt PKG-INFO
+%doc PKG-INFO
%{python_sitelib}/oauth2/
+%{python_sitelib}/tests/
%{python_sitelib}/oauth2-%{version}-*.egg-info/
%changelog
+* Mon Jul 18 2011 Rahul Sundaram <sundaram at fedoraproject.org> - 1.5.170-1
+- New upstream release
+- Match current guidelines
+
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.2.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
diff --git a/sources b/sources
index ea7fc26..ab071dc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-79ab3c0af3a6295a699f37d0c25239db oauth2-1.1.3.tar.gz
+5cca4f4ce2225781c2d91e19aad207f5 oauth2-1.5.170.tar.gz
More information about the scm-commits
mailing list