[meego-commits] 23668: Changes to Trunk:Testing/perl

Carsten V. Munk no_reply at build.meego.com
Mon Aug 22 08:57:26 UTC 2011


Hi,
I have made the following changes to perl in project Trunk:Testing. Please review and accept ASAP.

Thank You,
Carsten V. Munk

[This message was auto-generated]

---

Request #23668:

  submit:   home:cvm:branches:Trunk:Testing/perl(r2)(cleanup) -> Trunk:Testing/perl


Message:
    Sent directly to T:T as devel:languages:perl has broken links. Remove autogenerated timestamps, wastes valuable build time on something we can look up with rpm -q. This makes perl be seen as unchanged in rebuilds, saving significant time on full rebuilds of MeeGo. WARNING: will cause build avalanche. But should be good for the time it takes to rebuild.

State:   new          2011-08-22T01:54:51 cvm
Comment: None



changes files:
--------------
--- perl.changes
+++ perl.changes
@@ -0,0 +1,4 @@
+* Mon Aug 22 2011 Carsten Munk <carsten at maemo.org> - 5.12.1
+- Remove autogenerated timestamps, wastes valuable build time. 
+  Makes build-compare state 'unchanged' after two similar builds.
+

new:
----
  perl-5.12.1-notimestamps.patch

spec files:
-----------
--- perl.spec
+++ perl.spec
@@ -52,6 +52,8 @@
 # systems.
 Patch7:        perl-5.10.0-x86_64-io-test-failure.patch
 
+Patch8:	       perl-5.12.1-notimestamps.patch
+
 BuildRoot:      %{_tmppath}/%{name}-%{perl_version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  gdbm-devel, db4-devel, zlib-devel
 BuildRequires:  groff
@@ -680,7 +682,7 @@
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
-
+%patch8 -p1
 
 #
 # Candidates for doc recoding (need case by case review):

other changes:
--------------

++++++ perl-5.12.1-notimestamps.patch (new)
--- perl-5.12.1-notimestamps.patch
+++ perl-5.12.1-notimestamps.patch
+diff -ru perl-5.12.1/config_h.SH perl-notimestamps/config_h.SH
+--- perl-5.12.1/config_h.SH	2010-05-14 00:01:07.000000000 +0200
++++ perl-notimestamps/config_h.SH	2011-08-21 09:06:12.936929316 +0200
+@@ -46,9 +46,6 @@
+ /*
+  * Package name      : $package
+  * Source directory  : $src
+- * Configuration time: $cf_time
+- * Configured by     : $cf_by
+- * Target system     : $myuname
+  */
+ 
+ #ifndef _config_h_
+Only in perl-notimestamps: config_h.SH~
+diff -ru perl-5.12.1/Configure perl-notimestamps/Configure
+--- perl-5.12.1/Configure	2010-05-14 00:01:07.000000000 +0200
++++ perl-notimestamps/Configure	2011-08-21 11:53:57.552141211 +0200
+@@ -22258,9 +22258,6 @@
+ 
+ # Package name      : $package
+ # Source directory  : $src
+-# Configuration time: $cf_time
+-# Configured by     : $cf_by
+-# Target system     : $myuname
+ 
+ EOT
+ : Add in command line options if available
+@@ -22319,7 +22316,6 @@
+ ccversion='$ccversion'
+ cf_by='$cf_by'
+ cf_email='$cf_email'
+-cf_time='$cf_time'
+ charbits='$charbits'
+ charsize='$charsize'
+ chgrp='$chgrp'
+@@ -23075,7 +23071,6 @@
+ myarchname='$myarchname'
+ mydomain='$mydomain'
+ myhostname='$myhostname'
+-myuname='$myuname'
+ n='$n'
+ need_va_copy='$need_va_copy'
+ netdb_hlen_type='$netdb_hlen_type'
+Only in perl-notimestamps: Configure~
+diff -ru perl-5.12.1/lib/unicore/mktables perl-notimestamps/lib/unicore/mktables
+--- perl-5.12.1/lib/unicore/mktables	2010-05-14 00:01:07.000000000 +0200
++++ perl-notimestamps/lib/unicore/mktables	2011-08-21 12:23:27.770106037 +0200
+@@ -13969,7 +13969,7 @@
+ #
+ # $file_list -- File list for $0.
+ #
+-#   Autogenerated on @{[scalar localtime]}
++#   Autogenerated.
+ #
+ # - First section is input files
+ #   ($0 itself is not listed but is automatically considered an input)
+Only in perl-notimestamps/lib/unicore: mktables~
+diff -ru perl-5.12.1/perl.c perl-notimestamps/perl.c
+--- perl-5.12.1/perl.c	2010-05-14 00:01:07.000000000 +0200
++++ perl-notimestamps/perl.c	2011-08-21 09:07:15.366402229 +0200
+@@ -1705,7 +1705,7 @@
+ #ifdef __DATE__
+ #  ifdef __TIME__
+     PUSHs(Perl_newSVpvn_flags(aTHX_
+-			      STR_WITH_LEN("Compiled at " __DATE__ " " __TIME__),
++			      STR_WITH_LEN("Compiled in OBS"),
+ 			      SVs_TEMP));
+ #  else
+     PUSHs(Perl_newSVpvn_flags(aTHX_ STR_WITH_LEN("Compiled on " __DATE__),
+Only in perl-notimestamps: perl.c~



More information about the MeeGo-commits mailing list