[libselinux] 2.1.11-5: make with_python3 be conditional on fedora

dmalcolm dmalcolm at fedoraproject.org
Wed Aug 1 20:35:24 UTC 2012


commit 7ca2991d381ee7cc12212dbf72dff8402d0489bb
Author: David Malcolm <dmalcolm at redhat.com>
Date:   Wed Aug 1 16:34:26 2012 -0400

    2.1.11-5: make with_python3 be conditional on fedora

 libselinux.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/libselinux.spec b/libselinux.spec
index 6f4edd0..58acb96 100644
--- a/libselinux.spec
+++ b/libselinux.spec
@@ -1,4 +1,6 @@
+%if 0%{?fedora} > 12
 %global with_python3 1
+%endif
 
 %define ruby_inc %(pkg-config --cflags ruby-1.9)
 %define ruby_sitearch %(ruby -rrbconfig -e "puts RbConfig::CONFIG['vendorarchdir']")
@@ -8,7 +10,7 @@
 Summary: SELinux library and simple utilities
 Name: libselinux
 Version: 2.1.11
-Release: 4%{?dist}
+Release: 5%{?dist}
 License: Public Domain
 Group: System Environment/Libraries
 Source: %{name}-%{version}.tgz
@@ -233,6 +235,9 @@ rm -rf %{buildroot}
 %{ruby_sitearch}/selinux.so
 
 %changelog
+* Wed Aug  1 2012 David Malcolm <dmalcolm at redhat.com> - 2.1.11-5
+- make with_python3 be conditional on fedora
+
 * Thu Jul 19 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.1.11-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list