From 30a0ba9cdc7600560624d423f0af2be9a532b41b Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Mon, 14 Aug 2023 18:53:07 +0200 Subject: [PATCH] Cover python2 in Requires too --- cups.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cups.spec b/cups.spec index 45191ce..0237d99 100644 --- a/cups.spec +++ b/cups.spec @@ -168,7 +168,11 @@ Requires(preun): systemd Requires(postun): systemd # for upgrade-get-document script - remove after C10S is released and F40 is EOL +%if %{with python3} Requires(post): python3 +%else +Requires(post): python +%endif %package client