--- /dev/null
+From a812d071294832e47a3edbadba250616626b95b7 Mon Sep 17 00:00:00 2001
+From: Mathieu Bridon <bochecha@fedoraproject.org>
+Date: Mon, 24 Jan 2011 16:07:23 +0800
+Subject: [PATCH] Don't ask questions at build time.
+
+Builds must not be interactive in Fedora. Let's just use the defaults
+and avoid questions.
+---
+ Makefile.PL | 4 +---
+ 1 files changed, 1 insertions(+), 3 deletions(-)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index 2a31180..28d8ddc 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -27,9 +27,7 @@ and hope for the best. The defaults should usually do.
+
+ EOF
+
+-if (prompt ("Skip further questions and use defaults (y/n)?", "y") =~ /[yY]/) {
+- $ENV{PERL_MM_USE_DEFAULT} = 1;
+-}
++$ENV{PERL_MM_USE_DEFAULT} = 1;
+
+ print <<EOF;
+
+--
+1.7.3.4
+
--- /dev/null
+###############################################################################
+# IPFire.org - An Open Source Firewall Solution #
+# Copyright (C) - IPFire Development Team <info@ipfire.org> #
+###############################################################################
+
+name = perl-EV
+version = 4.22
+release = 1
+thisapp = EV-%{version}
+
+groups = Development/Libraries
+url = http://search.cpan.org/dist/EV/
+license = GPL+ or Artistic
+summary = Wrapper for the libev high-performance event loop library.
+
+description
+ This module provides an interface for the libev high-performance event
+ loop library
+end
+
+source_dl = http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/
+
+build
+ requires
+ perl(AnyEvent) >= 2.6
+ perl(Canary::Stability)
+ perl(ExtUtils::MakeMaker)
+ perl(common::sense)
+ libev-source >= 4.22
+ gdbm-devel
+ pakfire >= 0.9.26-3.1
+ end
+
+ prepare_cmds
+ # Remove all traces of the bundled libev
+ rm -fr ./libev
+
+ # Use the sources from the system libev
+ mkdir -p ./libev
+ cp -r /usr/share/libev-source/* ./libev/
+ end
+
+ build
+ perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}"
+ make %{PARALLELISMFLAGS}
+ end
+
+ test
+ make test
+ end
+
+ make_install_targets = \
+ pure_install DESTDIR=%{BUILDROOT}
+end
+
+packages
+ package %{name}
+ requires
+ perl(:MODULE_COMPAT_%{perl_version})
+ end
+ end
+
+ package %{name}-debuginfo
+ template DEBUGINFO
+ end
+end