]> git.pld-linux.org Git - packages/ruby-json.git/commitdiff
noarch rdoc and ri packages auto/th/ruby-json-1.8.1-2
authorElan Ruusamäe <glen@delfi.ee>
Mon, 10 Aug 2015 09:13:06 +0000 (12:13 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 10 Aug 2015 09:13:06 +0000 (12:13 +0300)
ruby-json.spec

index b055678bad7d2cb68bfebd4c6bcde8cf9895bf85..0f47890b46a7735e7156ee6afb523a403269eb2d 100644 (file)
@@ -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}.
This page took 0.096067 seconds and 4 git commands to generate.