Accepting request 990637 from home:bmwiedemann:branches:network:cluster
make slurmtest.tar reproducible OBS-URL: https://build.opensuse.org/request/show/990637 OBS-URL: https://build.opensuse.org/package/show/network:cluster/slurm?expand=0&rev=213
This commit is contained in:
parent
e067a36989
commit
fd509c0258
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 21 19:20:42 UTC 2022 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||
|
||||
- make slurmtest.tar reproducible
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 14 15:20:46 UTC 2022 - Egbert Eich <eich@suse.com>
|
||||
|
||||
|
@ -873,7 +873,13 @@ EOF
|
||||
mkdir -p %{buildroot}/srv/slurm-testsuite/shared
|
||||
mkdir -p %{buildroot}%_localstatedir/lib/slurm/shared
|
||||
cd %{buildroot}/srv/slurm-testsuite
|
||||
tar --group=%slurm_g --owner=%slurm_u -cjf /tmp/slurmtest.tar.bz2 *
|
||||
find -type f -name "*.[ao]" -print | while read f; do
|
||||
# drop non-deterministic lto bits from .o files
|
||||
strip -p --discard-locals -R .gnu.lto_* -R .gnu.debuglto_* -N __gnu_lto_v1 $f
|
||||
done
|
||||
tar --group=%slurm_g --owner=%slurm_u \
|
||||
--sort=name --mtime="@${SOURCE_DATE_EPOCH:-`date +%%s`}" --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime \
|
||||
-cjf /tmp/slurmtest.tar.bz2 *
|
||||
cd -
|
||||
rm -rf %{buildroot}/srv/slurm-testsuite
|
||||
mkdir -p %{buildroot}/srv/slurm-testsuite
|
||||
|
Loading…
Reference in New Issue
Block a user