Improve usage examples in the macro file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/strip-nondeterminism?expand=0&rev=29
This commit is contained in:
commit
188ece7497
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
15
rpmmacros
Normal file
15
rpmmacros
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# use as
|
||||||
|
# %?strip_all_nondeterminism
|
||||||
|
# or
|
||||||
|
# %if 0%?have_strip_nondeterminism > 0
|
||||||
|
# strip-nondeterminism path/to/file.zip
|
||||||
|
# %endif
|
||||||
|
# or
|
||||||
|
# %if 0%?have_strip_nondeterminism > 0
|
||||||
|
# strip-all-nondeterminism /full/path/
|
||||||
|
# %endif
|
||||||
|
|
||||||
|
%have_strip_nondeterminism 1
|
||||||
|
%strip_all_nondeterminism() \
|
||||||
|
strip-all-nondeterminism \
|
||||||
|
%{nil}
|
4
strip-all-nondeterminism
Normal file
4
strip-all-nondeterminism
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
dir=${1:-.}
|
||||||
|
find "$dir" -type f '(' -name '*.zip' -o -name '*.jar' -o -name '*.xpi' -o -name '*.pk3' -o -name '*.mo' -o -name '*.html' -o -name '*.gz' -o -name '*.png' ')' -print0 |\
|
||||||
|
xargs -0 --no-run-if-empty strip-nondeterminism --timestamp=${SOURCE_DATE_EPOCH:-1494270000} --clamp-timestamp
|
BIN
strip-nondeterminism-1.13.1.tar.bz2
(Stored with Git LFS)
Normal file
BIN
strip-nondeterminism-1.13.1.tar.bz2
(Stored with Git LFS)
Normal file
Binary file not shown.
16
strip-nondeterminism-1.13.1.tar.bz2.asc
Normal file
16
strip-nondeterminism-1.13.1.tar.bz2.asc
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQIzBAABCgAdFiEEuL9UE3sJ01zwJv6dCRq4VgaaqhwFAmPEWyUACgkQCRq4Vgaa
|
||||||
|
qhxpMQ/+ORQhkJp+4DreVZY1+YodrBu+VpVICIMPor3gV4te9hRJCH2jduZKorX9
|
||||||
|
d/KjM5deHgABxsU/o8FnnTQpDtcS4UjmF5yMa7d9oIlfWaJhp4m9WrYTn4NPCyNq
|
||||||
|
CauPn0kyXAWFG07ErgpCMFcCcqGrSdPk1SN1r9lJdghqTqvd5a8w5CbApoYBHEDk
|
||||||
|
LPKuOsAiEJl2s0tLxOIf4jcIC3tHOsCRCoE6Rga8p31MlXqSjEcG1G05HIEkxV6P
|
||||||
|
kDeAc0UNo9szw7BdhtSbTrgZoz7br2KpJ9ICuQKVPCf521vhuJula58o6X1Yl2yi
|
||||||
|
10yl/j1bHM1NEd2hUOikRhnhqTM0AW4hgi86+Fg+Gh0KY+xR049GLqKJAQDV2SeX
|
||||||
|
UtQ2IujCXcjqORP9naTFoO/5ncl1RyvSKyo9SMw7n23Umy/rSTMtbZ7k/Gub1nzi
|
||||||
|
oO522iacYYsT2CAAu5VJKPnLTNfbklvxc8hbxcFqXaCxmOZNNKvr7Fl0fqCoxWZT
|
||||||
|
6ikf16IerpdkOnphH8lhFzelfJV3CR+Qavu+yzafe0FE6zC3p9ee1K/eKjnUg24T
|
||||||
|
ehnVtq7v85CdjAX04sb47ORLsf1/y3wPblOxGGDj5cAm3QpfSd90vAugYaNLCxI+
|
||||||
|
+bd2GL11wR/nruP6P5/YCzEg6XKCnmLN41IV3HzXWkjjNlgv8yE=
|
||||||
|
=WpCL
|
||||||
|
-----END PGP SIGNATURE-----
|
95
strip-nondeterminism.changes
Normal file
95
strip-nondeterminism.changes
Normal file
@ -0,0 +1,95 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 16 09:53:25 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||||
|
|
||||||
|
- Improve usage examples in the macro file
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 28 16:19:49 UTC 2023 - Dirk Stoecker <opensuse@dstoecker.de>
|
||||||
|
|
||||||
|
- Update to version 1.13.1
|
||||||
|
* Update pyzip regex for latest file(1).
|
||||||
|
* Set upstream metadata fields: Bug-Database, Bug-Submit.
|
||||||
|
* dh_strip_nondeterminism: use get_non_binnmu_date_epoch() when available.
|
||||||
|
* Add a lintian overrides for some false positive tags.
|
||||||
|
* Do not fail on JAR archives containing invalid members with a .jar
|
||||||
|
extension.
|
||||||
|
- Drop upstream f1017c67.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
||||||
|
|
||||||
|
- 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>
|
||||||
|
|
||||||
|
- 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
|
||||||
|
|
||||||
|
- Update to version 1.0.0
|
||||||
|
* Improvements for javadoc, zip, cpio and png handling
|
||||||
|
* Speed up startup time
|
||||||
|
- Drop upstream strip-nondeterminism-0.029-zipfix.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 10 02:49:15 UTC 2017 - bwiedemann@suse.com
|
||||||
|
|
||||||
|
- Add strip-all-nondeterminism script to make this easier to use correctly
|
||||||
|
- Add strip-nondeterminism-0.029-zipfix.patch
|
||||||
|
to handle files without permissions in .zip files
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun May 7 09:47:22 UTC 2017 - bwiedemann@suse.com
|
||||||
|
|
||||||
|
- add rpm macro to use in spec files
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 1 00:00:51 UTC 2017 - bwiedemann@suse.com
|
||||||
|
|
||||||
|
- update to version 0.029
|
||||||
|
+ Add strip-nondeterminism-0.029-fix-apk.patch to fix tests
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 8 16:08:31 UTC 2016 - bwiedemann@suse.com
|
||||||
|
|
||||||
|
- initial package version 0.016
|
78
strip-nondeterminism.keyring
Normal file
78
strip-nondeterminism.keyring
Normal file
@ -0,0 +1,78 @@
|
|||||||
|
-----BEGIN PGP PU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25UcZC1cTT1Lm86OaFgD
|
||||||
|
H+NAualjvOiNUjgEoa2TNcP986nRUkDb4Z0Q4nNodHMHIwWI9eq5
|
||||||
|
=4huk
|
||||||
|
-----END PGP PUBLIC KEY BLOCK-----
|
80
strip-nondeterminism.spec
Normal file
80
strip-nondeterminism.spec
Normal file
@ -0,0 +1,80 @@
|
|||||||
|
#
|
||||||
|
# spec file for package strip-nondeterminism
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: strip-nondeterminism
|
||||||
|
Version: 1.13.1
|
||||||
|
Release: 0
|
||||||
|
Summary: A tool for stripping non-deterministic information
|
||||||
|
License: GPL-3.0-or-later
|
||||||
|
Group: Development/Libraries/Perl
|
||||||
|
URL: https://anonscm.debian.org/git/reproducible/strip-nondeterminism.git
|
||||||
|
#Bug-Database: https://salsa.debian.org/reproducible-builds/strip-nondeterminism/-/issues
|
||||||
|
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
|
||||||
|
Source2: rpmmacros
|
||||||
|
Source3: strip-all-nondeterminism
|
||||||
|
Source4: %{name}.keyring
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: perl-base
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
BuildRequires: perl(Archive::Cpio)
|
||||||
|
BuildRequires: perl(Archive::Zip)
|
||||||
|
BuildRequires: perl(Sub::Override)
|
||||||
|
Requires: perl-base
|
||||||
|
Requires: perl(Archive::Zip)
|
||||||
|
Requires: perl(Sub::Override)
|
||||||
|
Recommends: perl(Archive::Cpio)
|
||||||
|
%{perl_requires}
|
||||||
|
|
||||||
|
%description
|
||||||
|
File::StripNondeterminism is a Perl module for stripping bits of
|
||||||
|
non-deterministic information, such as timestamps and file system
|
||||||
|
order, from files such as gzipped files, ZIP archives, and Jar files.
|
||||||
|
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
|
||||||
|
as part of the Reproducible Builds project.
|
||||||
|
|
||||||
|
strip-nondeterminism contains the File::StripNondeterminism Perl module,
|
||||||
|
and the strip-nondeterminism command line utility.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1 -n %{name}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%{__make} test
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p %buildroot%{_rpmmacrodir} %buildroot/%{_bindir}/
|
||||||
|
install -p %{SOURCE2} -m 644 %buildroot%{_rpmmacrodir}/macros.strip-nondeterminism
|
||||||
|
install -p %{SOURCE3} -m 755 %buildroot/%{_bindir}/
|
||||||
|
%perl_make_install
|
||||||
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
|
%files -f %{name}.files
|
||||||
|
%defattr(-,root,root,755)
|
||||||
|
%doc README TODO
|
||||||
|
%license COPYING
|
||||||
|
%{_rpmmacrodir}/macros.strip-nondeterminism
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user