Accepting request 177122 from home:adra:branches:devel:languages:perl

Update to 2.145, Updated license, Updated build requirements

OBS-URL: https://build.opensuse.org/request/show/177122
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Dumper?expand=0&rev=15
This commit is contained in:
Stephan Kulow
2013-06-02 07:37:43 +00:00
committed by Git OBS Bridge
parent e81ce1609f
commit f716573e72
4 changed files with 67 additions and 22 deletions

View File

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

3
Data-Dumper-2.145.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,46 @@
-------------------------------------------------------------------
Sat Jun 1 16:43:42 UTC 2013 - asterios.dramis@gmail.com
- Update to 2.145:
* Test refactoring and fixing wide and far.
* Various old-perl compat fixes.
2.143:
* Address vstring related test failures on 5.8: Skip tests for obscure case.
* Major improvements to test coverage and significant refactoring.
* Make Data::Dumper XS ignore Freezer return value. Fixes RT #116364.
* Change call of isALNUM to equivalent but more clearly named isWORDCHAR
2.139:
* Supply an explicit dynamic_config => 0 in META
* Properly list BUILD_REQUIRES prereqs (P5-RT#116028)
* Some optimizations. Removed useless "register" declarations.
2.136:
* Promote to stable release.
* Drop some "register" declarations.
2.135_07:
* Use the new utf8 to code point functions - fixing a potential reading
buffer overrun.
* Data::Dumper: Sparseseen option to avoid building much of the seen hash:
This has been measured to, in some cases, provide a 50% speed-up
* Dumper.xs: Avoid scan_vstring on 5.17.3 and up
* Avoid a warning from clang when compiling Data::Dumper
* Fix DD's dumping of qr|\/|
* Data::Dumper's Perl implementation was not working with overloaded blessed
globs, which it thought were strings.
* Allow Data::Dumper to load on miniperl
2.135_02:
* Makes DD dump *{''} properly.
* [perl #101162] DD support for vstrings: Support for vstrings to
Data::Dumper, in both Perl and XS implementations.
2.135_01:
* Make Data::Dumper UTF8- and null-clean with GVs.
* In Dumper.xs, use sv_newmortal() instead of sv_mortalcopy(&PL_sv_undef) for
efficiency.
* Suppress compiler warning
* Keep verbatim pod in Data::Dumper within 80 cols
- Updated license to "Artistic-1.0 or GPL-1.0+".
- Added perl(ExtUtils::MakeMaker) and perl(Test::More) as build requirements.
Removed perl-macros (not needed).
-------------------------------------------------------------------
Tue May 31 14:34:27 UTC 2011 - coolo@novell.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Data-Dumper (Version 2.131)
# spec file for package perl-Data-Dumper
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,19 +15,23 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: perl-Data-Dumper
Version: 2.131
Release: 1
License: CHECK(GPL+ or Artistic)
%define cpan_name Data-Dumper
Summary: stringified perl data structures, suitable for both printing and C<eval>
Url: http://search.cpan.org/dist/Data-Dumper/
Name: perl-Data-Dumper
Version: 2.145
Release: 0
Summary: Stringified perl data structures, suitable for both printing and C<eval>
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Source: http://www.cpan.org/authors/id/S/SM/SMUELLER/%{cpan_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Url: http://search.cpan.org/dist/Data-Dumper/
Source0: http://search.cpan.org/CPAN/authors/id/S/SM/SMUELLER/%{cpan_name}-%{version}.tar.gz
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(ExtUtils::MakeMaker)
# For tests
BuildRequires: perl(Test::More) >= 0.98
%{perl_requires}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Given a list of scalars or reference variables, writes out their contents
@@ -70,25 +74,23 @@ details.
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f -print0 | xargs -0 chmod 644
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%check
%{__make} test
make test
%install
%perl_make_install
# Fix rpmlint warning "zero-length"
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(-,root,root,755)
%defattr(-,root,root,-)
%doc Changes Todo
%changelog