Hello community,
here is the log from the commit of package perl-URI for openSUSE:Factory
checked in at Mon Sep 6 17:40:12 CEST 2010.
--------
--- perl-URI/perl-URI.changes 2010-04-02 13:24:06.000000000 +0200
+++ perl-URI/perl-URI.changes 2010-09-04 21:31:21.000000000 +0200
@@ -1,0 +2,24 @@
+Sat Sep 4 19:29:40 UTC 2010 - chris@computersalat.de
+
+- added bcond_with opt (for local build tests)
+ o BuildRequires perl-Business-ISBN
+
+-------------------------------------------------------------------
+Sat Sep 4 19:13:49 UTC 2010 - chris@computersalat.de
+
+- recreated by cpanspec 1.78
+- noarch pkg
+- rpmlint
+ o spurious-executable-perm uri-test
+- removed obsolete patch
+ o URI-1.37-path.diff
+
+-------------------------------------------------------------------
+Thu Sep 2 05:05:04 UTC 2010 - pascal.bleser@opensuse.org
+
+- update to 1.55:
+ * Treat ? as a reserved character in file: URIs
+ " is not a URI character [RT#56421]
+ * Avoid test failure unless defined $Config{useperlio}
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
URI-1.37-path.diff
URI-1.54.tar.bz2
New:
----
URI-1.55.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-URI.spec ++++++
--- /var/tmp/diff_new_pack.1dQJw5/_old 2010-09-06 17:34:27.000000000 +0200
+++ /var/tmp/diff_new_pack.1dQJw5/_new 2010-09-06 17:34:27.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package perl-URI (Version 1.54)
+# spec file for package perl-URI (Version 1.55)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -17,58 +17,72 @@
# norootforbuild
+%bcond_with opt
Name: perl-URI
-%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
-Summary: URI - Uniform Resource Identifiers (absolute and relative)
-Version: 1.54
+%define cpan_name URI
+Summary: Uniform Resource Identifiers (absolute and relative)
+Version: 1.55
Release: 1
-License: Artistic License ..
+License: GPL+ or Artistic
Group: Development/Libraries/Perl
-Url: http://search.cpan.org/dist/URI
+Url: http://search.cpan.org/dist/URI/
+#Source: http://www.cpan.org/modules/by-module/URI/URI-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
-Patch: %{cpan_name}-1.37-path.diff
+BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
+%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
+%endif
+%if %{with opt}
+BuildRequires: perl(Business::ISBN)
+%endif
BuildRequires: perl(MIME::Base64) >= 2
+#
Requires: perl = %{perl_version}
Requires: perl(MIME::Base64) >= 2
-Suggests: perl-Business-ISBN >= 2.00
+Suggests: perl(Business::ISBN)
%description
-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.
+This 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
+Authors:
+--------
+ Gisle Aas
+
%prep
%setup -q -n %{cpan_name}-%{version}
-%patch
+# rpmlint: spurious-executable-perm
+%{__chmod} 0644 uri-test
%build
-CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
+%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
-touch OFFLINE
%check
%{__make} test
%install
%perl_make_install
-%perl_process_packlist
+# do not perl_process_packlist (noarch)
+# remove .packlist file
+%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
+# remove perllocal.pod file
+%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
-%defattr(-,root,root)
-%doc Changes README
+%defattr(-,root,root,-)
+%doc Changes README uri-test
%changelog
++++++ URI-1.54.tar.bz2 -> URI-1.55.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/URI-1.54/Changes new/URI-1.55/Changes
--- old/URI-1.54/Changes 2010-03-31 09:09:53.000000000 +0200
+++ new/URI-1.55/Changes 2010-09-01 23:34:41.000000000 +0200
@@ -1,3 +1,16 @@
+2010-09-01 Gisle Aas
+
+ Release 1.55
+
+ Gisle Aas (2):
+ Treat ? as a reserved character in file: URIs
+ " is not a URI character [RT#56421]
+
+ Torsten F<C3><B6>rtsch (1):
+ Avoid test failure unless defined $Config{useperlio}
+
+
+
2010-03-31 Gisle Aas
Release 1.54
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/URI-1.54/META.yml new/URI-1.55/META.yml
--- old/URI-1.54/META.yml 2010-03-31 09:10:41.000000000 +0200
+++ new/URI-1.55/META.yml 2010-09-01 23:35:31.000000000 +0200
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: URI
-version: 1.54
+version: 1.55
abstract: Uniform Resource Identifiers (absolute and relative)
author:
- Gisle Aas
@@ -20,7 +20,7 @@
directory:
- t
- inc
-generated_by: ExtUtils::MakeMaker version 6.55_02
+generated_by: ExtUtils::MakeMaker version 6.56
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/URI-1.54/URI/Escape.pm new/URI-1.55/URI/Escape.pm
--- old/URI-1.54/URI/Escape.pm 2010-03-14 14:43:29.000000000 +0100
+++ new/URI-1.55/URI/Escape.pm 2010-08-22 15:38:25.000000000 +0200
@@ -159,7 +159,7 @@
my %Unsafe = (
RFC2732 => qr/[^A-Za-z0-9\-_.!~*'()]/,
- RFC3986 => qr/[^A-Za-z0-9\-\._~"]/,
+ RFC3986 => qr/[^A-Za-z0-9\-\._~]/,
);
sub uri_escape
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/URI-1.54/URI/file.pm new/URI-1.55/URI/file.pm
--- old/URI-1.54/URI/file.pm 2009-05-28 06:20:53.000000000 +0200
+++ new/URI-1.55/URI/file.pm 2010-08-22 13:15:37.000000000 +0200
@@ -37,7 +37,6 @@
$class;
}
-sub path { shift->path_query(@_) }
sub host { uri_unescape(shift->authority(@_)) }
sub new
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/URI-1.54/URI.pm new/URI-1.55/URI.pm
--- old/URI-1.54/URI.pm 2010-03-31 09:08:02.000000000 +0200
+++ new/URI-1.55/URI.pm 2010-09-01 23:32:24.000000000 +0200
@@ -2,7 +2,7 @@
use strict;
use vars qw($VERSION);
-$VERSION = "1.54";
+$VERSION = "1.55";
use vars qw($ABS_REMOTE_LEADING_DOTS $ABS_ALLOW_RELATIVE_SCHEME $DEFAULT_QUERY_FORM_DELIMITER);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/URI-1.54/t/escape.t new/URI-1.55/t/escape.t
--- old/URI-1.54/t/escape.t 2010-01-29 23:57:24.000000000 +0100
+++ new/URI-1.55/t/escape.t 2010-08-22 15:40:32.000000000 +0200
@@ -3,7 +3,7 @@
use strict;
use warnings;
-use Test::More tests => 11;
+use Test::More tests => 12;
use URI::Escape;
@@ -13,6 +13,7 @@
# New escapes in RFC 3986
is uri_escape("~*'()"), "~%2A%27%28%29";
+is uri_escape("<\">"), "%3C%22%3E";
is uri_escape(undef), undef;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/URI-1.54/t/iri.t new/URI-1.55/t/iri.t
--- old/URI-1.54/t/iri.t 2010-01-16 08:08:39.000000000 +0100
+++ new/URI-1.55/t/iri.t 2010-04-07 21:55:23.000000000 +0200
@@ -2,7 +2,14 @@
use utf8;
use strict;
-use Test::More tests => 26;
+use Test::More;
+use Config;
+
+if (defined $Config{useperlio}) {
+ plan tests=>26;
+} else {
+ plan skip_all=>'this perl doesn\'t support PerlIO layers';
+}
use URI;
use URI::IRI;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/URI-1.54/t/old-base.t new/URI-1.55/t/old-base.t
--- old/URI-1.54/t/old-base.t 2009-11-21 14:14:55.000000000 +0100
+++ new/URI-1.55/t/old-base.t 2010-08-22 13:20:28.000000000 +0200
@@ -205,7 +205,7 @@
'file://host/fseg/fs?g/fseg'
# don't escape ? for file: scheme
- => { 'host'=>'host', 'path'=>'/fseg/fs?g/fseg',
+ => { 'host'=>'host', 'path'=>'/fseg/fs',
'as_string'=>'file://host/fseg/fs?g/fseg' },
'gopher://host'
@@ -931,7 +931,7 @@
["abc", "file:/test?aas", "file:/abc"],
# ["gopher:", "", "gopher:"],
# ["?foo", "http://abc/a", "http://abc/a?foo"],
- ["?foo", "file:/abc", "file:/?foo"],
+ ["?foo", "file:/abc", "file:/abc?foo"],
["#foo", "http://abc/a", "http://abc/a#foo"],
["#foo", "file:a", "file:a#foo"],
["#foo", "file:/a", "file:/a#foo"],
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org