From 0b708710928a15cc9a2a6516256b4590c3b7a894 Mon Sep 17 00:00:00 2001 From: Jose Pedro Oliveira Date: May 02 2005 19:05:38 +0000 Subject: Update to 2.39. --- diff --git a/.cvsignore b/.cvsignore index 97c71af..225f227 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -Config-IniFiles-2.38.tar.gz +Config-IniFiles-2.39.tar.gz diff --git a/Config-IniFiles-2.38-t-00load.t.patch b/Config-IniFiles-2.38-t-00load.t.patch deleted file mode 100644 index 812ef7d..0000000 --- a/Config-IniFiles-2.38-t-00load.t.patch +++ /dev/null @@ -1,34 +0,0 @@ -There seems to be a permission problem in the 00load.t test -in Config::IniFiles 2.38 (my Perl: 5.8.0/ithreads, OS: Solaris 7/Sparc). - -The test01.ini is written with permissions 222 (derived from -test.ini, which is unpacked read-only), and also opened read-only, -which gave me a bunch of errors/warnings. Here is a proposal how -to fix the test: - -diff -ru Config-IniFiles-2.38/t/00load.t Config-IniFiles-2.38p/t/00load.t ---- Config-IniFiles-2.38/t/00load.t 2003-05-14 03:46:28.000000000 +0200 -+++ Config-IniFiles-2.38p/t/00load.t 2003-05-15 14:42:03.000000000 +0200 -@@ -69,10 +69,11 @@ - if( open( CONFIG, "test.ini" ) ) { - $ini = new Config::IniFiles -file => \*CONFIG; - $ini->SetFileName( 'test01.ini' ); -+ $ini->SetWriteMode( '644' ); - $ini->RewriteConfig(); - close CONFIG; - # Now test opening and re-write to the same handle -- if( open( CONFIG, "test01.ini" ) ) { -+ if( open( CONFIG, "+ \*CONFIG; - my $badname = scalar(\*CONFIG); - # Have to use open/close because -e seems to be always true! -@@ -81,6 +82,9 @@ - # In case it failed, remove the file - # (old behavior was to write to a file whose filename is the scalar value of the handle!) - unlink $badname; -+ } else { -+ print "Cannot open test01.ini for read/write: $!\n"; -+ ok( 0 ); - } # end if - } else { - ok( 0 ); diff --git a/perl-Config-IniFiles.spec b/perl-Config-IniFiles.spec index 7c2b3db..8a0762a 100644 --- a/perl-Config-IniFiles.spec +++ b/perl-Config-IniFiles.spec @@ -1,15 +1,14 @@ %{!?perl_vendorlib: %define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)} Name: perl-Config-IniFiles -Version: 2.38 -Release: 2 +Version: 2.39 +Release: 1 Summary: A module for reading .ini-style configuration files Group: Development/Libraries License: GPL or Artistic URL: http://search.cpan.org/dist/Config-IniFiles/ -Source0: http://www.cpan.org/authors/id/W/WA/WADG/Config-IniFiles-2.38.tar.gz -Patch0: http://rt.cpan.org/NoAuth/Attachment/7150/9132/Config-IniFiles-2.38-t-00load.t.patch +Source0: http://www.cpan.org/authors/id/W/WA/WADG/Config-IniFiles-2.39.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -25,7 +24,6 @@ from a tied hash. %prep %setup -q -n Config-IniFiles-%{version} -%patch0 -p1 chmod 644 README *.pm @@ -58,6 +56,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Apr 29 2005 Jose Pedro Oliveira - 2.39-1 +- Update to 2.39. + * Tue May 25 2004 Jose Pedro Oliveira - 2.38-2 - Patch URI generated from the RT entry as suggested (bug 1625) diff --git a/sources b/sources index 31097d0..60f6499 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -17e39e4244ede0061939dcb80ab6294e Config-IniFiles-2.38.tar.gz +af23906e7d4445c4690dafed9b491cc3 Config-IniFiles-2.39.tar.gz