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

glen glen at pld-linux.org
Mon Aug 10 11:20:21 CEST 2015


commit f4d616e35fa7af4b1ca9b2ebc4c5af82bda0a5ac
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Aug 10 12:20:13 2015 +0300

    noarch rdoc and ri subpackages

 mysql-ruby.spec | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/mysql-ruby.spec b/mysql-ruby.spec
index e927359..33f48c8 100644
--- a/mysql-ruby.spec
+++ b/mysql-ruby.spec
@@ -2,7 +2,7 @@ Summary:	MySQL module for Ruby
 Summary(pl.UTF-8):	Moduł MySQL dla języka Ruby
 Name:		mysql-ruby
 Version:	2.8.2
-Release:	6
+Release:	7
 License:	GPL
 Group:		Development/Languages
 Source0:	http://tmtm.org/downloads/mysql/ruby/%{name}-%{version}.tar.gz
@@ -31,6 +31,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}.
@@ -43,6 +46,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/mysql-ruby.git/commitdiff/f4d616e35fa7af4b1ca9b2ebc4c5af82bda0a5ac



More information about the pld-cvs-commit mailing list