don't build py3 module on epel7

This commit is contained in:
Matthias Runge 2014-02-18 19:28:38 +01:00
parent 7ec06645b1
commit 7e1476423b

View File

@ -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 <mrunge@redhat.com> - 0.6.1-3
- epel doesn't have python3
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild