[python-inotify/f18] make with_python3 be conditional on fedora

Jakub Filak jfilak at fedoraproject.org
Mon Feb 18 13:15:35 UTC 2013


commit 68a261806aeeab7ab17d2d376e6e69256f1f548f
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 4ebb306..8c12b20 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:       1%{?dist}
+Release:       2%{?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-2
+- make with_python3 be conditional on fedora
+
 * Tue Dec 04 2012 Terje Rosten <terje.rosten at ntnu.no> - 0.9.4-1
 - 0.9.4
 


More information about the scm-commits mailing list