From 0145f6f68fab66144b9dd68ed249c7c6673011b8 Mon Sep 17 00:00:00 2001 From: Jan Kaluza Date: Mar 23 2018 06:56:48 +0000 Subject: Remove koji from requirements when building COPR package, because Koji in EPEL7 does not provide the python egg --- diff --git a/.copr/freshmaker.spec.in b/.copr/freshmaker.spec.in index efbcbf6..879e344 100644 --- a/.copr/freshmaker.spec.in +++ b/.copr/freshmaker.spec.in @@ -9,6 +9,7 @@ URL: https://pagure.io/freshmaker Source0: https://files.pythonhosted.org/packages/source/o/%{name}/%{name}-%{version}.tar.gz Patch0: freshmaker-enum34-requirement.patch Patch1: freshmaker-pyldap.py +Patch2: freshmaker-koji.patch %if 0%{?rhel} && 0%{?rhel} <= 7 # In EL7 we need flask which needs python-itsdangerous which comes from @@ -127,6 +128,7 @@ Freshmaker is a service scheduling rebuilds of artifacts as new content becomes %endif %patch1 -p1 -b .pyldap +%patch2 -p1 -b .koji %build