1
0

Accepting request 848089 from devel:languages:perl

OBS-URL: https://build.opensuse.org/request/show/848089
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Algorithm-C3?expand=0&rev=15
This commit is contained in:
Dominique Leuenberger 2020-11-12 21:48:07 +00:00 committed by Git OBS Bridge
commit 8cb093cf31
5 changed files with 59 additions and 16 deletions

View File

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

3
Algorithm-C3-0.11.tar.gz Normal file
View File

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

30
cpanspec.yml Normal file
View File

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

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Nov 11 03:06:58 UTC 2020 - Tina Müller <timueller+perl@suse.de>
- 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

View File

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