rpms/perl/devel perl.spec,1.191,1.192

Štěpán Kasal kasal at fedoraproject.org
Wed Oct 1 15:36:56 UTC 2008


Author: kasal

Update of /cvs/extras/rpms/perl/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17258

Modified Files:
	perl.spec 
Log Message:
- also preserve the timestamp of AUTHORS; move the fix to the recode
  function, which is where the stamps go wrong


Index: perl.spec
===================================================================
RCS file: /cvs/extras/rpms/perl/devel/perl.spec,v
retrieving revision 1.191
retrieving revision 1.192
diff -u -r1.191 -r1.192
--- perl.spec	1 Oct 2008 15:07:44 -0000	1.191
+++ perl.spec	1 Oct 2008 15:36:25 -0000	1.192
@@ -7,7 +7,7 @@
 
 Name:           perl
 Version:        %{perl_version}
-Release:        45%{?dist}
+Release:        46%{?dist}
 Epoch:          %{perl_epoch}
 Summary:        The Perl programming language
 Group:          Development/Languages
@@ -828,6 +828,7 @@
 recode()
 {
         iconv -f "$2" -t utf-8 < "$1" > "${1}_"
+        touch -r "$1" "${1}_"
         mv -f "${1}_" "$1"
 }
 recode README.cn euc-cn
@@ -1016,9 +1017,6 @@
 # Compress Changes* to save space
 %{__gzip} Changes*
 
-# Give them all the same time/date stamp to avoid multilib conflict
-touch -r Artistic Changes*.gz
-
 # Local patch tracking
 cd $RPM_BUILD_ROOT%{_libdir}/perl5/%{perl_version}/%{perl_archname}/CORE/
 perl -x patchlevel.h 'Fedora Patch1: Permit suidperl to install as nonroot'
@@ -1655,6 +1653,10 @@
 
 # Old changelog entries are preserved in CVS.
 %changelog
+* Wed Oct  1 2008 Stepan Kasal <skasal at redhat.com> - 4:5.10.0-46
+- also preserve the timestamp of AUTHORS; move the fix to the recode
+  function, which is where the stamps go wrong
+
 * Wed Oct  1 2008 Tom "spot" Callaway <tcallawa at redhat.com> 4:5.10.0-45
 - give Changes*.gz the same datetime to avoid multilib conflict
 




More information about the scm-commits mailing list