forked from pool/perl-Algorithm-Combinatorics
- Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Algorithm-Combinatorics?expand=0&rev=4
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 10 22:09:12 UTC 2025 - Tina Müller <tina.mueller@suse.com>
|
||||
|
||||
- Normalize CPAN version
|
||||
See https://github.com/openSUSE/cpanspec/issues/47 for details
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 2 15:37:17 UTC 2012 - coolo@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Algorithm-Combinatorics
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,41 +12,45 @@
|
||||
# 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-Combinatorics
|
||||
Version: 0.27
|
||||
Release: 0
|
||||
%define cpan_name Algorithm-Combinatorics
|
||||
Name: perl-Algorithm-Combinatorics
|
||||
Version: 0.270.0
|
||||
Release: 0
|
||||
# 0.27 -> normalize -> 0.270.0
|
||||
%define cpan_version 0.27
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: Efficient generation of combinatorial sequences
|
||||
License: GPL-1.0+ or Artistic-1.0
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Algorithm-Combinatorics/
|
||||
Source: http://www.cpan.org/authors/id/F/FX/FXN/%{cpan_name}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/F/FX/FXN/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
Provides: perl(Algorithm::Combinatorics) = %{version}
|
||||
Provides: perl(Algorithm::Combinatorics::Iterator)
|
||||
Provides: perl(Algorithm::Combinatorics::JustCoderef)
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
Algorithm::Combinatorics is an efficient generator of combinatorial
|
||||
sequences. Algorithms are selected from the literature (work in progress,
|
||||
see the /REFERENCES manpage). Iterators do not use recursion, nor stacks,
|
||||
and are written in C.
|
||||
see REFERENCES). Iterators do not use recursion, nor stacks, and are
|
||||
written in C.
|
||||
|
||||
Tuples are generated in lexicographic order, except in 'subsets()'.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
%{__make} %{?_smp_mflags}
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
%make_build
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
make test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
@@ -54,7 +58,6 @@ Tuples are generated in lexicographic order, except in 'subsets()'.
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes README
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user