Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 888402 Details for
Bug 1089945
Build highlight.pack.js
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
use github sources and build highlight.pack.js
highlight.pack.patch (text/plain), 1.98 KB, created by
Thomas Spura
on 2014-04-22 09:29:27 UTC
(
hide
)
Description:
use github sources and build highlight.pack.js
Filename:
MIME Type:
Creator:
Thomas Spura
Created:
2014-04-22 09:29:27 UTC
Size:
1.98 KB
patch
obsolete
>diff --git a/nodejs-highlight-js.spec b/nodejs-highlight-js.spec >index 813e652..0e771e7 100644 >--- a/nodejs-highlight-js.spec >+++ b/nodejs-highlight-js.spec >@@ -1,13 +1,14 @@ > %{?nodejs_find_provides_and_requires} > > Name: nodejs-highlight-js >-Version: 7.3.0 >-Release: 3%{?dist} >+Version: 8.0 >+Release: 1%{?dist} > Summary: Syntax highlighting with language auto-detection for Node.js > License: BSD > Group: System Environment/Libraries > URL: https://github.com/isagalaev/highlight.js >-Source0: http://registry.npmjs.org/highlight.js/-/highlight.js-%{version}.tgz >+#Source0: http://registry.npmjs.org/highlight.js/-/highlight.js-%{version}.tgz >+Source0: https://github.com/isagalaev/highlight.js/archive/%{version}.tar.gz > # Upstream do not include the LICENSE file in the npm tarball, so include a > # copy from the upstream version control repository for now. > # A request has been sent to include the LICENSE file in the npm tarball: >@@ -16,6 +17,7 @@ Source20: LICENSE > BuildArch: noarch > > BuildRequires: nodejs-devel >+BuildRequires: python3-devel > > %description > Highlight.js highlights syntax in code examples on blogs, forums and, in fact, >@@ -24,17 +26,18 @@ blocks of code, detects a language, and highlights it. > > > %prep >-%setup -q -n package >+%setup -q -n highlight.js-%{version} > cp -p %{SOURCE20} . > > > %build >-#nothing to do >+python3 tools/build.py > > > %install > mkdir -p %{buildroot}%{nodejs_sitelib}/highlight.js >-cp -pr package.json *.js \ >+cp -pr src/package.json src/*.js src/languages/*.js \ >+ build/highlight.pack.js \ > %{buildroot}%{nodejs_sitelib}/highlight.js > > %nodejs_symlink_deps >@@ -46,6 +49,10 @@ cp -pr package.json *.js \ > > > %changelog >+* Tue Apr 22 2014 Thomas Spura <tomspur@fedoraproject.org> - 8.0-1 >+- Use github sources >+- Build highlight.pack.js (needed by ipython) >+ > * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.3.0-3 > - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1089945
: 888402