[perl-Data-OptList] Fix wrong script interpreter

Jitka Plesnikova jplesnik at fedoraproject.org
Tue Nov 13 15:09:58 UTC 2012


commit 43f728027aff916af535519b7e0f1124d64497d0
Author: Jitka Plesnikova <jplesnik at redhat.com>
Date:   Tue Nov 13 16:09:41 2012 +0100

    Fix wrong script interpreter

 perl-Data-OptList.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/perl-Data-OptList.spec b/perl-Data-OptList.spec
index 8d822d4..b0c7c4e 100644
--- a/perl-Data-OptList.spec
+++ b/perl-Data-OptList.spec
@@ -1,7 +1,7 @@
 Name:           perl-Data-OptList
 Summary:        Parse and validate simple name/value option pairs
 Version:        0.107
-Release:        7%{?dist}
+Release:        8%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Data-OptList/
@@ -44,6 +44,8 @@ following a name is its value.
 %prep
 %setup -q -n Data-OptList-%{version}
 
+perl -pi -e 's|^#!perl|#!/usr/bin/perl|' t/*
+
 %build
 perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
@@ -63,6 +65,9 @@ make test RELEASE_TESTING=1
 %{_mandir}/man3/Data::OptList.3pm*
 
 %changelog
+* Tue Nov 13 2012 Jitka Plesnikova <jplesnik at redhat.com> - 0.107-8
+- Fix wrong script interpreter
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.107-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list