Update to 2.39.

epel9
Jose Pedro Oliveira 20 years ago
parent 08772a9a23
commit 2b318e3a3b

@ -1 +1 @@
Config-IniFiles-2.38.tar.gz Config-IniFiles-2.39.tar.gz

@ -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, "+<test01.ini" ) ) {
$ini = new Config::IniFiles -file => \*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 );

@ -1,16 +1,12 @@
%{!?perl_vendorlib: %define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)}
Name: perl-Config-IniFiles Name: perl-Config-IniFiles
Version: 2.38 Version: 2.39
Release: 3 Release: 2
Summary: A module for reading .ini-style configuration files Summary: A module for reading .ini-style configuration files
Group: Development/Libraries Group: Development/Libraries
License: GPL or Artistic License: GPL or Artistic
URL: http://search.cpan.org/dist/Config-IniFiles/ URL: http://search.cpan.org/dist/Config-IniFiles/
Source0: http://www.cpan.org/authors/id/W/WA/WADG/Config-IniFiles-2.38.tar.gz Source0: http://www.cpan.org/authors/id/W/WA/WADG/Config-IniFiles-2.39.tar.gz
Patch0: http://rt.cpan.org/NoAuth/Attachment/7150/9132/Config-IniFiles-2.38-t-00load.t.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch BuildArch: noarch
@ -26,7 +22,6 @@ from a tied hash.
%prep %prep
%setup -q -n Config-IniFiles-%{version} %setup -q -n Config-IniFiles-%{version}
%patch0 -p1
chmod 644 README *.pm chmod 644 README *.pm
@ -59,6 +54,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Fri Apr 29 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.39-2
- Update to 2.39.
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
- rebuilt - rebuilt

@ -1 +1 @@
17e39e4244ede0061939dcb80ab6294e Config-IniFiles-2.38.tar.gz af23906e7d4445c4690dafed9b491cc3 Config-IniFiles-2.39.tar.gz

Loading…
Cancel
Save