[packages/perl-IO-Socket-Socks] - fix shebangs in scripts - rel 2
baggins
baggins at pld-linux.org
Tue Jun 2 00:15:18 CEST 2020
commit 2a3c706c35457b34a7a1433e787a9a41c3965e03
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Tue Jun 2 00:14:52 2020 +0200
- fix shebangs in scripts
- rel 2
perl-IO-Socket-Socks.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/perl-IO-Socket-Socks.spec b/perl-IO-Socket-Socks.spec
index d5a7cb8..f01c081 100644
--- a/perl-IO-Socket-Socks.spec
+++ b/perl-IO-Socket-Socks.spec
@@ -8,7 +8,7 @@ Summary: IO::Socket::Socks - provides a way to create socks client or server bot
Summary(pl.UTF-8): IO::Socket::Socks - tworzenie klienta i serwera SOCKS w wersji 4 i 5
Name: perl-IO-Socket-Socks
Version: 0.74
-Release: 1
+Release: 2
License: GPL v2+
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/IO/%{pdir}-%{pnam}-%{version}.tar.gz
@@ -37,6 +37,8 @@ można również utworzyć serwer SOCKS.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
+%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+perl(\s|$),#!%{__perl}\1,' examples/*.pl
+
%build
%{__perl} Makefile.PL \
INSTALLDIRS=vendor
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-IO-Socket-Socks.git/commitdiff/2a3c706c35457b34a7a1433e787a9a41c3965e03
More information about the pld-cvs-commit
mailing list