%global srcname praw 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://pypi.python.org/packages/source/p/%{srcname}/%{srcname}-%{version}.tar.gz BuildArch: noarch 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. %prep %setup -q -n %{srcname}-%{version} rm -rf %{srcname}.egg-info %build %{__python2} setup.py build %install %{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT %files %doc README.md COPYING %{python_sitelib}/* %changelog * Sat May 24 2014 Fabian Affolter - 2.1.16-1 - Spec file update - Update to latest upstream version 2.1.16 * Sun Aug 04 2013 Fedora Release Engineering - 1.0.15-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.0.15-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Nov 10 2012 Elad Alfassa - 1.0.15-3 - Fix more issues from review * Sat Nov 10 2012 Elad Alfassa - 1.0.15-2 - Fix few minor problems from review * Sat Nov 10 2012 Elad Alfassa - 1.0.15-1 - Initial packaging for Feora