From 110135cd16e7c8a6eaa29296d20bd0334e4e2469 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 28 Jan 2020 14:09:11 +0100 Subject: [PATCH] ceph.spec.in: Use pkgconfig() style BuildRequires for udev/libudev-devel pkgconfig() is cross-distro and allows to 'not having to care' for distro specific packaging names. On openSUSE/SUSE distros, for udev/libudev, we gain the benefit of being able to use -mini flavors which are sooner in the build queues. Signed-off-by: Dominique Leuenberger --- ceph.spec.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ceph.spec.in b/ceph.spec.in index 625a17fe8aa1e..ea8b0bf98e14a 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -168,7 +168,7 @@ BuildRequires: libaio-devel BuildRequires: libblkid-devel >= 2.17 BuildRequires: libcurl-devel BuildRequires: libcap-ng-devel -BuildRequires: libudev-devel +BuildRequires: pkgconfig(libudev) BuildRequires: libnl3-devel BuildRequires: liboath-devel BuildRequires: libtool @@ -184,7 +184,7 @@ BuildRequires: python%{python3_pkgversion} BuildRequires: python%{python3_pkgversion}-devel BuildRequires: snappy-devel BuildRequires: sudo -BuildRequires: udev +BuildRequires: pkgconfig(udev) BuildRequires: util-linux BuildRequires: valgrind-devel BuildRequires: which -- 2.39.5