Accepting request 780322 from home:adkorte
Sort contents of .filemap to make build reproducible OBS-URL: https://build.opensuse.org/request/show/780322 OBS-URL: https://build.opensuse.org/package/show/devel:languages:php/php7-pear?expand=0&rev=17
This commit is contained in:
parent
086bc75037
commit
80ca2a36ea
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 28 08:33:14 UTC 2020 - Arjen de Korte <suse+build@de-korte.org>
|
||||||
|
|
||||||
|
- Sort contents of .filemap to make build reproducible
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Dec 7 22:57:56 UTC 2019 - Arjen de Korte <suse+build@de-korte.org>
|
Sat Dec 7 22:57:56 UTC 2019 - Arjen de Korte <suse+build@de-korte.org>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package php7-pear
|
# spec file for package php7-pear
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LLC
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -98,6 +98,14 @@ php -d date.timezone=UTC -d memory_limit=64M -d short_open_tag=0 -d safe_mode=0
|
|||||||
--metadata %{metadir} \
|
--metadata %{metadir} \
|
||||||
--www %{peardir}/htdocs
|
--www %{peardir}/htdocs
|
||||||
|
|
||||||
|
php -r '$line = file_get_contents("%{buildroot}%{metadir}/.filemap");
|
||||||
|
$filemap = unserialize($line);
|
||||||
|
ksort($filemap);
|
||||||
|
foreach($filemap as &$value) {
|
||||||
|
ksort($value);
|
||||||
|
}
|
||||||
|
file_put_contents("%{buildroot}%{metadir}/.filemap", serialize($filemap));'
|
||||||
|
|
||||||
pushd %{buildroot}%{peardir}
|
pushd %{buildroot}%{peardir}
|
||||||
patch -p1 < %{PATCH0}
|
patch -p1 < %{PATCH0}
|
||||||
popd
|
popd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user