[packages/ruby-json] noarch rdoc and ri packages

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


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

    noarch rdoc and ri packages

 ruby-json.spec | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/ruby-json.spec b/ruby-json.spec
index b055678..0f47890 100644
--- a/ruby-json.spec
+++ b/ruby-json.spec
@@ -7,7 +7,7 @@ Summary:	JSON library for Ruby
 Summary(pl.UTF-8):	Biblioteka JSON dla języka Ruby
 Name:		ruby-%{pkgname}
 Version:	1.8.1
-Release:	1
+Release:	2
 License:	Ruby
 Group:		Development/Languages
 Source0:	http://rubygems.org/downloads/%{pkgname}-%{version}.gem
@@ -35,6 +35,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}.
@@ -47,6 +50,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-json.git/commitdiff/c06585ec426abab4528357f43535f0bb6645343b



More information about the pld-cvs-commit mailing list