Skip to content

Commit

Permalink
Ensure setup for reproducible builds when testing
Browse files Browse the repository at this point in the history
by adding a changes file, enabling changelog handling and passing a
release when running build during test so we can extract
SOURCE_DATE_EPOCH from these.

Without this it might fail when the distribution where the test is
running is set up to require SOURCE_DATE_EPOCH when rpm is called for
building.
  • Loading branch information
JanZerebecki committed Feb 19, 2024
1 parent f0ba78d commit 008cd16
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/common
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ run_build()
set -- $linux32 $SU_WRAPPER \
$BUILD_DIR/build \
--root "${build_root}" \
--changelog --release 5.23 \
"${repos[@]}" \
"${build_args[@]}"
echo "$@"
Expand Down
5 changes: 5 additions & 0 deletions test/libdummy1.changes
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-------------------------------------------------------------------
Mon Feb 19 08:31:23 UTC 2024 - openSUSE <[email protected]>

- package for testing, build date may be incorrect as this might not be updated

0 comments on commit 008cd16

Please sign in to comment.