# Created by pyp2rpm-3.2.2 %global pypi_name iml-common Name: python-%{pypi_name} Version: 1.0.7 Release: 1%{?dist} Summary: Common library used by multiple IML components License: MIT URL: https://pypi.python.org/pypi/iml-common Source0: https://files.pythonhosted.org/packages/source/i/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools_scm BuildRequires: python-setuptools %description A Python package that contains common components for the IML project Different areas of the IML project utilise common code that is shared distributed through this package.This packaging intends to improve code reuse and componentization within the IML project. %package -n python2-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python2-%{pypi_name}} %description -n python2-%{pypi_name} A Python package that contains common components for the IML project Different areas of the IML project utilise common code that is shared distributed through this package.This packaging intends to improve code reuse and componentization within the IML project. %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.txt %doc README.md README.rst %{python2_sitelib}/iml_common %{python2_sitelib}/iml_common-%{version}-py?.?.egg-info %changelog * Fri Aug 25 2017 Copr dist git - 1.0.7-1 - Initial package.