diff --git a/Mixin-Linewise-0.108.tar.gz b/Mixin-Linewise-0.108.tar.gz deleted file mode 100644 index 51e2c85..0000000 --- a/Mixin-Linewise-0.108.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7df20678474c0973930a472b0c55e3f8e85b7790b68ab18ef618f9c453c8aef2 -size 19151 diff --git a/Mixin-Linewise-0.110.tar.gz b/Mixin-Linewise-0.110.tar.gz new file mode 100644 index 0000000..9f44b54 --- /dev/null +++ b/Mixin-Linewise-0.110.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a7f120b7aa82dfb1a5ad1aa11abd33232b26a2b09c654e649e97a3c2128b1d8b +size 20035 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..ab24ed9 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,35 @@ +--- +#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: +# baz.patch: PATCH-FIX-OPENSUSE +#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 +#skip_doc: regexp_to_skip_for_doc.* +#add_doc: files to add to docs +#misc: |- +#anything else to be added to spec file +#follows directly after %files section, so it can contain new blocks or also +#changes to %files section diff --git a/perl-Mixin-Linewise.changes b/perl-Mixin-Linewise.changes index ec36ec9..ae7953e 100644 --- a/perl-Mixin-Linewise.changes +++ b/perl-Mixin-Linewise.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Thu Jun 24 03:08:44 UTC 2021 - Tina Müller + +- updated to 0.110 + see /usr/share/doc/packages/perl-Mixin-Linewise/Changes + + 0.110 2021-06-22 22:27:07-04:00 America/New_York + - tweak the file test again to exclude directories; (is this going to + turn into something more convoluted in several releases? probably) + + 0.109 2021-06-20 21:10:22-04:00 America/New_York + - use "-r" test instead of "-f" test, to allow use on (say) named + pipes (thanks, L. Alberto Giménez!) + - update author information + - add perl support section to docs + ------------------------------------------------------------------- Mon Apr 13 18:47:46 UTC 2015 - coolo@suse.com diff --git a/perl-Mixin-Linewise.spec b/perl-Mixin-Linewise.spec index 1cad8f5..b32f364 100644 --- a/perl-Mixin-Linewise.spec +++ b/perl-Mixin-Linewise.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Mixin-Linewise # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,23 +12,23 @@ # 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-Mixin-Linewise -Version: 0.108 -Release: 0 %define cpan_name Mixin-Linewise -Summary: write your linewise code for handles; this does the rest -License: Artistic-1.0 or GPL-1.0+ -Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Mixin-Linewise/ -Source: http://www.cpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz +Name: perl-Mixin-Linewise +Version: 0.110 +Release: 0 +Summary: Write your linewise code for handles; this does the rest +License: Artistic-1.0 OR GPL-1.0-or-later +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.78 BuildRequires: perl(PerlIO::utf8_strict) BuildRequires: perl(Sub::Exporter) BuildRequires: perl(Test::More) >= 0.96 @@ -38,20 +38,19 @@ Requires: perl(Sub::Exporter) %description It's boring to deal with opening files for IO, converting strings to -handle-like objects, and all that. With the Mixin::Linewise::Readers -manpage and the Mixin::Linewise::Writers manpage, you can just write a -method to handle handles, and methods for handling strings and filenames -are added for you. +handle-like objects, and all that. With Mixin::Linewise::Readers and +Mixin::Linewise::Writers, you can just write a method to handle handles, +and methods for handling strings and filenames are added for you. %prep -%setup -q -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +%make_build %check -%{__make} test +make test %install %perl_make_install @@ -59,7 +58,7 @@ are added for you. %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) -%doc Changes LICENSE README +%doc Changes README +%license LICENSE %changelog