diff --git a/python-tox-current-env.spec b/python-tox-current-env.spec index c8edb91..a5e64b3 100644 --- a/python-tox-current-env.spec +++ b/python-tox-current-env.spec @@ -1,14 +1,11 @@ -%global pypi_name tox-current-env -%global pypi_under tox_current_env - -Name: python-%{pypi_name} +Name: python-tox-current-env Version: 0.0.8 Release: 4%{?dist} Summary: Tox plugin to run tests in current Python environment License: MIT URL: https://github.com/fedora-python/tox-current-env -Source0: %{pypi_source} +Source0: %{pypi_source tox-current-env} BuildArch: noarch BuildRequires: python%{python3_pkgversion}-devel @@ -25,16 +22,16 @@ BuildRequires: python%{python3_pkgversion}-pytest-xdist The tox-current-env plugin allows to run tests in current Python environment. -%package -n python%{python3_pkgversion}-%{pypi_name} +%package -n python%{python3_pkgversion}-tox-current-env Summary: %{summary} -%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}} +%{?python_provide:%python_provide python%{python3_pkgversion}-tox-current-env} -%description -n python%{python3_pkgversion}-%{pypi_name} +%description -n python%{python3_pkgversion}-tox-current-env The tox-current-env plugin allows to run tests in current Python environment. %prep -%autosetup -n %{pypi_name}-%{version} +%autosetup -n tox-current-env-%{version} %generate_buildrequires @@ -48,7 +45,7 @@ The tox-current-env plugin allows to run tests in current Python environment. %install %pyproject_install -%pyproject_save_files %{pypi_under} +%pyproject_save_files tox_current_env %check @@ -59,7 +56,7 @@ The tox-current-env plugin allows to run tests in current Python environment. %pytest -k "not regular and not noquiet_installed_packages[None]" -%files -n python%{python3_pkgversion}-%{pypi_name} -f %{pyproject_files} +%files -n python%{python3_pkgversion}-tox-current-env -f %{pyproject_files} %doc README.rst