diff --git a/python-tox.spec b/python-tox.spec index ca958a7..a674241 100644 --- a/python-tox.spec +++ b/python-tox.spec @@ -1,22 +1,31 @@ %global _empty_manifest_terminate_build 0 Name: python-tox -Version: 3.27.0 +Version: 3.28.0 Release: 1 Summary: Virtualenv-based automation of test activities License: MIT URL: https://tox.readthedocs.io -Source0: https://files.pythonhosted.org/packages/86/71/604b19466b3310a02fdc2baf4b559d8f49bf932a7e6f976a238e2bb54516/tox-3.27.0.tar.gz +Source0: %{pypi_source tox} BuildArch: noarch Requires: python3-devel +# Base build requires +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-setuptools_scm +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-editables +BuildRequires: python3-hatch-vcs +BuildRequires: python3-hatchling + %description At its core tox povides a convenient way to run arbitrary commands in isolated environments to serve as a single entry point for build, test and release activities. %package -n python3-tox Summary: Virtualenv-based automation of test activities Provides: python-tox = %{version}-%{release} -BuildRequires: python3-devel python3-setuptools python3-setuptools_scm %description -n python3-tox At its core tox povides a convenient way to run arbitrary commands in isolated environments to serve as a single entry point for build, test and release activities. @@ -30,27 +39,30 @@ At its core tox povides a convenient way to run arbitrary commands in isolated e %prep %autosetup -p1 -n tox-%{version} -rm -rf tox.egg-info %build -%_bindir/python3 setup.py build '--executable=%_bindir/python3 -s' +%pyproject_build %install -%_bindir/python3 setup.py install -O1 --skip-build --root %buildroot +%pyproject_install tox==%{version} %files -n python3-tox %defattr(-,root,root) %license LICENSE %{_bindir}/tox %{_bindir}/tox-quickstart -%_prefix/lib/python%{python3_version}/site-packages/tox/ -%_prefix/lib/python%{python3_version}/site-packages/*.egg-info/ +%{python3_sitelib}/tox/ +%{python3_sitelib}/tox*.dist-info/ +%doc README.md %files help %defattr(-,root,root) %doc docs/changelog/README.rst %changelog +* Wed Apr 26 2023 Dongxing Wang - 3.28.0-1 +- Update package to version 3.28.0 + * Tue Nov 01 2022 wangjunqi - 3.27.0-1 - Update package to version 3.27.0 diff --git a/tox-3.27.0.tar.gz b/tox-3.27.0.tar.gz deleted file mode 100644 index c77c42e..0000000 Binary files a/tox-3.27.0.tar.gz and /dev/null differ diff --git a/tox-3.28.0.tar.gz b/tox-3.28.0.tar.gz new file mode 100644 index 0000000..af5873f Binary files /dev/null and b/tox-3.28.0.tar.gz differ