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

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


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

    noarch rdoc and ri subpackages

 ruby-racc.spec | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/ruby-racc.spec b/ruby-racc.spec
index c61daa9..24edccd 100644
--- a/ruby-racc.spec
+++ b/ruby-racc.spec
@@ -3,7 +3,7 @@ Summary:	Ruby yACC
 Summary(pl.UTF-8):	yACC dla języka Ruby
 Name:		ruby-%{pkgname}
 Version:	1.4.6
-Release:	3
+Release:	4
 License:	GPL
 Group:		Development/Libraries
 Source0:	http://rubygems.org/downloads/%{pkgname}-%{version}.gem
@@ -29,6 +29,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}.
@@ -41,6 +44,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-racc.git/commitdiff/db238406b4b5b4e29e3a82c960506dbb309ea211



More information about the pld-cvs-commit mailing list