Accepting request 903521 from devel:languages:perl

OBS-URL: https://build.opensuse.org/request/show/903521
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Mixin-Linewise?expand=0&rev=16
This commit is contained in:
Dominique Leuenberger 2021-07-02 11:27:12 +00:00 committed by Git OBS Bridge
commit 5fb4e1d0fa
5 changed files with 74 additions and 24 deletions

View File

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

View File

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

35
cpanspec.yml Normal file
View File

@ -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

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Thu Jun 24 03:08:44 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- 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 Mon Apr 13 18:47:46 UTC 2015 - coolo@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package perl-Mixin-Linewise # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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 %define cpan_name Mixin-Linewise
Summary: write your linewise code for handles; this does the rest Name: perl-Mixin-Linewise
License: Artistic-1.0 or GPL-1.0+ Version: 0.110
Group: Development/Libraries/Perl Release: 0
Url: http://search.cpan.org/dist/Mixin-Linewise/ Summary: Write your linewise code for handles; this does the rest
Source: http://www.cpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz 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 BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.78
BuildRequires: perl(PerlIO::utf8_strict) BuildRequires: perl(PerlIO::utf8_strict)
BuildRequires: perl(Sub::Exporter) BuildRequires: perl(Sub::Exporter)
BuildRequires: perl(Test::More) >= 0.96 BuildRequires: perl(Test::More) >= 0.96
@ -38,20 +38,19 @@ Requires: perl(Sub::Exporter)
%description %description
It's boring to deal with opening files for IO, converting strings to It's boring to deal with opening files for IO, converting strings to
handle-like objects, and all that. With the Mixin::Linewise::Readers handle-like objects, and all that. With Mixin::Linewise::Readers and
manpage and the Mixin::Linewise::Writers manpage, you can just write a Mixin::Linewise::Writers, you can just write a method to handle handles,
method to handle handles, and methods for handling strings and filenames and methods for handling strings and filenames are added for you.
are added for you.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{version}
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags} %make_build
%check %check
%{__make} test make test
%install %install
%perl_make_install %perl_make_install
@ -59,7 +58,7 @@ are added for you.
%perl_gen_filelist %perl_gen_filelist
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755) %doc Changes README
%doc Changes LICENSE README %license LICENSE
%changelog %changelog