forked from pool/strip-nondeterminism
Accepting request 744407 from devel:languages:perl
- Update to version 1.6.1: + Parallelise dh_strip_nondeterminism script. + Correct indentation level of .zip file field format comment. + dh_strip_nondeterminism: Deduplicate hardlinks via stat(2) to avoid issues. + Call file(1) with the "--" argument placeholder to fix normalisation of files. + Check the return status from Archive::Zip when writing file to disk. + Workaround Archive::Zip's incorrect handling of the localExtraField field. + Support timestamp clamping of "tIME" chunks in .png files. + Drop the t/fixtures/zip/bug_803503.zip test fixtures as they are no longer compatible with Archive::Zip >= 1.66. - Drop strip-nondeterminism-0.029-fix-apk.patch: test suite passes without this. - BuildRequire perl(Sub::Override): new dependency. - Drop _service file: it only has a download_url defined, which is also transparently extracted from the spec file. So this service essentially serves no purpose. OBS-URL: https://build.opensuse.org/request/show/744407 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/strip-nondeterminism?expand=0&rev=5
This commit is contained in:
commit
3423958da2
7
_service
7
_service
@ -1,7 +0,0 @@
|
|||||||
<services>
|
|
||||||
<service name="download_url" mode="disabled">
|
|
||||||
<param name="protocol">https</param>
|
|
||||||
<param name="host">reproducible-builds.org</param>
|
|
||||||
<param name="path">/_lfs/releases/strip-nondeterminism/strip-nondeterminism-1.0.0.tar.bz2</param>
|
|
||||||
</service>
|
|
||||||
</services>
|
|
@ -1,13 +0,0 @@
|
|||||||
Index: strip-nondeterminism-1.0.0/lib/File/StripNondeterminism.pm
|
|
||||||
===================================================================
|
|
||||||
--- strip-nondeterminism-1.0.0.orig/lib/File/StripNondeterminism.pm
|
|
||||||
+++ strip-nondeterminism-1.0.0/lib/File/StripNondeterminism.pm
|
|
||||||
@@ -61,7 +61,7 @@ sub get_normalizer_for_file($) {
|
|
||||||
}
|
|
||||||
# jar
|
|
||||||
if (m/\.(jar|war|hpi|apk)$/
|
|
||||||
- && _get_file_type($_) =~ m/(Java|Zip) archive data/) {
|
|
||||||
+ && _get_file_type($_) =~ m/((Java|Zip) archive data)|(Microsoft OOXML)/) {
|
|
||||||
return _handler('jar');
|
|
||||||
}
|
|
||||||
# javadoc
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d51fc5be90e85f385737aa9b6482bbd7d8911f10e9bf5d8ccb0441fa8077d18c
|
|
||||||
size 221245
|
|
@ -1,16 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
|
|
||||||
iQIzBAABCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAlwJV6cACgkQHpU+J9Qx
|
|
||||||
Hljzpg//dTRYNeXikgQQEv00wutz6Sdb7RoPbAaUy+EMtWdlLGuFy+99etlIk1HM
|
|
||||||
BOF835uKqjPweSATASU22HKJTgJjxGLAEBchNkScEnrQ0dbva0l112v4GZXz8E/n
|
|
||||||
l22dlGXMgThO9N72FLD1B8iT7DULSC9VFxUYdHNn6vASRlZZKmkyeVihXcAaM/2K
|
|
||||||
ESGwDgm3L0bMNnX6SoxMvY6t8LL7asok0lfJW3FE7sgLI2te1vLUKJ6BsXUM2gRh
|
|
||||||
2pRRBZzhzbM2ImYN1RyXZnBjb6yGDQcOqkFxsqUoygWuhU6b4bdxbL7C6zNjV0wG
|
|
||||||
zPpc/qUNqd4UZbSw3VzKq1a0oJA9ZtKBXN1k1KxV24DWcGo/SpfVqvE0qqD6ZHil
|
|
||||||
RNtqcSIY2dsuFzjgSEaalsElDOAt9CmCTLZAVIex8wNXPLQpqwAp9aehT7pFTZuB
|
|
||||||
uK5gmi5LPIcs//+2WjpnLL7XPoFIHXnK5YkW7nwAg3SJ7e5/ixhl8nJYdxr9Mpvi
|
|
||||||
3qDEVb6woJF0hp6moZKFTUDv+xRegliBC3S2jCAzEvVAyQnvGX69q3xQTQWNdGnM
|
|
||||||
6KlPfzpS1LjYTp0fPiPMo0/ZrNTQgQUrgugvrXKhUzYKOrpU8hB8aJlFkWvdIX0s
|
|
||||||
bff8q2DsHyHfM71MWG36qA49ZJwpZc0hh+pbn9or7Ded8gEaf6I=
|
|
||||||
=TOk7
|
|
||||||
-----END PGP SIGNATURE-----
|
|
3
strip-nondeterminism-1.6.1.tar.bz2
Normal file
3
strip-nondeterminism-1.6.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e3efa1a41494303c88749e538fb7f9e751a6303654300f8e16a58e52978f6c67
|
||||||
|
size 276727
|
16
strip-nondeterminism-1.6.1.tar.bz2.asc
Normal file
16
strip-nondeterminism-1.6.1.tar.bz2.asc
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQIzBAABCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAl2mJGwACgkQHpU+J9Qx
|
||||||
|
Hli0aBAAg2pnPSsY+YoIDcjrKRfhgb8iS1xCRhCjXZhEVn7BNnPD0B1Gsb4Oa1a7
|
||||||
|
MIbBKQsEaDyiyhvMM5gF7jhRih/z3TALsHV6pO7SxG8aAVRmu4chtarbV6D2TlEj
|
||||||
|
dK2Ydy6+9UTW10ammtUztKL6v9X/lMc/tNWIvpjKoR0jzXYGahWMofjOWrx/lxP4
|
||||||
|
4DggghmazWv3AyDKXnLEj1GYRMGepppxmQxFKcOMnZgVQ/4N6gME7KEMe77hJxf1
|
||||||
|
DNKSJHg0ATWcLNBQbXNch+rV+vrEtycUQhx7QY5EDhWYHSzNzfEwmFrUIwTTLTTQ
|
||||||
|
RMobEI/S0LgrA2khwzwL4HzIyOGqtPFVmBnk5c6djABF1pRJHJKyMZZaNheJ6ImA
|
||||||
|
HJUgElUT5yEawLDrk3D2+lIpR3oT7s+r/xu7EGgM4x+p2fbuwvj5NNhHOc6+I6uX
|
||||||
|
Nid04t80xSxZEa4AynZniEHWVm6rjo1giiKoaI3RDHgGk+KfWnRjobn9cl5AjQID
|
||||||
|
NxQEjdvWbw05dzRB99LMib4ZGQHdG2CKsxD8ihsIN37Aj2rYqWRynzat0BUwgnDQ
|
||||||
|
UWhMIoaVTOJiSMvERJ0kXX4h7+pGGFHQti6TxmE4HAsG2iJpRvDuROcvM7CTQt5V
|
||||||
|
3LPJQmN0hav/0slQd0cGmOkq2yxYK0e+QF6ydcNUH3uYXA36XCs=
|
||||||
|
=1E+U
|
||||||
|
-----END PGP SIGNATURE-----
|
@ -1,3 +1,27 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 29 11:54:17 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Update to version 1.6.1:
|
||||||
|
+ Parallelise dh_strip_nondeterminism script.
|
||||||
|
+ Correct indentation level of .zip file field format comment.
|
||||||
|
+ dh_strip_nondeterminism: Deduplicate hardlinks via stat(2) to
|
||||||
|
avoid issues.
|
||||||
|
+ Call file(1) with the "--" argument placeholder to fix
|
||||||
|
normalisation of files.
|
||||||
|
+ Check the return status from Archive::Zip when writing file to
|
||||||
|
disk.
|
||||||
|
+ Workaround Archive::Zip's incorrect handling of the
|
||||||
|
localExtraField field.
|
||||||
|
+ Support timestamp clamping of "tIME" chunks in .png files.
|
||||||
|
+ Drop the t/fixtures/zip/bug_803503.zip test fixtures as they
|
||||||
|
are no longer compatible with Archive::Zip >= 1.66.
|
||||||
|
- Drop strip-nondeterminism-0.029-fix-apk.patch: test suite passes
|
||||||
|
without this.
|
||||||
|
- BuildRequire perl(Sub::Override): new dependency.
|
||||||
|
- Drop _service file: it only has a download_url defined, which is
|
||||||
|
also transparently extracted from the spec file. So this service
|
||||||
|
essentially serves no purpose.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Dec 15 19:45:06 UTC 2018 - bwiedemann@suse.com
|
Sat Dec 15 19:45:06 UTC 2018 - bwiedemann@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package strip-nondeterminism
|
# spec file for package strip-nondeterminism
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: strip-nondeterminism
|
Name: strip-nondeterminism
|
||||||
Version: 1.0.0
|
Version: 1.6.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A tool for stripping non-deterministic information
|
Summary: A tool for stripping non-deterministic information
|
||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
@ -28,16 +28,16 @@ Source1: https://reproducible-builds.org/_lfs/releases/strip-nondetermini
|
|||||||
Source2: rpmmacros
|
Source2: rpmmacros
|
||||||
Source3: strip-all-nondeterminism
|
Source3: strip-all-nondeterminism
|
||||||
Source4: %{name}.keyring
|
Source4: %{name}.keyring
|
||||||
# PATCH-FIX-OPENSUSE - apk files misdetected as OOXML
|
|
||||||
Patch0: strip-nondeterminism-0.029-fix-apk.patch
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl-base
|
BuildRequires: perl-base
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Archive::Cpio)
|
BuildRequires: perl(Archive::Cpio)
|
||||||
BuildRequires: perl(Archive::Zip)
|
BuildRequires: perl(Archive::Zip)
|
||||||
|
BuildRequires: perl(Sub::Override)
|
||||||
Requires: perl-base
|
Requires: perl-base
|
||||||
Requires: perl(Archive::Zip)
|
Requires: perl(Archive::Zip)
|
||||||
|
Requires: perl(Sub::Override)
|
||||||
Recommends: perl(Archive::Cpio)
|
Recommends: perl(Archive::Cpio)
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user