From f1bcf5c26188b1fba60d30d6779eb8511564b190 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Thu, 3 Oct 2019 08:35:29 +0200 Subject: [PATCH 1/2] do not require obsoleted fedora-cert fedora-cert does not exists on Fedora 31+ It has been obsoleted by fedora-packager, but not provided https://src.fedoraproject.org/rpms/fedora-packager/blob/master/f/fedora-packager.spec#_23 This make tito uninstallable on Fedora 31+. --- tito.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tito.spec b/tito.spec index f56447d..f7813e5 100644 --- a/tito.spec +++ b/tito.spec @@ -64,7 +64,9 @@ BuildRequires: rpm-python3 Requires: rpm-build Requires: rpmlint Requires: fedpkg +%if 0%{?fedora} && 0%{?fedora} < 31 Requires: fedora-cert +%endif Requires: fedora-packager Requires: rpmdevtools # Cheetah doesn't exist for Python 3, but it's what Mead uses. We From 72e51fe8336b4abb83e8faa19261f2536fddf4b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Thu, 3 Oct 2019 08:38:12 +0200 Subject: [PATCH 2/2] disable macro in comment macros are evaluated even in comments --- tito.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tito.spec b/tito.spec index f7813e5..28ac928 100644 --- a/tito.spec +++ b/tito.spec @@ -51,7 +51,7 @@ BuildRequires: tar BuildRequires: which %if 0%{?fedora} -# todo: add %check to spec file in accordance with +# todo: add %%check to spec file in accordance with # https://fedoraproject.org/wiki/QA/Testing_in_check BuildRequires: git BuildRequires: python-bugzilla