diff --git a/python-bottle.spec b/python-bottle.spec index e1fd98d..aece78b 100644 --- a/python-bottle.spec +++ b/python-bottle.spec @@ -29,6 +29,8 @@ Source2: https://raw.githubusercontent.com/bottlepy/bottle/release-0.12/L BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros BuildArch: noarch +Requires(post): update-alternatives +Requires(postun): update-alternatives %python_subpackages %description @@ -41,8 +43,6 @@ no dependencies other than the Python Standard Library. %package -n %{name}-doc Summary: Documentation for %{name} Provides: %{python_module bottle-doc = %{version}} -Requires(post): update-alternatives -Requires(postun): update-alternatives %description -n %{name}-doc Bottle is a micro-framework for small web applications. It offers