From dcb7ca03a30c5c79391fba6393f20d2eaa1f248d Mon Sep 17 00:00:00 2001 From: Zhiqiang Liu Date: Tue, 9 Feb 2021 11:12:46 +0800 Subject: [PATCH] pciutils: solve i686 dependency problem and set release num to 4 for CI solve i686 dependency problem and set release num to 4 for CI Signed-off-by: Zhiqiang Liu --- pciutils.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pciutils.spec b/pciutils.spec index 4e26bc4..bd5d44d 100644 --- a/pciutils.spec +++ b/pciutils.spec @@ -1,6 +1,6 @@ Name: pciutils Version: 3.6.4 -Release: 1 +Release: 4 Summary: PCI bus related utilities License: GPLv2+ URL: http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml @@ -9,6 +9,11 @@ Source0: https://mirrors.edge.kernel.org/pub/software/utils/pciutils/%{na ExclusiveOS: Linux BuildRequires: gcc git sed kmod-devel pkgconfig zlib-devel + +%ifarch i686 +BuildRequires: which kmod-libs +%endif + Requires: hwdata Provides: %{name}-libs Obsoletes: %{name}-libs @@ -107,6 +112,9 @@ rm -rf $RPM_BUILD_ROOT/usr/share/hwdata/pci.ids* rm -rf $RPM_BUILD_ROOT %changelog +* Tue Feb 9 2021 Zhiqiang Liu - 3.6.4-4 +- solve i686 dependency problem and set release num to 4 for CI + * Tue Apr 14 2020 linfeilong - 3.6.4-1 - Type:enhancemnet - ID:NA -- Gitee