[will-crash/el6] Fix python3 for el6

Richard Marko rmarko at fedoraproject.org
Mon Jul 30 09:21:03 UTC 2012


commit f1ced06f3d28061958b48b734da366299a930375
Author: Richard Marko <rissko at gmail.com>
Date:   Mon Jul 30 11:19:37 2012 +0200

    Fix python3 for el6

 will-crash.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/will-crash.spec b/will-crash.spec
index d891a85..345bbab 100644
--- a/will-crash.spec
+++ b/will-crash.spec
@@ -2,7 +2,7 @@
 
 Name:           will-crash
 Version:        0.2
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Set of crashing executables written in various languages
 
 Group:          Development/Tools
@@ -14,7 +14,11 @@ BuildRequires:  autoconf
 BuildRequires:  automake
 Requires:       ruby
 Requires:       python
+
+# Don't require python3 for el6
+%if 0%{?rhel} != 6
 Requires:       python3
+%endif
 
 %description
 The main purpose of this project is to provide sample
@@ -43,6 +47,8 @@ make install DESTDIR=%{buildroot}
 %{_bindir}/will_ruby_raise
 
 %changelog
+* Wed Jul 25 2012 Richard Marko <rmarko at redhat.com> - 0.2-2
+- Don't require python3 for el6
 * Wed Jul 25 2012 Richard Marko <rmarko at redhat.com> - 0.2-1
 - Version bump
 * Mon Jul 23 2012 Richard Marko <rmarko at redhat.com> - 0.1-2


More information about the scm-commits mailing list