From 986b8135d55cdce15b2bb90e346d897a48de8159 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <[email protected]>
Date: Fri, 29 Jul 2011 11:21:54 +0200
Subject: Correct fix_shbang_line detection
It does not work anymore (rpm-4.9).
---
perl-Coro.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/perl-Coro.spec b/perl-Coro.spec
index c40fcdc..41edcac 100644
--- a/perl-Coro.spec
+++ b/perl-Coro.spec
@@ -86,7 +86,7 @@ for F in Coro/jit-*.pl; do
done
%global wrong_shbangs eg/myhttpd
-%if 0%{?fix_shbang_line}
+%if %{defined fix_shbang_line}
%fix_shbang_line %wrong_shbangs
%else
# at least EL6 doesn't have the %%fix_shbang_line macro
--
cgit v0.12
http://pkgs.fedoraproject.org/cgit/perl-Coro.git/commit/?h=epel7&id=986b8135d55cdce15b2bb90e346d897a48de8159
_______________________________________________
perl-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]