# Created by pyp2rpm-3.3.2 %global pypi_name djangorestframework Name: python-%{pypi_name} Version: 3.11.0 Release: 1%{?dist} Summary: Web APIs for Django, made easy License: BSD URL: https://www.django-rest-framework.org/ Source0: https://files.pythonhosted.org/packages/source/d/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(setuptools) %description [Django REST framework][docs][![build-status-image]][travis] [![coverage- status-image]][codecov] [![pypi-version]][pypi]**Awesome web-browsable Web APIs.**Full documentation for the project is available at [ FundingREST framework is a *collaboratively funded project*. If you use REST framework commercially we strongly encourage you to invest in its continued development by [signing up for a... %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} Requires: python3dist(django) >= 1.11 %description -n python3-%{pypi_name} [Django REST framework][docs][![build-status-image]][travis] [![coverage- status-image]][codecov] [![pypi-version]][pypi]**Awesome web-browsable Web APIs.**Full documentation for the project is available at [ FundingREST framework is a *collaboratively funded project*. If you use REST framework commercially we strongly encourage you to invest in its continued development by [signing up for a... %prep %autosetup -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py3_build %install %py3_install %files -n python3-%{pypi_name} %license LICENSE.md %doc README.md %{python3_sitelib}/rest_framework %{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info %changelog * Tue Jan 21 2020 mockbuilder - 3.11.0-1 - Initial package.