From 845e224bc8a9bb89b431f14c4ec9743696f27921 Mon Sep 17 00:00:00 2001 From: Björn Esser Date: Aug 29 2017 18:17:27 +0000 Subject: Fix for EPEL --- diff --git a/python-xapp.spec b/python-xapp.spec index 8baadb5..f9c42e5 100644 --- a/python-xapp.spec +++ b/python-xapp.spec @@ -9,7 +9,7 @@ Name: python-xapp Version: 1.0.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: %{sum} License: LGPLv2 @@ -30,7 +30,11 @@ Summary: %{sum} BuildRequires: python2-devel BuildRequires: python2-setuptools +%if 0%{?fedora} || 0%{?rhel} >= 8 Requires: python2-psutil +%else # 0#{?fedora} || 0#{?rhel} >= 8 +Requires: python-psutil +%endif # 0#{?fedora} || 0#{?rhel} >= 8 %{?python_provide:%python_provide python2-xapp} @@ -89,6 +93,9 @@ Requires: python3-psutil %changelog +* Tue Aug 29 2017 Björn Esser - 1.0.1-4 +- Fix for EPEL + * Tue Aug 29 2017 Björn Esser - 1.0.1-3 - Conditionalize Python3 for EPEL