From 62821c78e046ffcdd1bf702ffa7e958770ea31f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Tue, 17 Mar 2020 14:51:00 +0100 Subject: [PATCH] Remove useless shebangs from the module files --- ....09-Remove-shebangs-from-the-modules.patch | 46 +++++++++++++++++++ perl-NTLM.spec | 9 +++- 2 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 NTLM-1.09-Remove-shebangs-from-the-modules.patch diff --git a/NTLM-1.09-Remove-shebangs-from-the-modules.patch b/NTLM-1.09-Remove-shebangs-from-the-modules.patch new file mode 100644 index 0000000..c419740 --- /dev/null +++ b/NTLM-1.09-Remove-shebangs-from-the-modules.patch @@ -0,0 +1,46 @@ +From 767179c773e45c28ef6ecaff01c8b62f8e240bc5 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= +Date: Tue, 17 Mar 2020 14:44:38 +0100 +Subject: [PATCH] Remove shebangs from the modules +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Petr Písař +--- + DES/DES.pm | 1 - + MD4/MD4.pm | 1 - + NTLM.pm | 2 -- + 3 files changed, 4 deletions(-) + +diff --git a/DES/DES.pm b/DES/DES.pm +index 04ab365..6210f44 100644 +--- a/DES/DES.pm ++++ b/DES/DES.pm +@@ -1,4 +1,3 @@ +-#!/usr/local/bin/perl + # + # This is an implementation of part of the DES specification. According + # to the code this is ported from, this code does NOT enable 2-way +diff --git a/MD4/MD4.pm b/MD4/MD4.pm +index ba8f735..7d2b49d 100644 +--- a/MD4/MD4.pm ++++ b/MD4/MD4.pm +@@ -1,4 +1,3 @@ +-#!/usr/local/bin/perl + # + # This is a partial implentation of the MD4 checksum code. + # +diff --git a/NTLM.pm b/NTLM.pm +index 60af70e..d7ae5ff 100644 +--- a/NTLM.pm ++++ b/NTLM.pm +@@ -1,5 +1,3 @@ +-#!/usr/local/bin/perl +- + package Authen::NTLM; + use strict; + use Authen::NTLM::DES; +-- +2.21.1 + diff --git a/perl-NTLM.spec b/perl-NTLM.spec index acc9a10..875122b 100644 --- a/perl-NTLM.spec +++ b/perl-NTLM.spec @@ -3,11 +3,14 @@ Name: perl-NTLM Version: 1.09 -Release: 24%{?dist} +Release: 25%{?dist} Summary: NTLM Perl module License: GPL+ or Artistic URL: https://metacpan.org/release/NTLM Source0: https://cpan.metacpan.org/authors/id/N/NB/NBEBOUT/NTLM-%{version}.tar.gz +# Remove useless shebangs from the module files, CPAN RT#132167, +# submitted to the upstream +Patch0: NTLM-1.09-Remove-shebangs-from-the-modules.patch BuildArch: noarch BuildRequires: make BuildRequires: perl-generators @@ -37,6 +40,7 @@ on its own for NTLM authentication with other protocols (eg. HTTP). %prep %setup -q -n NTLM-%{version} +%patch0 -p1 %build %{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 @@ -55,6 +59,9 @@ make test %{_mandir}/man3/* %changelog +* Tue Mar 17 2020 Petr Pisar - 1.09-25 +- Remove useless shebangs from the module files (CPAN RT#132167) + * Thu Feb 13 2020 Jitka Plesnikova - 1.09-24 - Specify all dependencies - Modernize spec file