diff --git a/python-Flask-RESTful.changes b/python-Flask-RESTful.changes index 89c2c02..18d5ea3 100644 --- a/python-Flask-RESTful.changes +++ b/python-Flask-RESTful.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Aug 8 08:42:33 UTC 2018 - mimi.vx@gmail.com + +- py_compile all + ------------------------------------------------------------------- Wed Jul 25 19:06:19 UTC 2018 - dmueller@suse.com diff --git a/python-Flask-RESTful.spec b/python-Flask-RESTful.spec index 80527a4..85ce8ff 100644 --- a/python-Flask-RESTful.spec +++ b/python-Flask-RESTful.spec @@ -37,7 +37,7 @@ BuildArch: noarch %python_subpackages %description - +Flask-RESTful provides the building blocks for creating a great REST API. %prep %setup -q -n Flask-RESTful-%{version} @@ -45,9 +45,13 @@ BuildArch: noarch %build %python_build + + %install %python_install -%python_expand %fdupes %{buildroot}%{$python_sitelib} +%py_compile %{buildroot}%{python_sitelib} +%py3_compile %{buildroot}%{python3_sitelib}/flask_restful/ +%python_expand %fdupes %{buildroot}%{$python_sitelib}/flask_restful/ %files %{python_files} %{python_sitelib}/*