[python-praw] * Sat May 24 2014 Fabian Affolter <mail at fabian-affolter.ch> - 2.1.16-1 - Spec file update - Update t
Fabian Affolter
fab at fedoraproject.org
Sat May 24 11:55:30 UTC 2014
commit 82c42df8c482cb43b36ed1eeb9bbef17b5e4eb5f
Author: Fabian Affolter <mail at fabian-affolter.ch>
Date: Sat May 24 13:55:21 2014 +0200
* Sat May 24 2014 Fabian Affolter <mail at fabian-affolter.ch> - 2.1.16-1
- Spec file update
- Update to latest upstream version 2.1.16
.gitignore | 1 +
python-praw.spec | 38 +++++++++++++++++++-------------------
sources | 2 +-
3 files changed, 21 insertions(+), 20 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 9f9ce2e..3017538 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/praw-1.0.15.tar.gz
+/praw-2.1.16.tar.gz
diff --git a/python-praw.spec b/python-praw.spec
index b494fc1..49232ef 100644
--- a/python-praw.spec
+++ b/python-praw.spec
@@ -1,43 +1,43 @@
-# sitelib for noarch packages, sitearch for others (remove the unneeded one)
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%global srcname praw
-Name: python-praw
-Version: 1.0.15
-Release: 5%{?dist}
+Name: python-%{srcname}
+Version: 2.1.16
+Release: 1%{?dist}
Summary: A python package that allows for simple access to reddit's API
License: GPLv3+
URL: https://github.com/praw-dev/praw/
-Source0: https://github.com/praw-dev/praw/archive/praw-%{version}.tar.gz
-
+Source0: https://pypi.python.org/packages/source/p/%{srcname}/%{srcname}-%{version}.tar.gz
BuildArch: noarch
-BuildRequires: python-devel
+
+BuildRequires: python2-devel
+BuildRequires: python-setuptools
+
Requires: python-six
%description
-PRAW, an acronym for "Python Reddit API Wrapper", is a python package that allows for simple access to reddit's API.
+PRAW, an acronym for "Python Reddit API Wrapper", is a python package that
+allows for simple access to reddit's API.
%prep
-%setup -q -n praw-praw-%{version}
-
+%setup -q -n %{srcname}-%{version}
+rm -rf %{srcname}.egg-info
%build
-%{__python} setup.py build
-
+%{__python2} setup.py build
%install
-rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+%{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
-
%files
%doc README.md COPYING
-# For noarch packages: sitelib
%{python_sitelib}/*
-
-
%changelog
+* Sat May 24 2014 Fabian Affolter <mail at fabian-affolter.ch> - 2.1.16-1
+- Spec file update
+- Update to latest upstream version 2.1.16
+
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.15-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
diff --git a/sources b/sources
index 1b76447..df81154 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b62ef8c8fa4fccc9d773c8962619b0cd praw-1.0.15.tar.gz
+d439871ef39804c42f049d2ba8dfbfe5 praw-2.1.16.tar.gz
More information about the scm-commits
mailing list