From 2da81406a5587f8e19b0c3509346e5d2b4962c8d Mon Sep 17 00:00:00 2001 From: Laura Barcziova Date: Thu, 11 May 2023 08:18:47 +0200 Subject: [PATCH 1/2] Make build fail for fedora < 37 --- hello.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hello.spec b/hello.spec index afd23b0d..fbc30232 100644 --- a/hello.spec +++ b/hello.spec @@ -17,6 +17,9 @@ BuildRequires: python3-setuptools %autosetup -n %{name}-%{version} %build +%if 0%{?fedora} < 37 +exit 1 +%endif %py3_build %install From 4cf4a9ed7c3eda757871ddb3df5a06affbd36a5e Mon Sep 17 00:00:00 2001 From: Laura Barcziova Date: Thu, 11 May 2023 08:19:08 +0200 Subject: [PATCH 2/2] Run for stg only --- .packit.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.packit.yaml b/.packit.yaml index dce8acc3..9135b511 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -1,5 +1,5 @@ --- -packit_instances: ["prod", "stg"] +packit_instances: ["stg"] specfile_path: hello.spec files_to_sync: - .packit.yaml