[packages/libevdev] - switched build to python3 - rpm version for noarch subpackage

qboosh qboosh at pld-linux.org
Sun Mar 14 12:27:33 CET 2021


commit d83883965d59c6c522e15932eff8c12a1a9dc822
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Mar 14 12:28:40 2021 +0100

    - switched build to python3
    - rpm version for noarch subpackage

 libevdev.spec | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/libevdev.spec b/libevdev.spec
index a1d10b8..e229440 100644
--- a/libevdev.spec
+++ b/libevdev.spec
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-%bcond_without	apidocs		# do not build and package API docs
+%bcond_without	apidocs		# Doxygen based API documentation
 
 Summary:	Handler library for evdev events
 Summary(pl.UTF-8):	Biblioteka obsługująca zdarzenia evdev
@@ -15,7 +15,8 @@ URL:		https://www.freedesktop.org/wiki/Software/libevdev/
 BuildRequires:	check-devel >= 0.9.9
 %{?with_apidocs:BuildRequires:	doxygen}
 BuildRequires:	pkgconfig
-BuildRequires:	python >= 1:2.6
+BuildRequires:	python3 >= 1:3.4
+BuildRequires:	rpm-build >= 4.6
 BuildRequires:	rpmbuild(macros) >= 1.752
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
@@ -70,6 +71,7 @@ Dokumentacja API biblioteki libevdev.
 
 %build
 %configure \
+	PYTHON=%{__python3} \
 	--disable-silent-rules
 
 %{__make}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libevdev.git/commitdiff/d83883965d59c6c522e15932eff8c12a1a9dc822



More information about the pld-cvs-commit mailing list