[packages/generatorrunner] noarch apidocs

glen glen at pld-linux.org
Thu Apr 3 08:10:13 CEST 2014


commit 29727ce139f775213636b3b8224dc59ca6b97613
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Apr 3 09:10:11 2014 +0300

    noarch apidocs

 generatorrunner.spec | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/generatorrunner.spec b/generatorrunner.spec
index 97e7191..e658bdf 100644
--- a/generatorrunner.spec
+++ b/generatorrunner.spec
@@ -1,12 +1,12 @@
 #
 # Conditional build:
 %bcond_without	apidocs		# API documentation
-#
+
 Summary:	Generator Runner - calling binding generator front-ends
 Summary(pl.UTF-8):	Generator Runner - wywoływanie frontendów generatorów wiązań
 Name:		generatorrunner
 Version:	0.6.16
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Development/Tools
 Source0:	https://github.com/PySide/Generatorrunner/archive/%{version}.tar.gz?/%{name}-%{version}.tar.gz
@@ -41,6 +41,9 @@ Pliki nagłówkowe dla biblioteki oraz wtyczek Generator Runnera.
 Summary:	Generator Runner API documentation
 Summary(pl.UTF-8):	Dokumentacja API Generator Runnera
 Group:		Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:	noarch
+%endif
 
 %description apidocs
 Generator Runner API documentation.
@@ -56,12 +59,10 @@ install -d build
 cd build
 %cmake ..
 %{__make}
-
 %{?with_apidocs:%{__make} doc}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__make} -C build install \
 	DESTDIR=$RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/generatorrunner.git/commitdiff/29727ce139f775213636b3b8224dc59ca6b97613



More information about the pld-cvs-commit mailing list