Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
[packaging] add "js()" to the bundled javascript libs
Browse files Browse the repository at this point in the history
example:

Provides: bundled(js(foo)) = version

instead of

Provides: bundled(foo) = version

to make it explicit foo is a javascript lib

Signed-off-by: Jordi Massaguer Pla <[email protected]>
  • Loading branch information
jordimassaguerpla committed Mar 28, 2018
1 parent 9ee98db commit 279de0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packaging/suse/make_spec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ pushd build/$packagename-$branch/
for js in $(NODE_ENV=production yarn -s list --depth=0 | tr "@" " "); do
js_name=$(echo $js | awk '{ print $2 }')
js_version=$(echo $js | awk '{ print $3 }')
js_provides="$js_provides\nProvides: bundled($js_name) = $js_version"
js_provides="$js_provides\nProvides: bundled(js($js_name)) = $js_version"
done
popd

Expand Down

0 comments on commit 279de0a

Please sign in to comment.