From eb35d7baac307b48f1f757bb99f2ee886bf1c1dd Mon Sep 17 00:00:00 2001 From: soksanichenko Date: Fri, 11 Nov 2022 01:38:14 +0200 Subject: [PATCH] - Unify branch for both RHEL versions --- pungi.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pungi.spec b/pungi.spec index 760f021b..c3e84b86 100644 --- a/pungi.spec +++ b/pungi.spec @@ -10,9 +10,7 @@ URL: https://pagure.io/pungi Source0: %{name}-%{version}.tar.bz2 BuildRequires: make -BuildRequires: python3-nose BuildRequires: python3-pytest -BuildRequires: python3-mock BuildRequires: python3-pyfakefs BuildRequires: python3-ddt BuildRequires: python3-devel @@ -40,7 +38,9 @@ BuildRequires: python3-createrepo_c >= 0.20.1 BuildRequires: python3-dogpile-cache BuildRequires: python3-parameterized BuildRequires: python3-gobject-base +%if %{rhel} == 8 BuildRequires: python3-dataclasses +%endif BuildRequires: python3-pgpy #deps for doc building @@ -50,7 +50,9 @@ Requires: python3-kobo-rpmlib >= 0.18.0 Requires: python3-productmd >= 1.33 Requires: python3-kickstart Requires: python3-requests -Requires: python3-dataclasses +%if %{rhel} == 8 +Requires: python3-dataclasses +%endif Requires: createrepo_c >= 0.20.1 Requires: koji >= 1.10.1-13 Requires: python3-koji-cli-plugins