[packages/hidapi] noarch apidocs

glen glen at pld-linux.org
Wed Apr 27 22:00:28 CEST 2016


commit 881ed13f1ee45aa77be3167eecf0546f7f614d6a
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Apr 27 23:00:25 2016 +0300

    noarch apidocs

 hidapi.spec | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/hidapi.spec b/hidapi.spec
index 88e9b9c..b03a816 100644
--- a/hidapi.spec
+++ b/hidapi.spec
@@ -2,12 +2,12 @@
 # Conditional build:
 %bcond_without	apidocs		# do not build and package API docs
 %bcond_with	hidraw		# Linux 3 HIDRAW interface instead of libusb
-#
+
 Summary:	HID API for Windows, Linux and Mac OS X
 Summary(pl.UTF-8):	API HID dla systemów Windows, Linux oraz Mac OS X
 Name:		hidapi
 Version:	0.7.0
-Release:	1
+Release:	2
 License:	GPL v3 or BSD or HIDAPI
 Group:		Libraries
 Source0:	https://github.com/signal11/hidapi/archive/%{name}-%{version}.tar.gz
@@ -26,7 +26,7 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %description
 HIDAPI is a multi-platform library which allows an application to
 interface with USB and Bluetooth HID-Class (Human Interface Device)
-devices on Windows, Linux, and Mac OS X. 
+devices on Windows, Linux, and Mac OS X.
 
 %description -l pl.UTF-8
 HIDAPI to wieloplatformowa biblioteka pozwalająca aplikacjom
@@ -64,6 +64,9 @@ Statyczna biblioteka HIDAPI.
 Summary:	HIDAPI API documentation
 Summary(pl.UTF-8):	Dokumentacja API biblioteki HIDAPI
 Group:		Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:	noarch
+%endif
 
 %description apidocs
 API documentation for HIDAPI library.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/hidapi.git/commitdiff/881ed13f1ee45aa77be3167eecf0546f7f614d6a



More information about the pld-cvs-commit mailing list