[packages/ruby-ldap] noarch rdoc and ri subpackages

glen glen at pld-linux.org
Mon Aug 10 14:10:04 CEST 2015


commit e214645b0a7d9ff36dbfe3ee788332a32f2eb951
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Aug 10 15:09:54 2015 +0300

    noarch rdoc and ri subpackages

 ruby-ldap.spec | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
---
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}.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-ldap.git/commitdiff/e214645b0a7d9ff36dbfe3ee788332a32f2eb951



More information about the pld-cvs-commit mailing list