[packages/ruby-mongrel] noarch rdoc and ri subpackages
glen
glen at pld-linux.org
Mon Aug 10 14:10:37 CEST 2015
commit 6470847c4081eef1b2042d30b541def9f62d8fee
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Aug 10 15:10:28 2015 +0300
noarch rdoc and ri subpackages
ruby-mongrel.spec | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/ruby-mongrel.spec b/ruby-mongrel.spec
index 5b1ad29..250a3ea 100644
--- a/ruby-mongrel.spec
+++ b/ruby-mongrel.spec
@@ -17,7 +17,6 @@ BuildRequires: rpmbuild(macros) >= 1.277
BuildRequires: ruby-devel
BuildRequires: ruby-irb
BuildRequires: ruby-modules
-%{?ruby_mod_ver_requires_eq}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -31,6 +30,9 @@ Summary: HTML documentation for %{pkgname}
Summary(pl.UTF-8): Dokumentacja w formacie HTML dla %{pkgname}
Group: Documentation
Requires: ruby >= 1:1.8.7-4
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
%description rdoc
HTML documentation for %{pkgname}.
@@ -43,6 +45,9 @@ Summary: ri documentation for %{pkgname}
Summary(pl.UTF-8): Dokumentacja w formacie ri dla %{pkgname}
Group: Documentation
Requires: ruby
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
%description ri
ri documentation for %{pkgname}.
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby-mongrel.git/commitdiff/6470847c4081eef1b2042d30b541def9f62d8fee
More information about the pld-cvs-commit
mailing list