Accepting request 104732 from devel:languages:perl

- update to 0.17017
  - Bleadperl broke Error.pm's tests - 
  	- https://rt.cpan.org/Ticket/Display.html?id=74770
    - Applied a patch to check for optional trailing periods.
	- Thanks to ANDK for the report and RURBAN for the patch

OBS-URL: https://build.opensuse.org/request/show/104732
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Error?expand=0&rev=17
This commit is contained in:
Stephan Kulow 2012-02-16 15:21:54 +00:00 committed by Git OBS Bridge
commit 5f22b60b43
4 changed files with 23 additions and 19 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f013a33ce33f324d6ff73ca074f34aa13f04bcec11e7f91c820c2e7b5e1979aa
size 20990

3
Error-0.17017.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c4788ad1c6187f91b0b727d65a6c25af4da8e86be2f4e75a3ea6b7120b1c4a2b
size 22191

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Feb 13 02:36:29 UTC 2012 - vcizek@suse.com
- update to 0.17017
- Bleadperl broke Error.pm's tests -
- https://rt.cpan.org/Ticket/Display.html?id=74770
- Applied a patch to check for optional trailing periods.
- Thanks to ANDK for the report and RURBAN for the patch
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Nov 18 11:09:03 UTC 2011 - coolo@suse.com Fri Nov 18 11:09:03 UTC 2011 - coolo@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package perl-Error # spec file for package perl-Error
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -15,26 +15,25 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
%bcond_with pod %bcond_with pod
Name: perl-Error Name: perl-Error
%define cpan_name Error Version: 0.17017
Summary: Error/exception handling in an OO-ish way
Version: 0.17016
Release: 7 Release: 7
License: GPL-1.0+ or Artistic-1.0 License: GPL-1.0+ or Artistic-1.0
Group: Development/Libraries/Perl %define cpan_name Error
Summary: Error/exception handling in an OO-ish way
Url: http://search.cpan.org/dist/Error/ Url: http://search.cpan.org/dist/Error/
Group: Development/Libraries/Perl
#Source: http://www.cpan.org/authors/id/S/SH/SHLOMIF/Error-0.17016.tar.gz #Source: http://www.cpan.org/authors/id/S/SH/SHLOMIF/Error-0.17016.tar.gz
Source: %{cpan_name}-%{version}.tar.gz Source: %{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl BuildRequires: perl
BuildRequires: perl(Module::Build) BuildRequires: perl(Module::Build)
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%{perl_requires}
%if %{with pod} %if %{with pod}
BuildRequires: perl(Test::Pod) >= 1.14 BuildRequires: perl(Test::Pod) >= 1.14
BuildRequires: perl(Test::Pod::Coverage) >= 1.04 BuildRequires: perl(Test::Pod::Coverage) >= 1.04
@ -53,26 +52,22 @@ catch, or can simply be recorded.
Errors in the class 'Error' should not be thrown directly, but the user Errors in the class 'Error' should not be thrown directly, but the user
should throw errors from a sub-class of 'Error'. should throw errors from a sub-class of 'Error'.
Authors:
--------
Graham Barr <gbarr@pobox.com>
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
%build %build
%{__perl} Build.PL installdirs=vendor perl Build.PL installdirs=vendor
./Build build flags=%{?_smp_mflags} ./Build build flags=%{?_smp_mflags}
%check %check
./Build test ./Build test
%install %install
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 ./Build install destdir=%{buildroot} create_packlist=0
%perl_gen_filelist %perl_gen_filelist
%clean %clean
%{__rm} -rf $RPM_BUILD_ROOT rm -rf %{buildroot}
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,-) %defattr(-,root,root,-)