[packages/perl-Math-Fortran] Up to 0.03

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


commit 9e69543d2e305ea9b5793d118871927c06171f76
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Nov 19 00:44:44 2026 +0100

    Up to 0.03

 perl-Math-Fortran-man.patch |  8 --------
 perl-Math-Fortran.spec      | 20 ++++++++++++--------
 2 files changed, 12 insertions(+), 16 deletions(-)
---
diff --git a/perl-Math-Fortran.spec b/perl-Math-Fortran.spec
index ded9e5f..2be2d6e 100644
--- a/perl-Math-Fortran.spec
+++ b/perl-Math-Fortran.spec
@@ -1,19 +1,22 @@
+%bcond_without	tests		# do not perform "make test"
 %define		pdir	Math
 %define		pnam	Fortran
 Summary:	Math::Fortran - Perl implementations of Fortrans sign and log10.
 Summary(pl.UTF-8):	Math::Fortran - perlowe implementacje funkcji Fortranu sign i log10
 Name:		perl-Math-Fortran
-Version:	0.01
-Release:	12
+Version:	0.03
+Release:	1
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
-Source0:	http://www.cpan.org/modules/by-module/Math/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5:	b9369eaa198ba8eab337e90e57f273dc
-Patch0:		%{name}-man.patch
-URL:		http://search.cpan.org/dist/Math-Fortran/
+Source0:	https://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	b2f0805e85320ed454165b82e8dbed38
+URL:		https://metacpan.org/release/Math-Fortran
 BuildRequires:	rpm-perlprov >= 4.1-13
-BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	perl-devel >= 1:5.8.3
+%if %{with tests}
+BuildRequires:	perl(Test::More)
+%endif
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -27,13 +30,14 @@ log10.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
-%patch -P0 -p1
 
 %build
 %{__perl} Makefile.PL \
 	INSTALLDIRS=vendor
 %{__make}
 
+%{?with_tests:%{__make} test}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 %{__make} install \
diff --git a/perl-Math-Fortran-man.patch b/perl-Math-Fortran-man.patch
deleted file mode 100644
index 353ee9d..0000000
--- a/perl-Math-Fortran-man.patch
+++ /dev/null
@@ -1,8 +0,0 @@
---- Math-Fortran-0.01/Fortran.pm.orig	1995-12-26 10:59:29.000000000 +0100
-+++ Math-Fortran-0.01/Fortran.pm	2013-03-06 21:29:52.386038547 +0100
-@@ -1,4 +1,5 @@
- # $Id: Fortran.pm,v 1.1 1995/12/26 09:43:01 willijar Exp $
-+
- =head1 NAME
- 
-     Math::Fortran - Perl implimentations of Fortrans sign and log10
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Math-Fortran.git/commitdiff/9e69543d2e305ea9b5793d118871927c06171f76



More information about the pld-cvs-commit mailing list