Bug 1358915

Summary: nodejs-source-map: Include dist/*.js in the pacakge
Product: [Fedora] Fedora Reporter: Jun Aruga <jaruga>
Component: nodejs-source-mapAssignee: NodeJS Packaging SIG <nodejs-sig>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 31CC: e, nodejs-sig, tchollingsworth, vondruch, zsvetlik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-24 18:11:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jun Aruga 2016-07-21 18:44:54 UTC
Description of problem:

Is there possible to include dist/*.js in the pacakge?
such as /builddir/build/BUILD/source-map-0.5.6/dist/source-map.js

I want to use the file at rubygem-uglifier pacakge.

I could see below logic is disabled by bootstrap flag right now in the nodejs-source-map.spec file. I want you to enable the line, even if npm(webpack) is not packaged.

cp -p dist/*.js %{buildroot}%{_datadir}/%{name}/


Version-Release number of selected component (if applicable):
nodejs-source-map-0.5.6-1.fc25


How reproducible:


Steps to Reproduce:
1. mock -r fedora-rawhide-x86_64 nodejs-source-map-0.5.6-1.fc25.src.rpm



Additional info:

Comment 1 Tom Hughes 2016-07-22 07:58:17 UTC
Well Fedora policy is that everything should be built from source, so before we can ship those files we need to be able to build them, which means having webpack packaged.

Comment 2 Jun Aruga 2016-07-22 08:11:38 UTC
(In reply to Tom Hughes from comment #1)
> Well Fedora policy is that everything should be built from source, so before
> we can ship those files we need to be able to build them, which means having
> webpack packaged.

Hi, Tom.
Okay, I understood it. I would use it after you am going to package the webpack.
Do you have a plan to package it?
When are you likely to package it?

Comment 3 Jan Kurik 2016-07-26 04:50:44 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.

Comment 4 Vít Ondruch 2016-07-27 15:35:53 UTC
Actually, it would be nice if nodejs-source-map can provide js-source-map subpackage (when you are on it).

Comment 5 Jun Aruga 2016-12-16 17:34:53 UTC
Hello,
Any update?

Comment 6 Tom Hughes 2016-12-16 17:36:33 UTC
Nope. Packaging webpack (and all it's dependencies) is a massive job and as far as I know nobody is working on it.

Comment 7 Jun Aruga 2016-12-16 18:46:06 UTC
ok! got it!

Comment 8 Fedora End Of Life 2017-11-16 18:39:08 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 9 Vít Ondruch 2017-11-20 13:55:17 UTC
Any update here? It does not look weback is in Fedora yet, though. Not sure if that is still blocker ...

Comment 10 Jun Aruga 2017-11-20 14:21:51 UTC
Still blocker on rubygem-uglifier if people mind bundled source-map.

rubygem-uglifier.spec

```
...
Provides: bundled(nodejs-source-map) = %{source_map_version}
...
```

Comment 11 Fedora End Of Life 2018-02-20 15:24:12 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.

Comment 12 Ben Cotton 2019-05-02 22:07:12 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora 'version' of '28'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 28 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 13 Vít Ondruch 2019-05-03 10:23:04 UTC
I doubt this was resolved ...

Comment 14 Ben Cotton 2019-08-13 17:04:04 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to '31'.

Comment 15 Ben Cotton 2019-08-13 19:23:57 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to 31.

Comment 16 Ben Cotton 2020-11-03 14:57:45 UTC
This message is a reminder that Fedora 31 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 31 on 2020-11-24.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '31'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 31 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 17 Ben Cotton 2020-11-24 18:11:40 UTC
Fedora 31 changed to end-of-life (EOL) status on 2020-11-24. Fedora 31 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.