From 7e1476423b34c499397f7b482a614aa38a1fad75 Mon Sep 17 00:00:00 2001 From: Matthias Runge Date: Tue, 18 Feb 2014 19:28:38 +0100 Subject: [PATCH] don't build py3 module on epel7 --- python-psutil.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/python-psutil.spec b/python-psutil.spec index 6682730..0160c5f 100644 --- a/python-psutil.spec +++ b/python-psutil.spec @@ -1,4 +1,6 @@ +%if 0%{?fedora} %global with_python3 1 +%endif %global short_name psutil # Filter Python modules from Provides @@ -9,7 +11,7 @@ Name: python-psutil Version: 0.6.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A process and system utilities module for Python Group: Development/Languages @@ -107,6 +109,9 @@ chmod 0755 $RPM_BUILD_ROOT%{python3_sitearch}/*.so %changelog +* Tue Feb 18 2014 Matthias Runge - 0.6.1-3 +- epel doesn't have python3 + * Thu Feb 14 2013 Fedora Release Engineering - 0.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild