diff --git a/python-parse_type.spec b/python-parse_type.spec index 321dd2d..b41f413 100644 --- a/python-parse_type.spec +++ b/python-parse_type.spec @@ -1,5 +1,5 @@ Name: python-parse_type -Version: 0.5.2 +Version: 0.6.0 Release: 1 Summary: Make parse types building more easier by parse module License: BSD @@ -38,7 +38,10 @@ rm -rf python3/*.egg-info %build cd python3 -sed -i -e '/use_2to3/s/\S.*/pass/' setup.py +# remove deps on pytest-html +sed -i -e '/^\s*pytest-html >= /d' tox.ini +sed -i -e '/^\s*"pytest-html >= /d' setup.py + %py3_build %install @@ -48,6 +51,13 @@ cd python3 %check cd python3 +sed -i \ + -e '/^addopts = --metadata PACKAGE_UNDER_TEST parse_type/d' \ + -e '/^ --metadata PACKAGE_VERSION [0-9].[0-9].[0-9]/d' \ + -e '\% --html=build/testing/report.html --self-contained-html%d' \ + -e '\% --junit-xml=build/testing/report.xml%d' \ + pytest.ini + %{__python3} setup.py test @@ -56,6 +66,9 @@ cd python3 %{python3_sitelib}/{parse_type-%{version}-*.egg-info/,parse_type/} %changelog +* Wed Apr 12 2023 liyanan - 0.6.0-1 +- Update to 0.6.0 + * Thu Jun 23 2022 SimpleUpdate Robot - 0.5.2-1 - Upgrade to version 0.5.2 diff --git a/v0.5.2.tar.gz b/v0.5.2.tar.gz deleted file mode 100644 index 3e4d0f3..0000000 Binary files a/v0.5.2.tar.gz and /dev/null differ diff --git a/v0.6.0.tar.gz b/v0.6.0.tar.gz new file mode 100644 index 0000000..0ca7202 Binary files /dev/null and b/v0.6.0.tar.gz differ