[packages/perl-Text-Haml] - fix build/install

baggins baggins at pld-linux.org
Mon May 18 13:54:49 CEST 2020


commit 19740a15e9f3a74f350ff0b6efafd7e2a7b3e95a
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon May 18 13:54:36 2020 +0200

    - fix build/install

 perl-Text-Haml.spec | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/perl-Text-Haml.spec b/perl-Text-Haml.spec
index 2ec69b6..18ef8f6 100644
--- a/perl-Text-Haml.spec
+++ b/perl-Text-Haml.spec
@@ -15,6 +15,7 @@ Source0:	http://www.cpan.org/modules/by-module/Text/Text-Haml-%{version}.tar.gz
 # Source0-md5:	7f0b65b62e2515a46425ca35bf2b4808
 URL:		http://search.cpan.org/dist/Text-Haml/
 BuildRequires:	perl-Module-Build >= 0.38
+BuildRequires:	perl-Module-Build-Tiny
 BuildRequires:	perl-devel >= 1:5.8.1
 BuildRequires:	rpm-perlprov >= 4.1-13
 %if %{with tests}
@@ -46,8 +47,9 @@ elementy specyficzne dla języka Ruby będą działać.
 
 %build
 %{__perl} Build.PL \
-	destdir=$RPM_BUILD_ROOT \
-	installdirs=vendor
+	--destdir=$RPM_BUILD_ROOT \
+	--installdirs=vendor
+
 ./Build
 
 %{?with_tests:./Build test}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Text-Haml.git/commitdiff/19740a15e9f3a74f350ff0b6efafd7e2a7b3e95a



More information about the pld-cvs-commit mailing list