forked from pool/perl-Algorithm-C3
update
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Algorithm-C3?expand=0&rev=19
This commit is contained in:
parent
acfdb794fc
commit
4220ab4721
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:5509ca048b0cde2476555465fef673ca95f3c8ef566aa32b296f473e4c96cc04
|
|
||||||
size 11738
|
|
3
Algorithm-C3-0.09.tar.gz
Normal file
3
Algorithm-C3-0.09.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0fe9b5f806c8679dd70fe8eeeaaa570d70a34d449f844759b16e805bbf7322a0
|
||||||
|
size 12430
|
@ -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
|
Thu Nov 17 08:48:27 UTC 2011 - coolo@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Algorithm-C3
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -15,33 +15,21 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
%bcond_with pod
|
|
||||||
|
|
||||||
Name: perl-Algorithm-C3
|
Name: perl-Algorithm-C3
|
||||||
|
Version: 0.09
|
||||||
|
Release: 0
|
||||||
%define cpan_name Algorithm-C3
|
%define cpan_name Algorithm-C3
|
||||||
Summary: Module for merging hierarchies using the C3 algorithm
|
Summary: A module for merging hierarchies using the C3 algorithm
|
||||||
Version: 0.08
|
License: Artistic-1.0 or GPL-1.0+
|
||||||
Release: 2
|
|
||||||
License: GPL+ or Artistic
|
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/dist/Algorithm-C3/
|
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
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{perl_requires}
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl(Module::Build)
|
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
%if %{with pod}
|
%{perl_requires}
|
||||||
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
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This module implements the C3 algorithm. I have broken this out into it's
|
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
|
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
|
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
|
resolution as well since it tends to do such a nice job of preserving local
|
||||||
precendence orderings.
|
precedence orderings.
|
||||||
|
|
||||||
Authors:
|
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
|
||||||
Stevan Little, <stevan@iinteractive.com>
|
and the links there.
|
||||||
Brandon L. Black, <blblack@gmail.com>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Build.PL installdirs=vendor
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
./Build build flags=%{?_smp_mflags}
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
./Build test
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
%perl_make_install
|
||||||
|
%perl_process_packlist
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,755)
|
||||||
%doc Changes README
|
%doc Changes README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user