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 946071 Details for
Bug 1151813
ship browser version of moment
[?]
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]
patch to ship browser js in a js-moment subpackage
0001-ship-browser-js.patch (text/plain), 1.84 KB, created by
Dan Callaghan
on 2014-10-12 02:20:25 UTC
(
hide
)
Description:
patch to ship browser js in a js-moment subpackage
Filename:
MIME Type:
Creator:
Dan Callaghan
Created:
2014-10-12 02:20:25 UTC
Size:
1.84 KB
patch
obsolete
>From 248b8f4423c0c972c53e2dc0d9fee012972e396a Mon Sep 17 00:00:00 2001 >From: Dan Callaghan <dcallagh@redhat.com> >Date: Sat, 11 Oct 2014 15:48:34 +1000 >Subject: [PATCH] ship browser js > > >diff --git a/nodejs-moment.spec b/nodejs-moment.spec >index 822eaa0..f74d9a7 100644 >--- a/nodejs-moment.spec >+++ b/nodejs-moment.spec >@@ -23,6 +23,7 @@ ExclusiveArch: %{ix86} x86_64 %{arm} noarch > %endif > > BuildRequires: nodejs-packaging >+BuildRequires: web-assets-devel > > BuildRequires: uglify-js > BuildRequires: npm(grunt-cli) >@@ -37,11 +38,23 @@ BuildRequires: npm(grunt-env) > BuildRequires: npm(nodeunit) > %endif > >+Requires: js-moment = %{version}-%{release} >+ > > %description > %{summary}. > > >+%package -n js-moment >+Summary: %{summary} >+Requires: web-assets-filesystem >+Group: System Environment/Libraries >+ >+ >+%description -n js-moment >+%{summary}. >+ >+ > %prep > %setup -q -n package > %setup -q -T -D -a 1 -n package >@@ -60,10 +73,16 @@ rm -f min/*.min.js > > > %install >+mkdir -p %{buildroot}%{_jsdir}/moment >+cp -pr lang/ min/ moment.js \ >+ %{buildroot}%{_jsdir}/moment >+ > mkdir -p %{buildroot}%{nodejs_sitelib}/moment > cp -pr package.json bower.json component.json composer.json ender.js \ >- lang/ min/ moment.js package.js \ >+ package.js \ > %{buildroot}%{nodejs_sitelib}/moment >+ln -s %{_jsdir}/lang %{_jsdir}/min %{_jsdir}/moment.js \ >+ %{buildroot}%{nodejs_sitelib}/moment/ > > %nodejs_symlink_deps > >@@ -75,10 +94,14 @@ cp -pr package.json bower.json component.json composer.json ender.js \ > > > %files >-%doc CONTRIBUTING.md LICENSE readme.md > %{nodejs_sitelib}/moment > > >+%files -n js-moment >+%doc CONTRIBUTING.md LICENSE readme.md >+%{_jsdir}/moment >+ >+ > %changelog > * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.0-3 > - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild >-- >1.9.3 >
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 1151813
: 946071