From 185ceba6379ad2ae9e4255cc2a80435f69803753f33328917c595932e51118e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Wed, 8 Aug 2018 08:43:15 +0000 Subject: [PATCH] Accepting request 628022 from home:mimi_vx:branches:devel:languages:python:flask - py_compile all OBS-URL: https://build.opensuse.org/request/show/628022 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask-RESTful?expand=0&rev=2 --- python-Flask-RESTful.changes | 5 +++++ python-Flask-RESTful.spec | 8 ++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) 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}/*