diff --git a/python-packaging.spec b/python-packaging.spec index 0d360d7..b076044 100644 --- a/python-packaging.spec +++ b/python-packaging.spec @@ -1,8 +1,5 @@ %global pypi_name packaging -# Specify --without wheel to prevent building the wheel -%bcond_without wheel - # Specify --without docs to prevent the dependency loop on python-sphinx %bcond_without docs @@ -35,10 +32,8 @@ BuildRequires: python%{python3_pkgversion}-pretend BuildRequires: python%{python3_pkgversion}-sphinx %endif -%if %{with wheel} BuildRequires: python%{python3_pkgversion}-pip BuildRequires: python%{python3_pkgversion}-wheel -%endif %description python-packaging provides core utilities for Python packages like utilities for @@ -66,11 +61,7 @@ Documentation for python-packaging rm -rf %{pypi_name}.egg-info %build -%if %{with wheel} %py3_build_wheel -%else -%py3_build -%endif %if %{with docs} # generate html docs @@ -82,11 +73,7 @@ rm -rf html/_static/fonts/ %endif %install -%if %{with wheel} %py3_install_wheel %{python_wheelname} -%else -%py3_install -%endif %if %{with tests} %check