[packages/v4l-utils] drop udev bcond (udev required by non-optional libdvbv5)

atler atler at pld-linux.org
Wed Dec 13 19:49:47 CET 2023


commit 460b2a5ee8c567ae28d851a945a0788eebc3b462
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Dec 13 19:11:20 2023 +0100

    drop udev bcond (udev required by non-optional libdvbv5)

 v4l-utils.spec | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/v4l-utils.spec b/v4l-utils.spec
index 6ada196..524b95a 100644
--- a/v4l-utils.spec
+++ b/v4l-utils.spec
@@ -1,7 +1,6 @@
 #
 # Conditional build:
 %bcond_without	qt	# don't build Qt tools
-%bcond_without	udev	# using libudev to detect device name
 #
 Summary:	Collection of Video4Linux utilities
 Summary(pl.UTF-8):	Zbiór narzędzi do urządzeń Video4Linux
@@ -38,7 +37,7 @@ BuildRequires:	libstdc++-devel
 BuildRequires:	libtool
 BuildRequires:	pkgconfig
 BuildRequires:	systemd-devel
-%{?with_udev:BuildRequires:	udev-devel}
+BuildRequires:	udev-devel
 BuildRequires:	xorg-lib-libX11-devel
 Requires:	json-c >= 0.15
 Requires:	libv4l = %{version}-%{release}
@@ -124,7 +123,7 @@ Summary(pl.UTF-8):	Pliki nagłówkowe bibliotek libv4l
 License:	LGPL v2.1+
 Group:		Development/Libraries
 Requires:	libv4l = %{version}-%{release}
-%{?with_udev:Requires:	udev-devel}
+Requires:	udev-devel
 
 %description -n libv4l-devel
 Header files for libv4l libraries.
@@ -161,7 +160,7 @@ Statyczne biblioteki libv4l.
 	--disable-qv4l2 \
 	--disable-qvidcap \
 %endif
-	%{?with_udev:--with-libudev}
+
 %{__make}
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/v4l-utils.git/commitdiff/b876956ff967d56de0348dce722a5580ad81550b



More information about the pld-cvs-commit mailing list