From 9669b99015b8e9c94f14e837bf42b76d8e1cb14f9ff1632cd1f5bf17db088168 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 9 Mar 2016 06:36:49 +0000 Subject: [PATCH] Accepting request 368229 from devel:languages:perl:autoupdate automatic update OBS-URL: https://build.opensuse.org/request/show/368229 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Readonly?expand=0&rev=25 --- Readonly-2.00.tar.gz | 3 --- Readonly-2.01.tar.gz | 3 +++ cpanspec.yml | 28 ++++++++++++++++++++++++++++ perl-Readonly.changes | 12 ++++++++++++ perl-Readonly.spec | 19 +++++++++---------- 5 files changed, 52 insertions(+), 13 deletions(-) delete mode 100644 Readonly-2.00.tar.gz create mode 100644 Readonly-2.01.tar.gz create mode 100644 cpanspec.yml diff --git a/Readonly-2.00.tar.gz b/Readonly-2.00.tar.gz deleted file mode 100644 index bd54972..0000000 --- a/Readonly-2.00.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9bd0156e958842fdfd6c3bb27a23b47232d4737a407d81fabc4dc64b9363bf98 -size 23673 diff --git a/Readonly-2.01.tar.gz b/Readonly-2.01.tar.gz new file mode 100644 index 0000000..d25208c --- /dev/null +++ b/Readonly-2.01.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ec7076c6851b6d3338e959645cd995343241f5b20000ffc29519faf28f6b482e +size 23227 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-Readonly.changes b/perl-Readonly.changes index 55783ac..e39594c 100644 --- a/perl-Readonly.changes +++ b/perl-Readonly.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Tue Mar 8 10:55:38 UTC 2016 - coolo@suse.com + +- updated to 2.01 + see /usr/share/doc/packages/perl-Readonly/Changes + + 2.01 2016-02-24T16:01:12Z + - Disallow initialization of Readonly variables by assignment + allowed by Perl prototype changes in v5.16. Assignment initialization + of scalars sets scalar variables to undef and lists and hashes + initialized by assignment are not read only. + ------------------------------------------------------------------- Wed Sep 17 14:55:28 UTC 2014 - coolo@suse.com diff --git a/perl-Readonly.spec b/perl-Readonly.spec index 7a95ee2..0cea13b 100644 --- a/perl-Readonly.spec +++ b/perl-Readonly.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Readonly # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -17,21 +17,20 @@ Name: perl-Readonly -Version: 2.00 +Version: 2.01 Release: 0 %define cpan_name Readonly Summary: Facility for creating read-only scalars, arrays, hashes License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Readonly/ -Source: http://www.cpan.org/authors/id/S/SA/SANKO/%{cpan_name}-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/S/SA/SANKO/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(CPAN::Meta) -BuildRequires: perl(CPAN::Meta::Prereqs) -BuildRequires: perl(Module::Build) >= 0.38 +BuildRequires: perl(Module::Build::Tiny) >= 0.035 %{perl_requires} %description @@ -41,18 +40,18 @@ Facility for creating read-only scalars, arrays, hashes %setup -q -n %{cpan_name}-%{version} %build -%{__perl} Build.PL installdirs=vendor -./Build build flags=%{?_smp_mflags} +%{__perl} Build.PL --installdirs=vendor +./Build build --flags=%{?_smp_mflags} %check ./Build test %install -./Build install destdir=%{buildroot} create_packlist=0 +./Build install --destdir=%{buildroot} --create_packlist=0 %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes cpanfile LICENSE README.md +%doc Changes LICENSE README.md %changelog