[packages/readosm] noarch apidoc

glen glen at pld-linux.org
Sun Jan 10 23:40:53 CET 2016


commit 15cb0eaf83947b13e1a0399a60898a1f29e794e2
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Jan 11 00:40:49 2016 +0200

    noarch apidoc

 readosm.spec | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/readosm.spec b/readosm.spec
index 5762e32..e922f78 100644
--- a/readosm.spec
+++ b/readosm.spec
@@ -1,12 +1,12 @@
 #
 # Conditional build:
 %bcond_without	apidocs		# do not build and package API docs
-#
+
 Summary:	Simple library for extracting the contents from OpenStreetMap files
 Summary(pl.UTF-8):	Prosta biblioteka do wyciągania danych z plików OpenStreetMap
 Name:		readosm
 Version:	1.0.0e
-Release:	1
+Release:	2
 License:	MPL v1.1 or GPL v2+ or LGPL v2.1+
 Group:		Libraries
 Source0:	http://www.gaia-gis.it/gaia-sins/readosm-sources/%{name}-%{version}.tar.gz
@@ -59,6 +59,9 @@ Statyczna biblioteka ReadOSM.
 Summary:	ReadOSM API documentation
 Summary(pl.UTF-8):	Dokumentacja API biblioteki ReadOSM
 Group:		Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:	noarch
+%endif
 
 %description apidocs
 API and internal documentation for ReadOSM library.
@@ -71,7 +74,6 @@ Dokumentacja API biblioteki ReadOSM.
 
 %build
 %configure
-
 %{__make}
 #	libreadosm_la_LIBADD="-lm"
 
@@ -79,7 +81,6 @@ Dokumentacja API biblioteki ReadOSM.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/readosm.git/commitdiff/15cb0eaf83947b13e1a0399a60898a1f29e794e2



More information about the pld-cvs-commit mailing list