[packages/perl-Math-Evol] Up to 1.13

arekm arekm at pld-linux.org
Thu Nov 19 11:53:04 CET 2026


commit 28d22c06d5c38a3170f5aaab1e30f405997cf29e
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Nov 19 00:45:07 2026 +0100

    Up to 1.13

 perl-Math-Evol-test-seed.patch | 11 +++++++++++
 perl-Math-Evol.spec            |  8 +++++---
 2 files changed, 16 insertions(+), 3 deletions(-)
---
diff --git a/perl-Math-Evol.spec b/perl-Math-Evol.spec
index 40b6da5..9638644 100644
--- a/perl-Math-Evol.spec
+++ b/perl-Math-Evol.spec
@@ -7,13 +7,14 @@
 Summary:	Math::Evol - evolution search optimisation
 Summary(pl.UTF-8):	Math::Evol - optymalizacja przez poszukiwanie ewolucyjne
 Name:		perl-Math-Evol
-Version:	1.12
-Release:	2
+Version:	1.13
+Release:	1
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5:	08013af45d038abd1b142b6ed250359c
+# Source0-md5:	7d5523c387187c4d5eb0014d334f73fc
+Patch0:		%{name}-test-seed.patch
 URL:		http://search.cpan.org/dist/Math-Evol/
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
@@ -34,6 +35,7 @@ początkowe rozmiary kroków.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
+%patch -P0 -p1
 
 %build
 %{__perl} Makefile.PL \
diff --git a/perl-Math-Evol-test-seed.patch b/perl-Math-Evol-test-seed.patch
new file mode 100644
index 0000000..29f3f05
--- /dev/null
+++ b/perl-Math-Evol-test-seed.patch
@@ -0,0 +1,11 @@
+# the tests are randomised and fail occasionally; fix the seed
+--- Math-Evol-1.13/test.pl
++++ Math-Evol-1.13/test.pl
+@@ -9,6 +9,7 @@
+ 
+ use Math::Evol;
+ use Test::Simple tests => 6;
++srand(42);
+ my $detailed = 0;
+ 
+ sub minimise {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Math-Evol.git/commitdiff/28d22c06d5c38a3170f5aaab1e30f405997cf29e



More information about the pld-cvs-commit mailing list