[packages/ruby-mongrel] use updated setup.rb for ruby 2.3
glen
glen at pld-linux.org
Fri Oct 27 00:20:34 CEST 2017
commit 269a3efb11a324f169d7efbe5eda24952a0bafd0
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Fri Oct 27 01:19:52 2017 +0300
use updated setup.rb for ruby 2.3
ruby-mongrel.spec | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/ruby-mongrel.spec b/ruby-mongrel.spec
index fc29956..3d7b551 100644
--- a/ruby-mongrel.spec
+++ b/ruby-mongrel.spec
@@ -3,20 +3,21 @@ Summary: Ruby webserver toolkit
Summary(pl.UTF-8): Toolkit języka Ruby dla serwera WWW
Name: ruby-%{pkgname}
Version: 1.1.5
-Release: 9
+Release: 10
License: Ruby
Group: Development/Libraries
-Source0: http://gems.rubyforge.org/gems/%{pkgname}-%{version}.gem
+Source0: https://rubygems.org/downloads/%{pkgname}-%{version}.gem
# Source0-md5: a37617eb48f0932cc32143b2d76c0d12
Patch0: %{name}-nogems.patch
Patch1: %{name}-ruby1.9.patch
Patch2: format-security.patch
-URL: http://mongrel.rubyforge.org/
+URL: https://rubygems.org/gems/mongrel
BuildRequires: dos2unix
BuildRequires: rpmbuild(macros) >= 1.277
BuildRequires: ruby-devel
BuildRequires: ruby-irb
BuildRequires: ruby-modules
+BuildRequires: setup.rb >= 3.4.1-6
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -66,6 +67,8 @@ dos2unix examples/mongrel_simple_service.rb
find -name '*.rb' -print0 | xargs -0 %{__sed} -i -e 's,\r$,,'
+cp %{_datadir}/setup.rb .
+
%build
# passing CFLAGS breaks -fPIC parsing,
# patch mkmf module to be able to pass CC and OPTFLAGS
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby-mongrel.git/commitdiff/269a3efb11a324f169d7efbe5eda24952a0bafd0
More information about the pld-cvs-commit
mailing list