[packages/elocation] noarch apidoc

glen glen at pld-linux.org
Sun Jan 10 23:27:36 CET 2016


commit 5e2428573fe40e19b3a9df2e8b3c2af8ba54069f
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Jan 11 00:27:32 2016 +0200

    noarch apidoc

 elocation.spec | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/elocation.spec b/elocation.spec
index 6875e4e..f79cdad 100644
--- a/elocation.spec
+++ b/elocation.spec
@@ -2,13 +2,14 @@
 # Conditional build:
 %bcond_without	apidocs		# API docs
 %bcond_without	static_libs	# static library
-#
+
+%define	snap	20130813
+%define	rel		3
 Summary:	Enlightenment location library
 Summary(pl.UTF-8):	Biblioteka lokalizacji dla środowiska Enlightenment
 Name:		elocation
 Version:	0.1.0
-%define	snap	20130813
-Release:	0.%{snap}.2
+Release:	0.%{snap}.%{rel}
 License:	unknown
 Group:		Libraries
 # git clone http://git.enlightenment.org/devs/stefan/elocation.git
@@ -17,9 +18,9 @@ Source0:	%{name}.tar.xz
 URL:		http://git.enlightenment.org/devs/stefan/elocation.git/
 BuildRequires:	autoconf >= 2.52
 BuildRequires:	automake >= 1.6
+%{?with_apidocs:BuildRequires:	doxygen}
 BuildRequires:	ecore-devel
 BuildRequires:	eldbus-devel
-%{?with_apidocs:BuildRequires:	doxygen}
 BuildRequires:	libtool
 BuildRequires:	pkgconfig >= 1:0.22
 BuildRequires:	tar >= 1:1.22
@@ -65,6 +66,9 @@ Statyczna biblioteka Elocation.
 Summary:	API documentation for Elocation library
 Summary(pl.UTF-8):	Dokumentacja API biblioteki Elocation
 Group:		Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:	noarch
+%endif
 
 %description apidocs
 API documentation for Elocation library.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/elocation.git/commitdiff/5e2428573fe40e19b3a9df2e8b3c2af8ba54069f



More information about the pld-cvs-commit mailing list