From 0043eedc3cfcbb4908a5e0ccb5fd535b9fc96323617e9ceacb08a88bbf580604 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 14 Apr 2020 12:17:20 +0000 Subject: [PATCH] Fix BRs OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bottle?expand=0&rev=33 --- python-bottle.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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