[nodejs-highlight-js/epel7] use python2 instead of python3 (the latter isn't available in EPEL7)

T.C. Hollingsworth patches at fedoraproject.org
Wed Jul 30 02:56:24 UTC 2014


commit 729a8bb8a42fce7add41ea4fb2152f783d9ca9eb
Author: T.C. Hollingsworth <tchollingsworth at gmail.com>
Date:   Tue Jul 29 19:55:51 2014 -0700

    use python2 instead of python3 (the latter isn't available in EPEL7)

 nodejs-highlight-js.spec |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/nodejs-highlight-js.spec b/nodejs-highlight-js.spec
index dcf234c..3e06294 100644
--- a/nodejs-highlight-js.spec
+++ b/nodejs-highlight-js.spec
@@ -7,7 +7,7 @@
 
 Name:       nodejs-highlight-js
 Version:    8.0.0
-Release:    4%{?dist}
+Release:    5%{?dist}
 Summary:    Highlight.js syntax highlighting with language auto-detection for Node.js
 License:    BSD
 Group:      System Environment/Libraries
@@ -20,7 +20,7 @@ BuildArch:      noarch
 ExclusiveArch:  %{nodejs_arches} noarch
 
 BuildRequires:  nodejs-packaging
-BuildRequires:  python3
+BuildRequires:  python
 BuildRequires:  uglify-js
 BuildRequires:  web-assets-devel
 
@@ -61,11 +61,11 @@ rm -f tools/yuicompressor.jar
 
 %build
 # This creates build/lib/* and build/{package.json,LICENSE,README.md}
-/usr/bin/python3 tools/build.py -t node
+%{__python} tools/build.py -t node
 mv build node
 
 # This creates build/highlight.pack.js
-/usr/bin/python3 tools/build.py
+%{__python} tools/build.py
 mv build browser
 
 
@@ -109,6 +109,9 @@ popd
 
 
 %changelog
+* Wed Jul 30 2014 T.C. Hollingsworth <tchollingsworth at gmail.com> - 8.0.0-5
+- use python2 instead of python3 (the latter isn't available in EPEL7)
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 8.0.0-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list