[perl-Coro] Correct fix_shbang_line detection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 986b8135d55cdce15b2bb90e346d897a48de8159
Author: Petr Písař <ppisar@xxxxxxxxxx>
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-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux