[packages/colord] noarch apidocs

glen glen at pld-linux.org
Tue Dec 8 11:31:12 CET 2015


commit 6ea2203eaecc78e8fa3ef7b7b393ec579fec75ff
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Dec 8 12:31:06 2015 +0200

    noarch apidocs

 colord.spec | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/colord.spec b/colord.spec
index 7446f83..2b49efb 100644
--- a/colord.spec
+++ b/colord.spec
@@ -4,12 +4,12 @@
 %bcond_without	sane		# SANE support
 %bcond_without	static_libs	# don't build static libraries
 %bcond_without	vala		# don't build Vala API
-#
+
 Summary:	Color daemon - system daemon for managing color devices
 Summary(pl.UTF-8):	Demon colord - usługa systemowa do zarządzania urządzeniami obsługującymi kolory
 Name:		colord
 Version:	1.2.12
-Release:	1
+Release:	2
 License:	GPL v2+ and LGPL v2+
 Group:		Daemons
 Source0:	http://www.freedesktop.org/software/colord/releases/%{name}-%{version}.tar.xz
@@ -108,6 +108,9 @@ Summary:	colord API documentation
 Summary(pl.UTF-8):	Dokumentacja API colord
 Group:		Documentation
 Requires:	gtk-doc-common
+%if "%{_rpmversion}" >= "5"
+BuildArch:	noarch
+%endif
 
 %description apidocs
 colord API documentation.
@@ -157,7 +160,7 @@ Bashowe uzupełnianie poleceń terminalowych colormgr.
 %configure \
 	SPOTREAD=/usr/bin/spotread \
 	--disable-silent-rules \
-	--enable-bash-completion=%{_datadir}/bash-completion/completions \
+	--enable-bash-completion=%{bash_compdir} \
 	%{__enable_disable apidocs gtk-doc} \
 	--enable-libcolordcompat \
 	%{__enable sane} \
@@ -298,4 +301,4 @@ fi
 
 %files -n bash-completion-colord
 %defattr(644,root,root,755)
-%{_datadir}/bash-completion/completions/colormgr
+%{bash_compdir}/colormgr
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/colord.git/commitdiff/6ea2203eaecc78e8fa3ef7b7b393ec579fec75ff



More information about the pld-cvs-commit mailing list