+++ /dev/null
---- build/documentation.rb.orig 2013-10-27 00:00:00.000000000 +0200
-+++ build/documentation.rb 2014-06-19 17:06:06.000000000 +0200
-@@ -45,7 +45,7 @@ Packaging::ASCII_DOCS.each do |target|
- if juvia_site_key
- command << " -c juvia --juvia-url http://juvia.phusion.nl --juvia-site-key #{juvia_site_key}"
- end
-- sh(command)
-+ #sh(command)
- end
-
- task :clean do
# Until rubygem-bluecloth is in Fedora, don't use it
Patch201: rubygem-passenger-4.0.18-correct_docs.patch
-# mizuho doesn't work on RHEL 6 anymore
-Patch202: rubygem-passenger-disable-mizuho.patch
-
Requires: rubygems
# XXX: Needed to run passenger standalone
Requires: rubygem(daemon_controller) >= 1.0.0
BuildRequires: ruby-devel
BuildRequires: rubygems
BuildRequires: rubygems-devel
+BuildRequires: rubygem(mizuho)
BuildRequires: rubygem(rake) >= 0.8.1
BuildRequires: rubygem(rack)
BuildRequires: rubygem(rspec)
# Until bluecloth is in Fedora, don't use it
%patch201 -p1 -b .docs
-# No mizuho on EPEL 6
-%patch202 -p0 -b .mizuho
-
# Don't use bundled libev
%{__rm} -rf ext/libev
[ ! -z "`head -n 1 $script | grep \"^#!/\"`" ] && chmod -v 755 $script
done
+# Incompatibility of nokogiri with asciidoc in EPEL 6
+# (dirty hack)
+sed -i 's/\s*=\+$//' doc/*.txt
+
%build
export USE_VENDORED_LIBEV=false