diff --git a/python-imagesize.spec b/python-imagesize.spec index 71c7e74..d49568f 100644 --- a/python-imagesize.spec +++ b/python-imagesize.spec @@ -13,11 +13,11 @@ URL: https://github.com/shibukawa/imagesize_py # PyPi source does not include test image files, pull from github until next release Source0: https://github.com/shibukawa/imagesize_py/archive/%{version}.tar.gz#/%{pypi_name}-%{version}.tar.gz BuildArch: noarch - + BuildRequires: python2-setuptools BuildRequires: python2-devel BuildRequires: python2-pytest - + BuildRequires: python3-setuptools BuildRequires: python3-devel BuildRequires: python3-pytest @@ -77,13 +77,13 @@ rm -rf %{pypi_name}.egg-info py.test-2 py.test-3 -%files -n python2-%{pypi_name} +%files -n python2-%{pypi_name} %doc README.rst %license LICENSE.rst %{python2_sitelib}/%{pypi_name} %{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info -%files -n python3-%{pypi_name} +%files -n python3-%{pypi_name} %doc README.rst %license LICENSE.rst %{python3_sitelib}/%{pypi_name}