diff --git a/python-flasgger.changes b/python-flasgger.changes index 105ea63..2eb65f5 100644 --- a/python-flasgger.changes +++ b/python-flasgger.changes @@ -2,6 +2,7 @@ Sun Oct 23 10:03:15 UTC 2022 - John Vandenberg - Re-activate test suite +- Also remove the conditional definition of python_module. ------------------------------------------------------------------- Thu Apr 28 07:23:15 UTC 2022 - Markéta Machová diff --git a/python-flasgger.spec b/python-flasgger.spec index 08d2d5c..019381c 100644 --- a/python-flasgger.spec +++ b/python-flasgger.spec @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-flasgger Version: 0.9.5 Release: 0 @@ -51,15 +50,20 @@ Flasgger is a Flask extension to extract OpenAPI=Specification from all Flask vi %prep %setup -q -n flasgger-%{version} + # Examples directory is not included in PyPI release rm tests/test_examples.py +find . -name .DS_Store -print -delete + %build %python_build %install %python_install -%python_expand %fdupes %{buildroot}%{$python_sitelib} +%{python_expand chmod -x %{buildroot}%{$python_sitelib}/flasgger/ui2/static/lang/*.js +%fdupes %{buildroot}%{$python_sitelib} +} %check %pytest tests/