Accepting request 1057779 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1057779 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/strip-nondeterminism?expand=0&rev=7
This commit is contained in:
commit
66de5e083d
25
f1017c67.patch
Normal file
25
f1017c67.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From f1017c675abea533bd60272f1bedfbccf759b9c9 Mon Sep 17 00:00:00 2001
|
||||||
|
From: FC Stegerman <flx@obfusk.net>
|
||||||
|
Date: Sun, 1 Jan 2023 22:14:22 +0100
|
||||||
|
Subject: [PATCH] update pyzip regex for latest file(1)
|
||||||
|
|
||||||
|
---
|
||||||
|
lib/File/StripNondeterminism.pm | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/lib/File/StripNondeterminism.pm b/lib/File/StripNondeterminism.pm
|
||||||
|
index fc5451e..338a514 100644
|
||||||
|
--- a/lib/File/StripNondeterminism.pm
|
||||||
|
+++ b/lib/File/StripNondeterminism.pm
|
||||||
|
@@ -111,7 +111,7 @@ sub get_normalizer_for_file($) {
|
||||||
|
}
|
||||||
|
|
||||||
|
# pyzip - check last due to call to file(1)
|
||||||
|
- if (_get_file_type($_) =~ m/python3 script executable \(binary data\)/) {
|
||||||
|
+ if (_get_file_type($_) =~ m/python3 script executable \((Zip archive|binary data)\)/) {
|
||||||
|
my $handler = _handler('pyzip');
|
||||||
|
return $handler
|
||||||
|
if File::StripNondeterminism::handlers::pyzip::is_pyzip_file($_);
|
||||||
|
--
|
||||||
|
GitLab
|
||||||
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 11 11:53:54 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Add f1017c67.patch: Support the magic format as returned by file
|
||||||
|
5.44 (plus commit dc71304b).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jun 14 10:21:07 UTC 2021 - Bernhard Wiedemann <bwiedemann@suse.com>
|
Mon Jun 14 10:21:07 UTC 2021 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package strip-nondeterminism
|
# spec file for package strip-nondeterminism
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2023 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
|
||||||
@ -28,6 +28,7 @@ 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
|
||||||
|
Patch0: https://salsa.debian.org/reproducible-builds/strip-nondeterminism/-/commit/f1017c67.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl-base
|
BuildRequires: perl-base
|
||||||
|
Loading…
x
Reference in New Issue
Block a user