From ecbd5bd7ee673b5a772d226edbc29740178f7107ae084db529106f6d97c334f6 Mon Sep 17 00:00:00 2001 From: Pedro Monreal Gonzalez Date: Thu, 8 Nov 2018 09:55:15 +0000 Subject: [PATCH 1/2] Accepting request 647188 from devel:languages:perl:autoupdate automatic update OBS-URL: https://build.opensuse.org/request/show/647188 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Slurp?expand=0&rev=20 --- File-Slurp-9999.19.tar.gz | 3 --- File-Slurp-9999.24.tar.gz | 3 +++ cpanspec.yml | 28 +++++++++++++++++++++++ perl-File-Slurp.changes | 6 +++++ perl-File-Slurp.spec | 47 +++++++++++---------------------------- 5 files changed, 50 insertions(+), 37 deletions(-) delete mode 100644 File-Slurp-9999.19.tar.gz create mode 100644 File-Slurp-9999.24.tar.gz create mode 100644 cpanspec.yml diff --git a/File-Slurp-9999.19.tar.gz b/File-Slurp-9999.19.tar.gz deleted file mode 100644 index 37e81b6..0000000 --- a/File-Slurp-9999.19.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ce29ebe995097ebd6e9bc03284714cdfa0c46dc94f6b14a56980747ea3253643 -size 39927 diff --git a/File-Slurp-9999.24.tar.gz b/File-Slurp-9999.24.tar.gz new file mode 100644 index 0000000..bb015f8 --- /dev/null +++ b/File-Slurp-9999.24.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fd480c3d474f477580940b26e0bce900ca5cb92c143c3bb3549882c1d7f823cf +size 34801 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-File-Slurp.changes b/perl-File-Slurp.changes index 129bfe4..084b1e8 100644 --- a/perl-File-Slurp.changes +++ b/perl-File-Slurp.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Nov 8 06:22:24 UTC 2018 - Stephan Kulow + +- updated to 9999.24 + see /usr/share/doc/packages/perl-File-Slurp/Changes + ------------------------------------------------------------------- Wed Jun 08 05:07:11 UTC 2011 - pascal.bleser@opensuse.org diff --git a/perl-File-Slurp.spec b/perl-File-Slurp.spec index 7af90a0..67fcd63 100644 --- a/perl-File-Slurp.spec +++ b/perl-File-Slurp.spec @@ -1,7 +1,7 @@ # # spec file for package perl-File-Slurp # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,55 +12,37 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # - Name: perl-File-Slurp -Version: 9999.19 -Release: 1 -License: GPL+ or Artistic +Version: 9999.24 +Release: 0 %define cpan_name File-Slurp -Summary: Simple and Efficient Reading/Writing of Complete Files -Url: http://search.cpan.org/dist/File-Slurp/ +Summary: Simple and Efficient Reading/Writing/Modifying of Complete Files +License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -#Source: http://www.cpan.org/authors/id/U/UR/URI/File-Slurp-%{version}.tar.gz -Source: %{cpan_name}-%{version}.tar.gz +Url: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/C/CA/CAPOEIRAB/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Carp) -BuildRequires: perl(Exporter) -BuildRequires: perl(Fcntl) -BuildRequires: perl(POSIX) -Requires: perl(Carp) -Requires: perl(Exporter) -Requires: perl(Fcntl) -Requires: perl(POSIX) %{perl_requires} %description This module provides subs that allow you to read or write entire files with one simple call. They are designed to be simple to use, have flexible ways to pass in or get the file contents and to be very efficient. There is also -a sub to read in all the files in a directory other than '.' and '..' - -These slurp/spew subs work for files, pipes and sockets, stdio, -pseudo-files, and the DATA handle. Read more about why slurping files is a -good thing in the file 'slurp_article.pod' in the extras/ directory. - -If you are interested in how fast these calls work, check out the -slurp_bench.pl program in the extras/ directory. It compares many different -forms of slurping. You can select the I/O direction, context and file -sizes. Use the --help option to see how to run it. +a sub to read in all the files in a directory. %prep %setup -q -n %{cpan_name}-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} %check @@ -71,11 +53,8 @@ sizes. Use the --help option to see how to run it. %perl_process_packlist %perl_gen_filelist -%clean -%{__rm} -rf %{buildroot} - %files -f %{name}.files -%defattr(644,root,root,755) -%doc Changes README TODO +%defattr(-,root,root,755) +%doc Changes README.md %changelog From 771f5ce1c4c4c1cb0ebfecd083da99655ebb98589642364d56a804ce48b397f5 Mon Sep 17 00:00:00 2001 From: Pedro Monreal Gonzalez Date: Fri, 9 Nov 2018 09:48:26 +0000 Subject: [PATCH 2/2] Accepting request 647539 from home:jengelh:branches:devel:languages:perl - Trim bias from summary. OBS-URL: https://build.opensuse.org/request/show/647539 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Slurp?expand=0&rev=21 --- cpanspec.yml | 2 +- perl-File-Slurp.changes | 5 +++++ perl-File-Slurp.spec | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/cpanspec.yml b/cpanspec.yml index 76ad4a4..f44cd60 100644 --- a/cpanspec.yml +++ b/cpanspec.yml @@ -1,8 +1,8 @@ --- +summary: Perl module for reading/writing/modifying complete files #description_paragraphs: 3 #description: |- # override description from CPAN -#summary: override summary from CPAN #no_testing: broken upstream #sources: # - source1 diff --git a/perl-File-Slurp.changes b/perl-File-Slurp.changes index 084b1e8..f4dde01 100644 --- a/perl-File-Slurp.changes +++ b/perl-File-Slurp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Nov 9 09:38:01 UTC 2018 - Jan Engelhardt + +- Trim bias from summary. + ------------------------------------------------------------------- Thu Nov 8 06:22:24 UTC 2018 - Stephan Kulow diff --git a/perl-File-Slurp.spec b/perl-File-Slurp.spec index 67fcd63..78bfd0b 100644 --- a/perl-File-Slurp.spec +++ b/perl-File-Slurp.spec @@ -20,7 +20,7 @@ Name: perl-File-Slurp Version: 9999.24 Release: 0 %define cpan_name File-Slurp -Summary: Simple and Efficient Reading/Writing/Modifying of Complete Files +Summary: Perl module for reading/writing/modifying complete files License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl Url: https://metacpan.org/release/%{cpan_name}