[packages/colord-gtk] noarch vala subpackage

glen glen at pld-linux.org
Mon Mar 28 10:39:00 CEST 2016


commit cc9351432162807ab48e928e2b1734719117d902
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Mar 28 11:38:57 2016 +0300

    noarch vala subpackage

 colord-gtk.spec | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/colord-gtk.spec b/colord-gtk.spec
index e9198ad..f47a31d 100644
--- a/colord-gtk.spec
+++ b/colord-gtk.spec
@@ -4,13 +4,13 @@
 %bcond_without	static_libs	# don't build static libraries
 %bcond_without	gtk2		# additional GTK+ 2.x version of library
 %bcond_without	vala		# don't build Vala API
-#
+
 %define	colord_ver	0.1.27
 Summary:	GTK helper library for colord
 Summary(pl.UTF-8):	Biblioteka pomocniczna GTK dla colord
 Name:		colord-gtk
 Version:	0.1.26
-Release:	3
+Release:	4
 License:	LGPL v2.1+ (library), GPL v2+ (cd-convert utility)
 Group:		X11/Libraries
 Source0:	http://www.freedesktop.org/software/colord/releases/%{name}-%{version}.tar.xz
@@ -89,6 +89,9 @@ Summary(pl.UTF-8):	API colord-gtk dla języka Vala
 Group:		X11/Development/Libraries
 Requires:	%{name}-devel = %{version}-%{release}
 Requires:	vala-colord >= %{colord_ver}
+%if "%{_rpmversion}" >= "5"
+BuildArch:	noarch
+%endif
 
 %description -n vala-colord-gtk
 colord-gtk API for Vala language.
@@ -177,6 +180,7 @@ rm -rf $RPM_BUILD_ROOT
 %postun	-n colord-gtk2 -p /sbin/ldconfig
 
 %files
+%defattr(644,root,root,755)
 # -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS MAINTAINERS NEWS README TODO
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/colord-gtk.git/commitdiff/cc9351432162807ab48e928e2b1734719117d902



More information about the pld-cvs-commit mailing list