[perl-Git-CPAN-Patch] Do not use /usr/bin/env to interpret git-cpan

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 860bbb3cc00cf1b4acdad62f45f7ef1ac5be9885
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Mon Mar 2 13:47:31 2015 +0100

    Do not use /usr/bin/env to interpret git-cpan

 perl-Git-CPAN-Patch.spec | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/perl-Git-CPAN-Patch.spec b/perl-Git-CPAN-Patch.spec
index 6e6b36a..2344d6b 100644
--- a/perl-Git-CPAN-Patch.spec
+++ b/perl-Git-CPAN-Patch.spec
@@ -1,7 +1,7 @@
 Name:           perl-Git-CPAN-Patch
 Summary:        Patch CPAN modules using Git
 Version:        2.0.3
-Release:        9%{?dist}
+Release:        10%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 Source0:        http://search.cpan.org/CPAN/authors/id/Y/YA/YANICK/Git-CPAN-Patch-%{version}.tar.gz
@@ -92,6 +92,8 @@ sending back patches to its maintainer.
 
 %prep
 %setup -q -n Git-CPAN-Patch-%{version}
+# Fix shellbang
+sed -i -e '1 s|^#!/usr/bin/env perl|#!perl|' bin/git-cpan
 
 %build
 perl Build.PL installdirs=vendor
@@ -122,6 +124,9 @@ git config --global user.name "Git-CPAN-Patch Owner"
 %{_mandir}/man1/*
 
 %changelog
+* Mon Mar 02 2015 Petr Pisar <ppisar@xxxxxxxxxx> - 2.0.3-10
+- Do not use /usr/bin/env to interpret git-cpan
+
 * Thu Dec 18 2014 Petr Šabata <contyk@xxxxxxxxxx> - 2.0.3-9
 - Correct MODULE_COMPAT
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux