diff --git a/python-appdirs.spec b/python-appdirs.spec index 93bc03407ca4696130467831ec37a631a2e68872..097e5f546bfef7c39af9ef732a86784934a33b72 100644 --- a/python-appdirs.spec +++ b/python-appdirs.spec @@ -3,12 +3,12 @@ name: python-%{srcname} Version: 1.4.4 -Release: 4 +Release: 5 Summary: A Python module for determining platform-specific directories License: MIT URL: https://github.com/ActiveState/appdirs -Source0: %{pypi_source} +Source0: %{pypi_source appdirs} BuildArch: noarch @@ -40,7 +40,7 @@ sed -i -e '1{\@^#!/usr/bin/env python@d}' %{buildroot}%{python3_sitelib}/appdirs %check %if %{with_tests} -%{__python3} setup.py test +%{__python3} -m unittest discover %endif %files -n python3-appdirs @@ -49,6 +49,9 @@ sed -i -e '1{\@^#!/usr/bin/env python@d}' %{buildroot}%{python3_sitelib}/appdirs %{python3_sitelib}/__pycache__/appdirs.* %changelog +* Wed Jul 16 2025 yaoxin <1024769339@qq.com> - 1.4.4-5 +- Fix build failure due to setuptools updated + * Tue Dec 13 2022 zhuofeng - 1.4.4-4 - Type:bugfix - CVE:NA diff --git a/python-appdirs.yaml b/python-appdirs.yaml new file mode 100644 index 0000000000000000000000000000000000000000..8d93082f08aeef6872994c5ac555f50d4eddebc9 --- /dev/null +++ b/python-appdirs.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: ActiveState/appdirs +tag_prefix: ^ +separator: .