[perl-Coro] Correct fix_shbang_line detection

Petr Pisar ppisar at fedoraproject.org
Fri Jul 29 09:23:05 UTC 2011


commit 986b8135d55cdce15b2bb90e346d897a48de8159
Author: Petr Písař <ppisar at 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


More information about the scm-commits mailing list