From 914fe90a9e40d30f066bb3750d2fe9c56b06772c5acf9e14d9e542512be50b45 Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Thu, 12 Nov 2020 10:12:03 +0000 Subject: [PATCH] Accepting request 848080 from devel:languages:perl:autoupdate - updated to 0.11 see /usr/share/doc/packages/perl-Algorithm-C3/Changes 0.11 - 2020-11-10 - set metadata for static dependency list and install - move repository to github - minor test cleanups - fix Makefile.PL to work for authors in perl 5.26+ OBS-URL: https://build.opensuse.org/request/show/848080 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Algorithm-C3?expand=0&rev=23 --- Algorithm-C3-0.10.tar.gz | 3 --- Algorithm-C3-0.11.tar.gz | 3 +++ cpanspec.yml | 30 ++++++++++++++++++++++++++++++ perl-Algorithm-C3.changes | 12 ++++++++++++ perl-Algorithm-C3.spec | 27 ++++++++++++++------------- 5 files changed, 59 insertions(+), 16 deletions(-) delete mode 100644 Algorithm-C3-0.10.tar.gz create mode 100644 Algorithm-C3-0.11.tar.gz create mode 100644 cpanspec.yml diff --git a/Algorithm-C3-0.10.tar.gz b/Algorithm-C3-0.10.tar.gz deleted file mode 100644 index b0ac6d2..0000000 --- a/Algorithm-C3-0.10.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5acf3a074025e9be10da352adc6d1ccadde4b61b6d6691e83248d366bb621406 -size 12523 diff --git a/Algorithm-C3-0.11.tar.gz b/Algorithm-C3-0.11.tar.gz new file mode 100644 index 0000000..d3a33b0 --- /dev/null +++ b/Algorithm-C3-0.11.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aaf48467765deea6e48054bc7d43e46e4d40cbcda16552c629d37be098289309 +size 19226 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..433beb8 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,30 @@ +--- +#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 +#skip_doc: regexp_to_skip_for_doc.* +#add_doc: files to add to docs diff --git a/perl-Algorithm-C3.changes b/perl-Algorithm-C3.changes index c3528e7..f36d208 100644 --- a/perl-Algorithm-C3.changes +++ b/perl-Algorithm-C3.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Wed Nov 11 03:06:58 UTC 2020 - Tina Müller + +- updated to 0.11 + see /usr/share/doc/packages/perl-Algorithm-C3/Changes + + 0.11 - 2020-11-10 + - set metadata for static dependency list and install + - move repository to github + - minor test cleanups + - fix Makefile.PL to work for authors in perl 5.26+ + ------------------------------------------------------------------- Mon Sep 15 12:52:31 UTC 2014 - coolo@suse.com diff --git a/perl-Algorithm-C3.spec b/perl-Algorithm-C3.spec index 5357400..e1f7e42 100644 --- a/perl-Algorithm-C3.spec +++ b/perl-Algorithm-C3.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Algorithm-C3 # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,19 +12,20 @@ # 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-Algorithm-C3 -Version: 0.10 +Version: 0.11 Release: 0 %define cpan_name Algorithm-C3 -Summary: A module for merging hierarchies using the C3 algorithm -License: Artistic-1.0 or GPL-1.0+ +Summary: Module for merging hierarchies using the C3 algorithm +License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Algorithm-C3/ -Source: http://www.cpan.org/authors/id/H/HA/HAARG/%{cpan_name}-%{version}.tar.gz +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/H/HA/HAARG/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl @@ -39,19 +40,18 @@ and metamodels, but it could also be used for things like dependency resolution as well since it tends to do such a nice job of preserving local precedence orderings. -Below is a brief explanation of C3 taken from the the Class::C3 manpage -module. For more detailed information, see the the SEE ALSO manpage section -and the links there. +Below is a brief explanation of C3 taken from the Class::C3 module. For +more detailed information, see the SEE ALSO section and the links there. %prep %setup -q -n %{cpan_name}-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %check -%{__make} test +make test %install %perl_make_install @@ -61,5 +61,6 @@ and the links there. %files -f %{name}.files %defattr(-,root,root,755) %doc Changes README +%license LICENSE %changelog