[packages/perl-Inline] Up to 0.87
arekm
arekm at pld-linux.org
Thu Nov 19 11:46:07 CET 2026
commit bf0f7e08aa2514718b6195e1cdbf356d3f20b58e
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Nov 19 00:35:36 2026 +0100
Up to 0.87
perl-Inline.spec | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)
---
diff --git a/perl-Inline.spec b/perl-Inline.spec
index 629c770..b88ea08 100644
--- a/perl-Inline.spec
+++ b/perl-Inline.spec
@@ -1,23 +1,28 @@
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
%define pdir Inline
Summary: Inline Perl module - write Perl subroutines in other programming languages
Summary(pl.UTF-8): Moduł Perla Inline - tworzenie funkcji perlowych w innych językach programowania
Name: perl-Inline
-Version: 0.80
-Release: 2
+Version: 0.87
+Release: 1
Epoch: 1
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
-Source0: http://www.cpan.org/modules/by-module/Inline/%{pdir}-%{version}.tar.gz
-# Source0-md5: 510bbac46e727bcaf240b7feac2646c9
+Source0: https://www.cpan.org/authors/id/I/IN/INGY/%{pdir}-%{version}.tar.gz
+# Source0-md5: 8c956134b591c2c5bae1103791582f67
URL: http://search.cpan.org/dist/Inline/
BuildRequires: perl-devel >= 1:5.8.1
BuildRequires: perl(File::Spec) >= 0.8
BuildRequires: perl-Digest-MD5 >= 2.09
-BuildRequires: perl-Parse-RecDescent >= 1.80
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
BuildRequires: perl-Test-Simple >= 0.88
BuildRequires: perl-Test-Warn >= 0.23
-BuildRequires: rpm-perlprov >= 4.1-13
+%endif
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -43,6 +48,8 @@ echo "y" | perl Makefile.PL \
INSTALLDIRS=vendor
%{__make}
+%{?with_tests:%{__make} test}
+
%install
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Inline.git/commitdiff/bf0f7e08aa2514718b6195e1cdbf356d3f20b58e
More information about the pld-cvs-commit
mailing list