commit 986b8135d55cdce15b2bb90e346d897a48de8159
Author: Petr Písař <ppi...@redhat.com>
Date:   Fri Jul 29 11:21:54 2011 +0200

    Correct fix_shbang_line detection
    
    It does not work anymore (rpm-4.9).

 perl-Coro.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
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
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-de...@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to