diff --git a/Data-Dmp-0.23.tar.gz b/Data-Dmp-0.23.tar.gz deleted file mode 100644 index d4d6b64..0000000 --- a/Data-Dmp-0.23.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f2b326d703fb845d9dffd3b8b46d6c5d461143ac8f0f3c94d555ed294f0daf21 -size 20218 diff --git a/Data-Dmp-0.240.tar.gz b/Data-Dmp-0.240.tar.gz new file mode 100644 index 0000000..965fecc --- /dev/null +++ b/Data-Dmp-0.240.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5514c811d6fb708ef9a5930144dd4b76c1ccfe243be94423e2e55fc4a29c0f59 +size 21548 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..76ad4a4 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,28 @@ +--- +#description_paragraphs: 3 +#description: |- +# override description from CPAN +#summary: override summary from CPAN +#no_testing: broken upstream +#sources: +# - source1 +# - source2 +#patches: +# foo.patch: -p1 +# bar.patch: +#preamble: |- +# BuildRequires: gcc-c++ +#post_prep: |- +# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` +# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL +#post_build: |- +# rm unused.files +#post_install: |- +# sed on %{name}.files +#license: SUSE-NonFree +#skip_noarch: 1 +#custom_build: |- +#./Build build flags=%{?_smp_mflags} --myflag +#custom_test: |- +#startserver && make test +#ignore_requires: Bizarre::Module diff --git a/perl-Data-Dmp.changes b/perl-Data-Dmp.changes index 6785d32..0c048dc 100644 --- a/perl-Data-Dmp.changes +++ b/perl-Data-Dmp.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Oct 17 03:07:19 UTC 2020 - Tina Müller + +- updated to 0.240 + see /usr/share/doc/packages/perl-Data-Dmp/Changes + ------------------------------------------------------------------- Wed Apr 3 06:51:25 UTC 2019 - Stephan Kulow diff --git a/perl-Data-Dmp.spec b/perl-Data-Dmp.spec index 589763f..272dab3 100644 --- a/perl-Data-Dmp.spec +++ b/perl-Data-Dmp.spec @@ -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