[packages/sablotron] noarch apidocs

glen glen at pld-linux.org
Thu Apr 3 22:51:43 CEST 2014


commit cfa359fe7b411565591809c7867a31b73b860e5d
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Apr 3 23:51:41 2014 +0300

    noarch apidocs

 sablotron.spec | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/sablotron.spec b/sablotron.spec
index a20e3f2..815f49e 100644
--- a/sablotron.spec
+++ b/sablotron.spec
@@ -1,13 +1,13 @@
 #
 # Conditional build:
 %bcond_with	javascript	# enable experimental JavaScript XSLT extension
-#
+
 Summary:	XSL Transformations Processor
 Summary(pl.UTF-8):	Procesor Transformacji XSL
 Summary(pt_BR.UTF-8):	Processador de XSL
 Name:		sablotron
 Version:	1.0.3
-Release:	2
+Release:	3
 License:	MPL v1.1 or GPL
 Group:		Applications/Publishing/XML
 #Source0Download:	http://www.gingerall.org/downloads.html
@@ -52,6 +52,9 @@ Salotron é um processador XSL implementado em C++.
 Summary:	Sablotron API documetation
 Summary(pl.UTF-8):	Dokumentacja API Sablotron
 Group:		Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:	noarch
+%endif
 
 %description apidocs
 Sablotron API documetation.
@@ -67,7 +70,7 @@ Summary(pt_BR.UTF-8):	Arquivos de inclusão do sablotron
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 Requires:	expat-devel >= 1.95.6-2
-%{?with_javascript:Requires:	js-devel}
+%{?with_javascript:Requires: js-devel}
 Requires:	libstdc++-devel
 Obsoletes:	libsablotron0-devel
 
@@ -123,7 +126,7 @@ install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_includedir}}
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-rm -r $RPM_BUILD_ROOT%{_datadir}/doc/html
+rm -r $RPM_BUILD_ROOT%{_docdir}/html
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/sablotron.git/commitdiff/cfa359fe7b411565591809c7867a31b73b860e5d



More information about the pld-cvs-commit mailing list