[python-inotify] make with_python3 be conditional on fedora

Jakub Filak jfilak at fedoraproject.org
Mon Feb 18 13:16:06 UTC 2013


commit d3e3e0a68d65d3ef8a33907a7dd4c001bb2ef2cb
Author: Jakub Filak <jfilak at redhat.com>
Date:   Fri Feb 15 11:06:39 2013 +0100

    make with_python3 be conditional on fedora

 python-inotify.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/python-inotify.spec b/python-inotify.spec
index e9f6f50..78df5c0 100644
--- a/python-inotify.spec
+++ b/python-inotify.spec
@@ -1,4 +1,6 @@
+%if 0%{?fedora}
 %global with_python3 1
+%endif
 
 %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")}
 
@@ -7,7 +9,7 @@
 Summary:       Monitor filesystem events with Python under Linux
 Name:          python-inotify
 Version:       0.9.4
-Release:       2%{?dist}
+Release:       3%{?dist}
 License:       MIT
 Group:         Development/Libraries
 URL:           https://github.com/seb-m/pyinotify
@@ -113,6 +115,9 @@ popd
 %endif
 
 %changelog
+* Fri Feb 15 2013 Jakub Filak <jfilak at redhat.com> - 0.9.4-3
+- make with_python3 be conditional on fedora
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.4-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list