Accepting request 555269 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/555269 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl?expand=0&rev=105
This commit is contained in:
commit
b984c6354f
24
perl-reproducible.patch
Normal file
24
perl-reproducible.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
PATCH-FIX-OPENSUSE
|
||||||
|
Author: Bernhard M. Wiedemann <bwiedemann suse de>
|
||||||
|
Date: 2017-12-04
|
||||||
|
|
||||||
|
replace hostname, username, time with fixed values
|
||||||
|
|
||||||
|
Index: perl-5.26.1/Configure
|
||||||
|
===================================================================
|
||||||
|
--- perl-5.26.1.orig/Configure
|
||||||
|
+++ perl-5.26.1/Configure
|
||||||
|
@@ -9234,6 +9234,13 @@ esac
|
||||||
|
set $myhostname
|
||||||
|
myhostname=$1
|
||||||
|
|
||||||
|
+if test -n "$SOURCE_DATE_EPOCH" ; then
|
||||||
|
+ cf_time="`LC_ALL=C LANGUAGE=C $date -u -d@$SOURCE_DATE_EPOCH`"
|
||||||
|
+ cf_by="reproducible"
|
||||||
|
+ myhostname="reproducible"
|
||||||
|
+ myuname="reproducible"
|
||||||
|
+fi
|
||||||
|
+
|
||||||
|
: verify guess
|
||||||
|
if $test "$myhostname" ; then
|
||||||
|
dflt=y
|
11
perl.changes
11
perl.changes
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 4 17:50:10 UTC 2017 - bwiedemann@suse.com
|
||||||
|
|
||||||
|
- Add perl-reproducible.patch to make build reproducible (boo#1047218)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 23 13:43:59 UTC 2017 - rbrown@suse.com
|
||||||
|
|
||||||
|
- Replace references to /var/adm/fillup-templates with new
|
||||||
|
%_fillupdir macro (boo#1069468)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Sep 23 10:40:59 UTC 2017 - coolo@suse.com
|
Sat Sep 23 10:40:59 UTC 2017 - coolo@suse.com
|
||||||
|
|
||||||
|
14
perl.spec
14
perl.spec
@ -17,6 +17,11 @@
|
|||||||
# icecream 0
|
# icecream 0
|
||||||
|
|
||||||
|
|
||||||
|
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
||||||
|
%if ! %{defined _fillupdir}
|
||||||
|
%define _fillupdir /var/adm/fillup-templates
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: perl
|
Name: perl
|
||||||
Summary: The Perl interpreter
|
Summary: The Perl interpreter
|
||||||
License: Artistic-1.0 or GPL-2.0+
|
License: Artistic-1.0 or GPL-2.0+
|
||||||
@ -41,6 +46,8 @@ Patch7: perl-5.22.0_wrong_rpm_provides.diff
|
|||||||
Patch8: skip_time_hires.patch
|
Patch8: skip_time_hires.patch
|
||||||
Patch9: perl-incfix.diff
|
Patch9: perl-incfix.diff
|
||||||
Patch11: perl-5.18.2-overflow.diff
|
Patch11: perl-5.18.2-overflow.diff
|
||||||
|
# PATCH-FIX-OPENSUSE
|
||||||
|
Patch12: perl-reproducible.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
PreReq: perl-base = %version
|
PreReq: perl-base = %version
|
||||||
#PreReq: %fillup_prereq
|
#PreReq: %fillup_prereq
|
||||||
@ -182,6 +189,7 @@ cp -p %{S:3} .
|
|||||||
%endif
|
%endif
|
||||||
%patch9
|
%patch9
|
||||||
%patch11
|
%patch11
|
||||||
|
%patch12 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cp -a lib savelib
|
cp -a lib savelib
|
||||||
@ -242,10 +250,10 @@ install -m 444 saveConfig.pm $cpa/Config.pm
|
|||||||
install -m 444 saveConfig_heavy.pl $cpa/Config_heavy.pl
|
install -m 444 saveConfig_heavy.pl $cpa/Config_heavy.pl
|
||||||
#install -d $RPM_BUILD_ROOT/var/adm/SuSEconfig/bin
|
#install -d $RPM_BUILD_ROOT/var/adm/SuSEconfig/bin
|
||||||
#install -d $RPM_BUILD_ROOT/sbin/conf.d
|
#install -d $RPM_BUILD_ROOT/sbin/conf.d
|
||||||
#install -d $RPM_BUILD_ROOT/var/adm/fillup-templates
|
#install -d $RPM_BUILD_ROOT%{_fillupdir}
|
||||||
#install -m 755 SuSE/perllocal.SuSE $RPM_BUILD_ROOT/usr/lib/perl5
|
#install -m 755 SuSE/perllocal.SuSE $RPM_BUILD_ROOT/usr/lib/perl5
|
||||||
#install -m 755 SuSE/SuSEconfig.perl $RPM_BUILD_ROOT/sbin/conf.d
|
#install -m 755 SuSE/SuSEconfig.perl $RPM_BUILD_ROOT/sbin/conf.d
|
||||||
#install -m 755 SuSE/sysconfig.suseconfig-perl $RPM_BUILD_ROOT/var/adm/fillup-templates
|
#install -m 755 SuSE/sysconfig.suseconfig-perl $RPM_BUILD_ROOT%{_fillupdir}
|
||||||
# install macros.perl file
|
# install macros.perl file
|
||||||
install -D -m 644 %{S:2} $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.perl
|
install -D -m 644 %{S:2} $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.perl
|
||||||
pushd /usr/include
|
pushd /usr/include
|
||||||
@ -412,7 +420,7 @@ EOF
|
|||||||
/usr/lib/perl5/*
|
/usr/lib/perl5/*
|
||||||
%config %{_sysconfdir}/rpm/macros.perl
|
%config %{_sysconfdir}/rpm/macros.perl
|
||||||
#/sbin/conf.d/SuSEconfig.perl
|
#/sbin/conf.d/SuSEconfig.perl
|
||||||
#/var/adm/fillup-templates/sysconfig.suseconfig-perl
|
#%{_fillupdir}/sysconfig.suseconfig-perl
|
||||||
#%ghost /usr/lib/perl*/*/*/perllocal.pod
|
#%ghost /usr/lib/perl*/*/*/perllocal.pod
|
||||||
#%ghost %doc /usr/share/man/man3/perllocal.3pm.gz
|
#%ghost %doc /usr/share/man/man3/perllocal.3pm.gz
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user