From 0721f2510b8e762b84a183e70ee9cd61e9b10e731c21a6046cfdf165c292eec9 Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Mon, 30 Sep 2019 07:19:52 +0000 Subject: [PATCH] Accepting request 733844 from devel:languages:perl:autoupdate - updated to 1.5 see /usr/share/doc/packages/perl-Text-Capitalize/Changes 1.4 Changed uc calls to ucfirst (hypothetically better for title-casing with unicode strings) 1.5 Removed PerlIO::locale dependency from tests, got rid of the Andy Lester tests of pod and such. OBS-URL: https://build.opensuse.org/request/show/733844 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-Capitalize?expand=0&rev=3 --- Text-Capitalize-1.3.tar.gz | 3 --- Text-Capitalize-1.5.tar.gz | 3 +++ cpanspec.yml | 28 ++++++++++++++++++++++++++++ perl-Text-Capitalize.changes | 14 ++++++++++++++ perl-Text-Capitalize.spec | 21 ++++++++++----------- 5 files changed, 55 insertions(+), 14 deletions(-) delete mode 100644 Text-Capitalize-1.3.tar.gz create mode 100644 Text-Capitalize-1.5.tar.gz create mode 100644 cpanspec.yml diff --git a/Text-Capitalize-1.3.tar.gz b/Text-Capitalize-1.3.tar.gz deleted file mode 100644 index 001d8cb..0000000 --- a/Text-Capitalize-1.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:796d95fd883cd181befbf621426013b23372338b57910e11ee3492879f880b60 -size 32633 diff --git a/Text-Capitalize-1.5.tar.gz b/Text-Capitalize-1.5.tar.gz new file mode 100644 index 0000000..114c53a --- /dev/null +++ b/Text-Capitalize-1.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e01bf82325415538e02b4acf4a22d08e0afd63864a56c7d9c84b53367f37ab38 +size 29425 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-Text-Capitalize.changes b/perl-Text-Capitalize.changes index ee93fac..662190e 100644 --- a/perl-Text-Capitalize.changes +++ b/perl-Text-Capitalize.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Sat Sep 28 13:48:17 UTC 2019 - + +- updated to 1.5 + see /usr/share/doc/packages/perl-Text-Capitalize/Changes + + + 1.4 Changed uc calls to ucfirst (hypothetically better + for title-casing with unicode strings) + + + 1.5 Removed PerlIO::locale dependency from tests, + got rid of the Andy Lester tests of pod and such. + ------------------------------------------------------------------- Wed Apr 15 07:32:30 UTC 2015 - coolo@suse.com diff --git a/perl-Text-Capitalize.spec b/perl-Text-Capitalize.spec index ae1814a..a6ab58f 100644 --- a/perl-Text-Capitalize.spec +++ b/perl-Text-Capitalize.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Text-Capitalize # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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,25 +12,25 @@ # 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-Text-Capitalize -Version: 1.3 +Version: 1.5 Release: 0 %define cpan_name Text-Capitalize -Summary: capitalize strings ("to WORK AS titles" becomes "To Work as Titles") -License: Artistic-1.0 or GPL-1.0+ +Summary: Capitalize strings ("to WORK AS titles" becomes "To Work as Titles") +License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Text-Capitalize/ -Source: http://www.cpan.org/authors/id/D/DO/DOOM/%{cpan_name}-%{version}.tar.gz +Url: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/D/DO/DOOM/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Module::Build) >= 0.35 -BuildRequires: perl(PerlIO::locale) +BuildRequires: perl(Module::Build) >= 0.420000 %{perl_requires} %description @@ -71,10 +71,9 @@ transformation: %prep %setup -q -n %{cpan_name}-%{version} -find . -type f -print0 | xargs -0 chmod 644 %build -%{__perl} Build.PL installdirs=vendor +perl Build.PL installdirs=vendor ./Build build flags=%{?_smp_mflags} %check