Accepting request 842297 from devel:languages:perl:autoupdate

- updated to 0.240
   see /usr/share/doc/packages/perl-Data-Dmp/Changes

OBS-URL: https://build.opensuse.org/request/show/842297
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Dmp?expand=0&rev=2
This commit is contained in:
2020-10-17 13:40:15 +00:00
committed by Git OBS Bridge
parent d6bddce084
commit c4a9885bc4
5 changed files with 43 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Data-Dmp
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,15 @@
Name: perl-Data-Dmp
Version: 0.23
Version: 0.240
Release: 0
%define cpan_name Data-Dmp
Summary: Dump Perl data structures as Perl code
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: https://metacpan.org/release/%{cpan_name}
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@@ -35,7 +36,7 @@ Requires: perl(Regexp::Stringify)
%{perl_requires}
%description
Data::Dmp is a Perl dumper like Data::Dumper. It's compact (only about 175
Data::Dmp is a Perl dumper like Data::Dumper. It's compact (only about 200
lines of code long), starts fast and does not use any non-core modules
except Regexp::Stringify when dumping regexes. It produces compact
single-line output (similar to Data::Dumper::Concise). It roughly has the
@@ -48,7 +49,7 @@ some features that I need like proper regex dumping and coderef deparsing.
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
perl Makefile.PL INSTALLDIRS=vendor