[projects/template-specs] - updated from pldcpan
qboosh
qboosh at pld-linux.org
Tue May 12 21:47:07 CEST 2020
commit 9a2350ae691b5e48e6a3bdffe6a052e4a3d8b589
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue May 12 21:47:40 2020 +0200
- updated from pldcpan
perl.spec | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/perl.spec b/perl.spec
index 633267d..32b9c04 100644
--- a/perl.spec
+++ b/perl.spec
@@ -8,7 +8,6 @@
############################################################
#
# Conditional build:
-%bcond_without autodeps # don't BR packages needed only for resolving deps
%bcond_without tests # do not perform "make test"
#
%define pdir PDIR
@@ -26,12 +25,12 @@ Source0: http://www.cpan.org/modules/by-module/PDIR/%{pdir}-%{pnam}-%{version}.t
# Source0-md5:
Patch0: %{name}-foo.patch
# most of CPAN modules have generic URL (substitute pdir and pnam here)
-URL: http://search.cpan.org/dist/PDIR-PNAM/
+URL: https://metacpan.org/release/PDIR-PNAM
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
BuildRequires: rpmbuild(macros) >= 1.745
BuildRequires: -
-%if %{with autodeps} || %{with tests}
+%if %{with tests}
BuildRequires: perl-
BuildRequires: perl-
%endif
@@ -81,6 +80,7 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%install
rm -rf $RPM_BUILD_ROOT
+
%{__make} pure_install \
DESTDIR=$RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/template-specs.git/commitdiff/9a2350ae691b5e48e6a3bdffe6a052e4a3d8b589
More information about the pld-cvs-commit
mailing list