diff --git a/pytest.spec b/pytest.spec index 091958187a65a1a88ed0ca1c47322c16603870cf..95b6914b9d3d95aa7d2506fc4e68c8b5bac6aad9 100644 --- a/pytest.spec +++ b/pytest.spec @@ -6,7 +6,7 @@ Name: pytest Version: 5.1.2 -Release: 1 +Release: 2 Summary: A mature full-featured Python testing tool License: MIT URL: http://pytest.org @@ -64,6 +64,9 @@ ln -snf pytest-%{python3_version} %{buildroot}%{_bindir}/pytest-3 mv %{buildroot}%{_bindir}/py.test %{buildroot}%{_bindir}/py.test-%{python3_version} ln -snf py.test-%{python3_version} %{buildroot}%{_bindir}/py.test-3 +ln -snf pytest-%{python3_version} %{buildroot}%{_bindir}/pytest +ln -snf py.test-%{python3_version} %{buildroot}%{_bindir}/py.test + %if 0%{?with_help} install -d _htmldocs/html %endif @@ -83,8 +86,10 @@ PYTHONPATH=$RPM_BUILD_ROOT%{python3_sitelib} \ %files -n python3-%{name} %license LICENSE +%{_bindir}/pytest %{_bindir}/pytest-3 %{_bindir}/pytest-%{python3_version} +%{_bindir}/py.test %{_bindir}/py.test-3 %{_bindir}/py.test-%{python3_version} %{python3_sitelib}/pytest-*.egg-info/ @@ -99,6 +104,9 @@ PYTHONPATH=$RPM_BUILD_ROOT%{python3_sitelib} \ %endif %changelog +* Sat Feb 26 2022 huangtianhua - 5.1.2-2 +- Provides pytest and py.test commands + * Tue Feb 08 2022 huangtianhua - 5.1.2-1 - Upgrade to 5.1.2 to support OpenStack Train and drop python2