commit 11fca9d50236917708eff847d2d7f416d6beac9f
Author: Petr Písař <[email protected]>
Date: Fri Jul 29 10:53:53 2011 +0200
Convert JIT scripts to libraries
perl-Coro.spec | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/perl-Coro.spec b/perl-Coro.spec
index 2a3b950..2a76667 100644
--- a/perl-Coro.spec
+++ b/perl-Coro.spec
@@ -64,7 +64,12 @@ programming much safer and easier than using other thread
models.
%patch0 -p1 -b .ucontext-default
%endif
-%global wrong_shbangs eg/myhttpd Coro/jit-*.pl
+for F in Coro/jit-*.pl; do
+ sed -i -e '/^#!/d' "$F"
+ chmod -x "$F"
+done
+
+%global wrong_shbangs eg/myhttpd
%if 0%{?fix_shbang_line}
%fix_shbang_line %wrong_shbangs
%else
@@ -72,8 +77,6 @@ programming much safer and easier than using other thread
models.
sed -i -e '/^#!/ s|.*|#!%{__perl}|' %wrong_shbangs
%endif
-chmod -x Coro/jit-*.pl
-
%build
# Interractive configuration. Use default values.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/perl-devel