Build and ship LICENSE file
Bring back terser-webpack-plugin from commitc52136c051and re-enable it. It builds the autogenerated dist/index.js.LICENSE.txt which is quite important for shipping distribution packages -- c-{podman,machines} both do this. Backport95021c336eto make sure that the webpack for the release tarball is *actually* built in production mode.
This commit is contained in:
parent
c52136c051
commit
2624dbb891
4 changed files with 6 additions and 2 deletions
|
|
@ -27,6 +27,8 @@ appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*
|
|||
find %{buildroot}%{_datadir}/cockpit/ -name '*.map' | xargs --no-run-if-empty rm --verbose
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE dist/index.js.LICENSE.txt
|
||||
%{_datadir}/cockpit/*
|
||||
%{_datadir}/metainfo/*
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue