Accepting request 899924 from devel:languages:perl

- Update to version 1.12.0
  * Also normalise PO-Revision-Date in addition to POT-Creation-Date.
  * Ignore unwritable files, printing a warning.
  * Add a warning message under --verbose statement when the Archive::Cpio
    package is missing. (MR: reproducible-builds/strip-nondeterminism!6)
  * Fix an off-by-one error when parsing PNG modification times.

- Move macros.strip-nondeterminism from /etc/rpm to
  %{_rpmmacrodir} (boo#1185657).
- Install the macro file non-executable: it is loaded by rpm, never
  run.

OBS-URL: https://build.opensuse.org/request/show/899924
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/strip-nondeterminism?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2021-06-16 18:33:27 +00:00 committed by Git OBS Bridge
commit 793a08ab2e
6 changed files with 46 additions and 28 deletions

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9cc3f51a2258dca1df4cbd2fdaaa2a2bdd22c0c25fcaf1af363558fa6a458ac7
size 279423

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAmCVJfUACgkQHpU+J9Qx
HlhZkBAAjIRVCIU8uwf0NXVri/JDamQC6vd3oMj6A/YqTxNKFxsxyZs+pri9zrS8
GV3AeyaajNRXXUkeaxI4v2XIFEP5aZtZGcKW0zGeWYDw5Fppb0VJitd4l0UUs2ca
50QxSGajuHBlVPsNkcV2NsfI8Tdwnj5tFrt5XTeYItDNBqb6obMMDTCFUd+tAWSC
BQAW+z6KttvRrER6tLgWytb5NzAgXx9eRlxy7zZpntDah6O+0p9g1m4BvQlolMf+
gMMxHtjJRGLmB5pW+aYDssjbdJO5jbx3xOqbD12cs4hSTGA+GnE5t+euYUCUT2gH
MCyrgqCpfh9uLa5MuKr605Xa6LQkUE0WzmrpjwI7AYEzFtWrwHLCMVBhg7/gApdn
bJU08tCS2udYCO++02VOIJnn7hiC0Ko7JNouvXY/E30Z9bBRX46tEJjPN9bMnMML
xjffg0beq+w88mgGW6IpKRtaS91wxEl3TQRZWBiSH9GQ9/SGlz95gmmJWaQadNUb
cTzMh2mHoHJEVSIbqfxEmIxk4wIEyCFqa3xpMNhe5CltbJQAfmsnQpxYOOcdCN8a
5CojHWNXQcbcaojTk/0xvAeiM94znP5M5ht+86P6M7CD4UJ6+aXOOZV8sjSY5uiB
U6l7kJiCYnfjGJsGH2TfNNIVvwfrzGp3FJQ2scnJskKh9ctFJ0g=
=TSWC
-----END PGP SIGNATURE-----

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e3efa1a41494303c88749e538fb7f9e751a6303654300f8e16a58e52978f6c67
size 276727

View File

@ -1,16 +0,0 @@
-----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-----

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Mon Jun 14 10:21:07 UTC 2021 - Bernhard Wiedemann <bwiedemann@suse.com>
- Update to version 1.12.0
* Also normalise PO-Revision-Date in addition to POT-Creation-Date.
* Ignore unwritable files, printing a warning.
* Add a warning message under --verbose statement when the Archive::Cpio
package is missing. (MR: reproducible-builds/strip-nondeterminism!6)
* Fix an off-by-one error when parsing PNG modification times.
-------------------------------------------------------------------
Fri Jun 11 11:43:06 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- Move macros.strip-nondeterminism from /etc/rpm to
%{_rpmmacrodir} (boo#1185657).
- Install the macro file non-executable: it is loaded by rpm, never
run.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Oct 29 11:54:17 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org> Tue Oct 29 11:54:17 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,7 +1,7 @@
# #
# spec file for package strip-nondeterminism # spec file for package strip-nondeterminism
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2021 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
@ -17,12 +17,12 @@
Name: strip-nondeterminism Name: strip-nondeterminism
Version: 1.6.1 Version: 1.12.0
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
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Url: https://anonscm.debian.org/git/reproducible/strip-nondeterminism.git URL: https://anonscm.debian.org/git/reproducible/strip-nondeterminism.git
Source: https://reproducible-builds.org/_lfs/releases/strip-nondeterminism/strip-nondeterminism-%{version}.tar.bz2 Source: https://reproducible-builds.org/_lfs/releases/strip-nondeterminism/strip-nondeterminism-%{version}.tar.bz2
Source1: https://reproducible-builds.org/_lfs/releases/strip-nondeterminism/strip-nondeterminism-%{version}.tar.bz2.asc Source1: https://reproducible-builds.org/_lfs/releases/strip-nondeterminism/strip-nondeterminism-%{version}.tar.bz2.asc
Source2: rpmmacros Source2: rpmmacros
@ -34,10 +34,10 @@ 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) BuildRequires: perl(Sub::Override)
Requires: perl-base Requires: perl-base
Requires: perl(Archive::Zip) Requires: perl(Archive::Zip)
Requires: perl(Sub::Override) Requires: perl(Sub::Override)
Recommends: perl(Archive::Cpio) Recommends: perl(Archive::Cpio)
%{perl_requires} %{perl_requires}
@ -49,7 +49,7 @@ It can be used as a post-processing step to make a build reproducible,
when the build process itself cannot be made deterministic. It is used when the build process itself cannot be made deterministic. It is used
as part of the Reproducible Builds project. as part of the Reproducible Builds project.
strip-nondeterminism contains the File::StripNondeterminism Perl module, strip-nondeterminism contains the File::StripNondeterminism Perl module,
and the strip-nondeterminism command line utility. and the strip-nondeterminism command line utility.
%prep %prep
@ -63,8 +63,8 @@ and the strip-nondeterminism command line utility.
%{__make} test %{__make} test
%install %install
mkdir -p %buildroot/etc/rpm/ %buildroot/%{_bindir}/ mkdir -p %buildroot%{_rpmmacrodir} %buildroot/%{_bindir}/
install -p %{SOURCE2} %buildroot/etc/rpm/macros.strip-nondeterminism install -p %{SOURCE2} -m 644 %buildroot%{_rpmmacrodir}/macros.strip-nondeterminism
install -p %{SOURCE3} -m 755 %buildroot/%{_bindir}/ install -p %{SOURCE3} -m 755 %buildroot/%{_bindir}/
%perl_make_install %perl_make_install
%perl_process_packlist %perl_process_packlist
@ -74,6 +74,6 @@ install -p %{SOURCE3} -m 755 %buildroot/%{_bindir}/
%defattr(-,root,root,755) %defattr(-,root,root,755)
%doc README TODO %doc README TODO
%license COPYING %license COPYING
/etc/rpm/macros.strip-nondeterminism %{_rpmmacrodir}/macros.strip-nondeterminism
%changelog %changelog