[packages/perl-Test-Portability-Files] Up to 0.10
arekm
arekm at pld-linux.org
Thu Nov 19 12:58:20 CET 2026
commit 4f98accfaa5b98645cc74ac8824d0367efa6b452
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Nov 19 01:05:05 2026 +0100
Up to 0.10
perl-Test-Portability-Files.spec | 24 ++++++++++--------------
1 file changed, 10 insertions(+), 14 deletions(-)
---
diff --git a/perl-Test-Portability-Files.spec b/perl-Test-Portability-Files.spec
index fc5ade3..88a94e6 100644
--- a/perl-Test-Portability-Files.spec
+++ b/perl-Test-Portability-Files.spec
@@ -6,20 +6,16 @@
%define pnam Portability-Files
Summary: Test::Portability::Files - Check file names portability
Name: perl-Test-Portability-Files
-Version: 0.05
-Release: 2
+Version: 0.10
+Release: 1
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
-Source0: http://www.cpan.org/modules/by-module/Test/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 2ede77af4d3b82ffb39cd28fda6857e5
+Source0: https://www.cpan.org/modules/by-module/Test/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 56879573bce08007d983a885a28c3271
URL: http://search.cpan.org/dist/Test-Portability-Files/
-BuildRequires: perl-Module-Build
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
-%if %{with tests}
-BuildRequires: perl-Test-Pod >= 1.00
-%endif
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -41,16 +37,16 @@ platforms (like MS-DOS) seem to be no longer supported.
%setup -q -n %{pdir}-%{pnam}-%{version}
%build
-%{__perl} Build.PL \
- destdir=$RPM_BUILD_ROOT \
- installdirs=vendor
-./Build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+%{__make}
-%{?with_tests:./Build test}
+%{?with_tests:%{__make} test}
%install
rm -rf $RPM_BUILD_ROOT
-./Build install
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Test-Portability-Files.git/commitdiff/4f98accfaa5b98645cc74ac8824d0367efa6b452
More information about the pld-cvs-commit
mailing list