From: Elan Ruusamäe Date: Mon, 10 Aug 2015 12:09:54 +0000 (+0300) Subject: noarch rdoc and ri subpackages X-Git-Tag: auto/th/ruby-ldap-0.9.16-3 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=e214645b0a7d9ff36dbfe3ee788332a32f2eb951;p=packages%2Fruby-ldap.git noarch rdoc and ri subpackages --- diff --git a/ruby-ldap.spec b/ruby-ldap.spec index dde3a01..5b8a017 100644 --- a/ruby-ldap.spec +++ b/ruby-ldap.spec @@ -3,7 +3,7 @@ Summary: LDAP API (RFC1823) library module for Ruby Summary(pl.UTF-8): Moduł języka Ruby dostępu do bibliotek API LDAP (RFC1823) Name: ruby-%{pkgname} Version: 0.9.16 -Release: 2 +Release: 3 License: Redistributable Group: Development/Libraries Source0: http://rubygems.org/downloads/%{name}-%{version}.gem @@ -37,6 +37,9 @@ Summary: HTML documentation for %{name} Summary(pl.UTF-8): Dokumentacja w formacie HTML dla %{name} Group: Documentation Requires: ruby >= 1:1.8.7-4 +%if "%{_rpmversion}" >= "5" +BuildArch: noarch +%endif %description rdoc HTML documentation for %{name}. @@ -49,6 +52,9 @@ Summary: ri documentation for %{name} Summary(pl.UTF-8): Dokumentacja w formacie ri dla %{name} Group: Documentation Requires: ruby +%if "%{_rpmversion}" >= "5" +BuildArch: noarch +%endif %description ri ri documentation for %{name}.