# Created by pyp2rpm-3.2.1 %global pypi_name pockets Name: python-%{pypi_name} Version: 0.5.1 Release: 1%{?dist} Summary: A collection of helpful Python tools! License: BSD URL: http://pockets.readthedocs.org Source0: https://files.pythonhosted.org/packages/source/p/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools %description Pockets full of useful Python tools! *Let me check my pockets...* The Pockets library pulls together all the Python helper functions I've found useful over the years.If you've worked on a project that exports an API and accesses a data store, you've probably seen some code that looks like this:: Receive a data type with underscores from some API data_type 'user_preference' Convert underscored ... %package -n python2-%{pypi_name} Summary: A collection of helpful Python tools! %{?python_provide:%python_provide python2-%{pypi_name}} Requires: python-six >= 1.5.2 %description -n python2-%{pypi_name} Pockets full of useful Python tools! *Let me check my pockets...* The Pockets library pulls together all the Python helper functions I've found useful over the years.If you've worked on a project that exports an API and accesses a data store, you've probably seen some code that looks like this:: Receive a data type with underscores from some API data_type 'user_preference' Convert underscored ... %prep %autosetup -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py2_build %install %py2_install %files -n python2-%{pypi_name} %license LICENSE %doc README.rst %{python2_sitelib}/%{pypi_name} %{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info %changelog * Sat May 13 2017 root - 0.5.1-1 - Initial package.