From 81e214dcbb66a0042f13191b54f5361fb28a9440 Mon Sep 17 00:00:00 2001 From: cturner Date: Tue, 5 Oct 2004 16:11:00 +0000 Subject: [PATCH] fix multilib conflict again, DEVEL --- perl-5.8.3-perlbug-tag.patch | 43 ++++++++++++++++++++++++++++-------- perl.spec | 5 ++++- 2 files changed, 38 insertions(+), 10 deletions(-) diff --git a/perl-5.8.3-perlbug-tag.patch b/perl-5.8.3-perlbug-tag.patch index 86559bf..bef3ca9 100644 --- a/perl-5.8.3-perlbug-tag.patch +++ b/perl-5.8.3-perlbug-tag.patch @@ -1,19 +1,44 @@ -This patch fixes perlbug so that it doesn't contain the exact build -time in the script. This allows the script to be shared on multiple -arches and not generate an RPM conflicts. - ---- perl-5.8.4/utils/perlbug.PL.notag 2004-08-23 10:44:45.822726077 -0400 -+++ perl-5.8.4/utils/perlbug.PL 2004-08-23 10:46:40.155237161 -0400 -@@ -64,7 +64,7 @@ +--- perl-5.8.0/utils/perlbug.PL.perlbug 2004-10-05 12:07:54.423998839 -0400 ++++ perl-5.8.0/utils/perlbug.PL 2004-10-05 12:08:37.607393368 -0400 +@@ -27,8 +27,6 @@ + open PATCH_LEVEL, "<" . catfile(updir, "patchlevel.h") + or die "Can't open patchlevel.h: $!"; + +-my $patchlevel_date = (stat PATCH_LEVEL)[9]; +- + while () { + last if $_ =~ /^\s*static\s+char.*?local_patches\[\]\s*=\s*{\s*$/; + } +@@ -64,9 +62,8 @@ eval 'exec $Config{perlpath} -S \$0 \${1+"\$@"}' if \$running_under_some_shell; -my \$config_tag1 = '$extract_version - $Config{cf_time}'; +my \$config_tag1 = '$extract_version'; - my \$patchlevel_date = $patchlevel_date; +-my \$patchlevel_date = $patchlevel_date; my \$patch_tags = '$patch_tags'; -@@ -598,9 +598,8 @@ + my \@patches = ( + $patch_desc +@@ -275,17 +272,6 @@ + $ok = 0; + if ($::opt_o) { + if ($::opt_o eq 'k' or $::opt_o eq 'kay') { +- my $age = time - $patchlevel_date; +- if ($::opt_o eq 'k' and $age > 60 * 24 * 60 * 60 ) { +- my $date = localtime $patchlevel_date; +- print <<"EOF"; +-"perlbug -ok" and "perlbug -nok" do not report on Perl versions which +-are more than 60 days old. This Perl version was constructed on +-$date. If you really want to report this, use +-"perlbug -okay" or "perlbug -nokay". +-EOF +- exit(); +- } + # force these options + unless ($::opt_n) { + $::opt_S = 1; # don't prompt for send +@@ -592,9 +578,8 @@ print OUT < 3:5.8.5-7 +- update perlbug patch to strip build date as well + * Mon Aug 23 2004 Chip Turner 3:5.8.5-2 - fix conflicting file when building on x86_64 and i386