From 2042c809c2bf5a8f649a49a6dac23ab1c57f662ca8defe38257d78de0ccae53d Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 7 Mar 2014 06:49:35 +0000 Subject: [PATCH] update OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Algorithm-C3?expand=0&rev=19 --- Algorithm-C3-0.08.tar.gz | 3 --- Algorithm-C3-0.09.tar.gz | 3 +++ perl-Algorithm-C3.changes | 8 +++++++ perl-Algorithm-C3.spec | 49 ++++++++++++++------------------------- 4 files changed, 28 insertions(+), 35 deletions(-) delete mode 100644 Algorithm-C3-0.08.tar.gz create mode 100644 Algorithm-C3-0.09.tar.gz diff --git a/Algorithm-C3-0.08.tar.gz b/Algorithm-C3-0.08.tar.gz deleted file mode 100644 index 635d8f1..0000000 --- a/Algorithm-C3-0.08.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5509ca048b0cde2476555465fef673ca95f3c8ef566aa32b296f473e4c96cc04 -size 11738 diff --git a/Algorithm-C3-0.09.tar.gz b/Algorithm-C3-0.09.tar.gz new file mode 100644 index 0000000..1a8d80d --- /dev/null +++ b/Algorithm-C3-0.09.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0fe9b5f806c8679dd70fe8eeeaaa570d70a34d449f844759b16e805bbf7322a0 +size 12430 diff --git a/perl-Algorithm-C3.changes b/perl-Algorithm-C3.changes index 23341b5..686ffe2 100644 --- a/perl-Algorithm-C3.changes +++ b/perl-Algorithm-C3.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Mar 7 06:48:31 UTC 2014 - coolo@suse.com + +- updated to 0.09 + - convert to use ExtUtils::MakeMaker using distar + - include repo and bugtracker metadata +- regenerate spec file + ------------------------------------------------------------------- Thu Nov 17 08:48:27 UTC 2011 - coolo@suse.com diff --git a/perl-Algorithm-C3.spec b/perl-Algorithm-C3.spec index 4ad6ba8..08741ed 100644 --- a/perl-Algorithm-C3.spec +++ b/perl-Algorithm-C3.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Algorithm-C3 # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,33 +15,21 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - -%bcond_with pod Name: perl-Algorithm-C3 +Version: 0.09 +Release: 0 %define cpan_name Algorithm-C3 -Summary: Module for merging hierarchies using the C3 algorithm -Version: 0.08 -Release: 2 -License: GPL+ or Artistic +Summary: A module for merging hierarchies using the C3 algorithm +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Algorithm-C3/ -Source: http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Algorithm-C3-0.08.tar.gz +Source: http://www.cpan.org/authors/id/H/HA/HAARG/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} BuildRequires: perl -BuildRequires: perl(Module::Build) BuildRequires: perl-macros -%if %{with pod} -BuildRequires: perl(Test::Pod) >= 1.14 -BuildRequires: perl(Test::Pod::Coverage) >= 1.04 -%endif -BuildRequires: perl(Test::More) >= 0.47 -# -BuildRequires: perl(Carp) >= 0.01 -Requires: perl(Carp) >= 0.01 +%{perl_requires} %description This module implements the C3 algorithm. I have broken this out into it's @@ -49,32 +37,29 @@ own module because I found myself copying and pasting it way too often for various needs. Most of the uses I have for C3 revolve around class building 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 -precendence orderings. +precedence orderings. -Authors: --------- - Stevan Little, - Brandon L. Black, +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. %prep %setup -q -n %{cpan_name}-%{version} %build -%{__perl} Build.PL installdirs=vendor -./Build build flags=%{?_smp_mflags} +%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__make} %{?_smp_mflags} %check -./Build test +%{__make} test %install -./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +%perl_make_install +%perl_process_packlist %perl_gen_filelist -%clean -%{__rm} -rf $RPM_BUILD_ROOT - %files -f %{name}.files -%defattr(-,root,root,-) +%defattr(-,root,root,755) %doc Changes README %changelog