From 5f02f770261782460559f950ec17492763471ff7 Mon Sep 17 00:00:00 2001 From: Iain Arnell Date: Fri, 30 Mar 2012 08:51:07 -0600 Subject: [PATCH] silence rpmlint wrong-script-interpreter error --- perl-MooseX-Types-Path-Class.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/perl-MooseX-Types-Path-Class.spec b/perl-MooseX-Types-Path-Class.spec index 788e28f..c5d67a1 100644 --- a/perl-MooseX-Types-Path-Class.spec +++ b/perl-MooseX-Types-Path-Class.spec @@ -40,6 +40,8 @@ for both Path::Class::Dir and Path::Class::File. %prep %setup -q -n MooseX-Types-Path-Class-%{version} +sed -i '1s:^#!.*perl:#!%{__perl}:' t/*.t + %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} @@ -64,6 +66,7 @@ make test - update to latest upstream version - clean up spec for modern rpmbuild - drop tests subpackage; move tests to main package documentation +- silence rpmlint wrong-script-interpreter error * Fri Jan 13 2012 Fedora Release Engineering - 0.05-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild