Accepting request 899460 from home:dimstar:Factory
- 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/899460 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/strip-nondeterminism?expand=0&rev=18
This commit is contained in:
parent
49e42ee85f
commit
6b3e40f28f
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -22,7 +22,7 @@ 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
|
||||
URL: https://anonscm.debian.org/git/reproducible/strip-nondeterminism.git
|
||||
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
|
||||
@ -63,8 +63,8 @@ and the strip-nondeterminism command line utility.
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
mkdir -p %buildroot/etc/rpm/ %buildroot/%{_bindir}/
|
||||
install -p %{SOURCE2} %buildroot/etc/rpm/macros.strip-nondeterminism
|
||||
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
|
||||
@ -74,6 +74,6 @@ install -p %{SOURCE3} -m 755 %buildroot/%{_bindir}/
|
||||
%defattr(-,root,root,755)
|
||||
%doc README TODO
|
||||
%license COPYING
|
||||
/etc/rpm/macros.strip-nondeterminism
|
||||
%{_rpmmacrodir}/macros.strip-nondeterminism
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user