diff --git a/python-factory-boy.spec b/python-factory-boy.spec index bc3f77a..69cdd84 100644 --- a/python-factory-boy.spec +++ b/python-factory-boy.spec @@ -14,36 +14,23 @@ Its features include:\ Name: python-factory-boy Version: 2.11.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A versatile test fixtures replacement based on thoughtbot's factory_girl License: MIT URL: https://github.com/rbarrois/factory_boy Source0: https://github.com/rbarrois/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz BuildArch: noarch -BuildRequires: python2-devel -BuildRequires: python2-setuptools -BuildRequires: python2-sphinx -BuildRequires: python2-sphinx_rtd_theme -#BuildRequires: python2-mock -#BuildRequires: python2-django BuildRequires: python3-devel BuildRequires: python3-setuptools +BuildRequires: python3-sphinx +BuildRequires: python3-sphinx_rtd_theme #BuildRequires: python3-mock #BuildRequires: python3-django %description %desc -%package -n python2-factory-boy -Summary: A versatile test fixtures replacement based on thoughtbot's factory_girl -Requires: python2-faker -%{?python_provide:%python_provide python2-factory-boy} -Suggests: %{name}-doc = %{version}-%{release} - -%description -n python2-factory-boy -%desc - %package -n python3-factory-boy Summary: A versatile test fixtures replacement based on thoughtbot's factory_girl Requires: python3-faker @@ -63,7 +50,6 @@ Documentation for the %{name} API %autosetup -n %{srcname}-%{version} %build -%py2_build %py3_build # Build the docs @@ -76,23 +62,12 @@ sed -i 's/\r$//' _build/html/_static/jquery.js popd %install -%py2_install %py3_install install -D -m 644 docs/_build/man/factoryboy.1 %{buildroot}%{_mandir}/man3/factoryboy.3 %check # Checks disabled because they download packages from the Internet -#%%{__python2} setup.py test -#%%if 0%%{?with_python3} -#pushd %%{py3dir} #%%{__python3} setup.py test -#popd -#%%endif - -%files -n python2-factory-boy -%doc README.rst -%{python2_sitelib}/factory -%{python2_sitelib}/%{srcname}-%{version}-py*.egg-info %files -n python3-factory-boy %doc README.rst @@ -106,6 +81,9 @@ install -D -m 644 docs/_build/man/factoryboy.1 %{buildroot}%{_mandir}/man3/facto %{_mandir}/man3/factoryboy.3* %changelog +* Wed Mar 13 2019 Juan Orti Alcaine - 2.11.1-5 +- Drop python2 subpackage + * Sat Feb 02 2019 Fedora Release Engineering - 2.11.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild