Hello community,
here is the log from the commit of package perl-URI for openSUSE:Factory
checked in at Wed Jul 29 16:53:30 CEST 2009.
--------
--- perl-URI/perl-URI.changes 2008-06-27 16:28:31.000000000 +0200
+++ /mounts/work_src_done/STABLE/perl-URI/perl-URI.changes 2009-07-25 19:45:43.000000000 +0200
@@ -1,0 +2,19 @@
+Sat Jul 25 19:45:41 CEST 2009 - chris@computersalat.de
+
+- spec mods
+ * removed ^----------
+ * removed ^#---------
+
+-------------------------------------------------------------------
+Sun Jun 28 18:20:41 CEST 2009 - chris@computersalat.de
+
+- update to 1.38
+ * Spelling fixes.
+ * skip DNS test if wildcard domain catcher (e.g. OpenDNS) is there
+ * Avoid "Insecure $ENV{PATH} while running with -T switch" error with perl-5.6.
+- added perl-macros
+ o autogen filelist with perl_gen_filelist
+- spec mods
+ o fixed deps
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
URI-1.37.tar.bz2
New:
----
URI-1.38.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-URI.spec ++++++
--- /var/tmp/diff_new_pack.EvWQdu/_old 2009-07-29 16:26:56.000000000 +0200
+++ /var/tmp/diff_new_pack.EvWQdu/_new 2009-07-29 16:26:56.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package perl-URI (Version 1.37)
+# spec file for package perl-URI (Version 1.38)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,53 +19,59 @@
Name: perl-URI
-Version: 1.37
-Release: 26
-Requires: perl = %{perl_version}
-AutoReqProv: on
+%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
+Summary: URI - Uniform Resource Identifiers (absolute and relative)
+Version: 1.38
+Release: 1
+License: Artistic License ..
Group: Development/Libraries/Perl
-License: Artistic License
-Url: http://cpan.org/modules/by-module/URI
-Summary: Perl Interface for URI Objects
-Source: URI-%{version}.tar.bz2
-Patch: URI-%{version}-path.diff
+Url: http://search.cpan.org/dist/URI
+Source: %{cpan_name}-%{version}.tar.bz2
+Patch: %{cpan_name}-1.37-path.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: perl
+BuildRequires: perl-macros
+BuildRequires: perl(MIME::Base64) >= 2
+BuildRequires: perl(Data::Dumper)
+BuildRequires: perl-Business-ISBN >= 2.00
+Requires: perl = %{perl_version}
+Requires: perl(MIME::Base64) >= 2
+Requires: perl(Data::Dumper)
+Requires: perl-Business-ISBN >= 2.00
%description
-A Perl interface for URI objects.
-
-
-
-Authors:
---------
- Gisle Aas
+This package contains the URI.pm module with friends. The module
+implements the URI class. Objects of this class represent Uniform
+Resource Identifier references as specified in RFC 2396 and updated by
+RFC 2732.
+
+URI objects can be used to access and manipulate the various
+components that make up these strings. There are also methods to
+combine URIs in various ways.
+ Authors: Gisle Aas
%prep
-%setup -q -n URI-%{version}
+%setup -q -n %{cpan_name}-%{version}
%patch
%build
-perl Makefile.PL
-make
+CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
+%{__make}
touch OFFLINE
%check
-make test
+%{__make} test
%install
%perl_make_install
%perl_process_packlist
+%perl_gen_filelist
%clean
-rm -rf $RPM_BUILD_ROOT
+%{__rm} -rf $RPM_BUILD_ROOT
-%files
+%files -f %{name}.files
%defattr(-,root,root)
%doc Changes README rfc2396.txt
-%doc %{_mandir}/man?/*
-%{perl_vendorlib}/URI.pm
-%{perl_vendorlib}/URI
-%{perl_vendorarch}/auto/URI
-/var/adm/perl-modules/%{name}
%changelog
++++++ URI-1.37.tar.bz2 -> URI-1.38.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/URI-1.37/Changes new/URI-1.38/Changes
--- old/URI-1.37/Changes 2008-06-16 10:59:47.000000000 +0200
+++ new/URI-1.38/Changes 2009-05-28 06:23:38.000000000 +0200
@@ -1,3 +1,18 @@
+2009-05-27 Gisle Aas
+
+ Release 1.38
+
+ Ville Skyttä (3):
+ Spelling fixes.
+
+ Tatsuhiko Miyagawa (1):
+ skip DNS test if wildcard domain catcher (e.g. OpenDNS) is there
+
+ Gisle Aas (1):
+ Avoid "Insecure $ENV{PATH} while running with -T switch" error with perl-5.6.
+
+
+
2008-06-16 Gisle Aas
Release 1.37
@@ -84,7 +99,7 @@
Added uri_escape_utf8() function to URI::Escape module.
Fixed abs/rel behaviour for sip: URIs. Fixed by
- Ville Skytt� .
+ Ville Skyttä .
Avoid croaking on code like $u->query_form(a => { foo => 1 }).
It will still not really do anything useful.
@@ -159,9 +174,9 @@
the 'userinfo' delimiter.
Make URI->query_form escape '[' and ']'. These chars where added
- to the reserved set in RFC 2732. This also match MSIE behaviour.
+ to the reserved set in RFC 2732. This also matches MSIE behaviour.
- Silience warning from 'sip' support class.
+ Silence warning from 'sip' support class.
@@ -231,7 +246,7 @@
CPAN-RT-Bug #1224.
The host for URI::file was not unescaped.
- Patch by Ville Skytt� .
+ Patch by Ville Skyttä .
@@ -269,7 +284,7 @@
Don't try to come up with the e-mail address of the user as
the anonymous password.
- Patch by Eduardo P�rez .
+ Patch by Eduardo Pérez .
@@ -552,7 +567,7 @@
Included URI::Escape and URI::Heuristic from LWP. URI::Escape
updated with new default set of characters to escape (according
to RFC 2396) and a faster uri_unescape() function. URI::Heuristic
- with new funtion that returns an URI object.
+ updated with a new function that returns an URI object.
First argument to URI->new is always treated as a string now.
@@ -623,8 +638,8 @@
Protect literal % in various places by escaping
- Path segments with parameters is not arrays of class URI::_segment,
- which overload stingify operator.
+ Path segments with parameters are not arrays of class URI::_segment,
+ which overloads the stringify operator.
URI::http->canonical will now unescape unreserved characters.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/URI-1.37/META.yml new/URI-1.38/META.yml
--- old/URI-1.37/META.yml 2008-06-16 11:00:44.000000000 +0200
+++ new/URI-1.38/META.yml 2009-05-28 06:35:36.000000000 +0200
@@ -1,13 +1,26 @@
--- #YAML:1.0
-name: URI
-version: 1.37
-abstract: ~
-license: ~
-author: ~
-generated_by: ExtUtils::MakeMaker version 6.42_01
-distribution_type: module
-requires:
- MIME::Base64: 2
+name: URI
+version: 1.38
+abstract: Uniform Resource Identifiers (absolute and relative)
+author:
+ - Gisle Aas
+license: perl
+distribution_type: module
+configure_requires:
+ ExtUtils::MakeMaker: 0
+requires:
+ MIME::Base64: 2
+ perl: 5.004
+resources:
+ MailingList: mailto:libwww@perl.org
+ repository: http://gitorious.org/projects/perl-uri
+no_index:
+ directory:
+ - t
+ - inc
+generated_by: ExtUtils::MakeMaker version 6.4801
meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.3.html
- version: 1.3
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
+recommends:
+ Business::ISBN: 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/URI-1.37/Makefile.PL new/URI-1.38/Makefile.PL
--- old/URI-1.37/Makefile.PL 2008-04-02 17:09:07.000000000 +0200
+++ new/URI-1.38/Makefile.PL 2009-05-28 06:34:54.000000000 +0200
@@ -19,8 +19,43 @@
WriteMakefile(
'NAME' => 'URI',
'VERSION_FROM' => 'URI.pm',
+ 'ABSTRACT' => 'Uniform Resource Identifiers (absolute and relative)',
+ 'AUTHOR' => 'Gisle Aas ',
+ 'LICENSE' => 'perl',
+ 'MIN_PERL_VERSION' => 5.004,
'PREREQ_PM' => {
- 'MIME::Base64' => 2,
- },
- dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
+ 'MIME::Base64' => 2,
+ },
+ 'META_MERGE' => {
+ 'recommends' => {
+ 'Business::ISBN' => 0,
+ },
+ 'resources' => {
+ 'repository' => 'http://gitorious.org/projects/perl-uri',
+ 'MailingList' => 'mailto:libwww@perl.org',
+ }
+ },
);
+
+
+BEGIN {
+ # compatibility with older versions of MakeMaker
+ my $developer = -f ".gitignore";
+ my %mm_req = (
+ LICENCE => 6.31,
+ META_MERGE => 6.45,
+ META_ADD => 6.45,
+ MIN_PERL_VERSION => 6.48,
+ );
+ undef(*WriteMakefile);
+ *WriteMakefile = sub {
+ my %arg = @_;
+ for (keys %mm_req) {
+ unless (eval { ExtUtils::MakeMaker->VERSION($mm_req{$_}) }) {
+ warn "$_ $@" if $developer;
+ delete $arg{$_};
+ }
+ }
+ ExtUtils::MakeMaker::WriteMakefile(%arg);
+ };
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/URI-1.37/URI/Escape.pm new/URI-1.38/URI/Escape.pm
--- old/URI-1.37/URI/Escape.pm 2008-04-03 00:00:02.000000000 +0200
+++ new/URI-1.38/URI/Escape.pm 2009-05-28 06:20:53.000000000 +0200
@@ -88,12 +88,12 @@
but will even work for perl-5.6 for chars in the 128 .. 255 range.
-Note: Javascript has a function called escape() that produce the
+Note: Javascript has a function called escape() that produces the
sequence "%uXXXX" for chars in the 256 .. 65535 range. This function
has really nothing to do with URI escaping but some folks got confused
since it "does the right thing" in the 0 .. 255 range. Because of
this you sometimes see "URIs" with these kind of escapes. The
-JavaScript encodeURI() function is similar to uri_escape_utf8().
+JavaScript encodeURIComponent() function is similar to uri_escape_utf8().
=item uri_unescape($string,...)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/URI-1.37/URI/QueryParam.pm new/URI-1.38/URI/QueryParam.pm
--- old/URI-1.37/URI/QueryParam.pm 2008-04-02 17:09:07.000000000 +0200
+++ new/URI-1.38/URI/QueryParam.pm 2009-05-28 06:20:38.000000000 +0200
@@ -181,7 +181,7 @@
Note that sequence information is lost. This means that:
- $u->query_form_hash($u->query_form_hash)
+ $u->query_form_hash($u->query_form_hash);
is not necessarily a no-op, as it may reorder the key/value pairs.
The values returned by the query_param() method should stay the same
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/URI-1.37/URI/file.pm new/URI-1.38/URI/file.pm
--- old/URI-1.37/URI/file.pm 2008-04-02 23:25:57.000000000 +0200
+++ new/URI-1.38/URI/file.pm 2009-05-28 06:20:53.000000000 +0200
@@ -281,7 +281,7 @@
The special value "localhost" is used in the host field to indicate
that the filename should really be used on whatever host one is.
This for example allows links to be made to files which are
- distribted on many machines, or to "your unix local password file"
+ distributed on many machines, or to "your unix local password file"
subject of course to consistency across the users of the data.
A void host field is equivalent to "localhost".
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/URI-1.37/URI.pm new/URI-1.38/URI.pm
--- old/URI-1.37/URI.pm 2008-06-16 10:55:47.000000000 +0200
+++ new/URI-1.38/URI.pm 2009-05-28 06:20:53.000000000 +0200
@@ -2,7 +2,7 @@
use strict;
use vars qw($VERSION);
-$VERSION = "1.37";
+$VERSION = "1.38";
use vars qw($ABS_REMOTE_LEADING_DOTS $ABS_ALLOW_RELATIVE_SCHEME $DEFAULT_QUERY_FORM_DELIMITER);
@@ -107,7 +107,7 @@
# preloaded (with 'use') implementation
$ic = "URI::$scheme"; # default location
- # turn scheme into a valid perl identifier by a simple tranformation...
+ # turn scheme into a valid perl identifier by a simple transformation...
$ic =~ s/\+/_P/g;
$ic =~ s/\./_O/g;
$ic =~ s/\-/_/g;
@@ -622,7 +622,7 @@
The $delim parameter can be passed as ";" to force the key/value pairs
to be delimited by ";" instead of "&" in the query string. This
-practice is often recommened for URLs embedded in HTML or XML
+practice is often recommended for URLs embedded in HTML or XML
documents as this avoids the trouble of escaping the "&" character.
You might also set the $URI::DEFAULT_QUERY_FORM_DELIMITER variable to
";" for the same global effect.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/URI-1.37/t/cwd.t new/URI-1.38/t/cwd.t
--- old/URI-1.37/t/cwd.t 2008-04-02 20:45:25.000000000 +0200
+++ new/URI-1.38/t/cwd.t 2009-05-28 06:20:38.000000000 +0200
@@ -5,6 +5,7 @@
plan tests => 1;
use URI::file;
+$ENV{PATH} = "/bin:/usr/bin";
my $cwd = eval { URI::file->cwd };
ok($@, '');
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/URI-1.37/t/heuristic.t new/URI-1.38/t/heuristic.t
--- old/URI-1.37/t/heuristic.t 2008-04-03 14:53:38.000000000 +0200
+++ new/URI-1.38/t/heuristic.t 2009-05-28 06:20:53.000000000 +0200
@@ -41,7 +41,7 @@
}
print "ok 5\n";
-if (gethostbyname("www.netscape.com")) {
+if (gethostbyname("www.netscape.com") && !gethostbyname("example.xyz")) {
# DNS probably work, lets run test 6..8
$URI::Heuristic::MY_COUNTRY = "bv";
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org