Skip to content

Commit

Permalink
Drop .package-lock.json (#1576)
Browse files Browse the repository at this point in the history
Drop (leftover?) .package-lock.json for reproducible builds

## Problem

The .package-lock.json file containted a random TCP port number, which
made build results vary.


- *Bugzilla link* [generic tracker
bug](https://bugzilla.opensuse.org/show_bug.cgi?id=1062303)


## Solution

We drop the file. If that is not appropriate, we could replace the
random number with a constant.


## Testing

- tested that it builds reproducibly.
  • Loading branch information
imobachgs authored Sep 5, 2024
2 parents fde927e + 1dfa063 commit 4153b45
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions puppeteer/package/agama-integration-tests.spec
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ cp -a %{_builddir}/agama/package.json %{buildroot}%{_datadir}/agama/integration-
install -D -d -m 0755 %{buildroot}%{_bindir}
cp -a %{_builddir}/agama/agama-integration-tests %{buildroot}%{_bindir}

rm %{buildroot}%{_datadir}/agama/integration-tests/node_modules/.package-lock.json

# symlink duplicate files
%fdupes -s %{buildroot}/%{_datadir}/agama/integration-tests

Expand Down

0 comments on commit 4153b45

Please sign in to comment.