Remove /usr/bin/env from shebang

epel9
Petr Písař 7 years ago
parent db83be94cd
commit df932f3ecf

@ -0,0 +1,39 @@
From c3afa20ce7da4392a6586019fe8122a993c1c4fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Tue, 7 Nov 2017 16:38:17 +0100
Subject: [PATCH] Remove /usr/bin/env from shebang
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This is forbidden by packaging guidelines now.
Signed-off-by: Petr Písař <ppisar@redhat.com>
---
script/spellunker | 2 +-
script/spellunker-pod | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/script/spellunker b/script/spellunker
index 0fcb025..c8ce902 100644
--- a/script/spellunker
+++ b/script/spellunker
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
+#!perl
use strict;
use warnings;
use Spellunker::CLI;
diff --git a/script/spellunker-pod b/script/spellunker-pod
index 01ef381..7f22df7 100644
--- a/script/spellunker-pod
+++ b/script/spellunker-pod
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
+#!perl
use strict;
use warnings;
use Spellunker::CLI::Pod;
--
2.13.6

@ -1,10 +1,12 @@
Name: perl-Spellunker
Version: 0.4.0
Release: 8%{?dist}
Release: 9%{?dist}
Summary: Pure perl spelling checker implementation
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Spellunker/
Source0: http://www.cpan.org/authors/id/T/TO/TOKUHIROM/Spellunker-v%{version}.tar.gz
# Remove /usr/bin/env from shebang
Patch0: Spellunker-v0.4.0-Remove-usr-bin-env-from-shebang.patch
BuildArch: noarch
# build
BuildRequires: perl-interpreter
@ -42,6 +44,7 @@ Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%prep
%setup -q -n Spellunker-v%{version}
%patch0 -p1
%build
perl Build.PL --installdirs=vendor
@ -69,6 +72,9 @@ perl Build.PL --installdirs=vendor
%{_mandir}/man3/Test::Spellunker.3*
%changelog
* Tue Nov 07 2017 Petr Pisar <ppisar@redhat.com> - 0.4.0-9
- Remove /usr/bin/env from shebang
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

Loading…
Cancel
Save