From 1cbf3cee4b5535ab754287869c4ded36d6666b99997d044321ac5451e24bb289 Mon Sep 17 00:00:00 2001 From: Tejas Guruswamy Date: Wed, 10 Jan 2024 03:33:48 +0000 Subject: [PATCH] - Don't install code coverage scripts OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/intel-gpu-tools?expand=0&rev=16 --- intel-gpu-tools.changes | 5 +++++ intel-gpu-tools.spec | 15 +++++++++------ 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/intel-gpu-tools.changes b/intel-gpu-tools.changes index e9ed297..e52cc82 100644 --- a/intel-gpu-tools.changes +++ b/intel-gpu-tools.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Dec 3 01:40:26 UTC 2023 - Tejas Guruswamy + +- Don't install code coverage scripts + ------------------------------------------------------------------- Fri Nov 24 21:25:14 UTC 2023 - Tejas Guruswamy diff --git a/intel-gpu-tools.spec b/intel-gpu-tools.spec index d114fe3..e0fd9fd 100644 --- a/intel-gpu-tools.spec +++ b/intel-gpu-tools.spec @@ -1,7 +1,7 @@ # # spec file for package intel-gpu-tools # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -32,11 +32,6 @@ BuildRequires: meson BuildRequires: peg BuildRequires: pkgconfig BuildRequires: python3-docutils -%if 0%{?suse_version} > 1600 -BuildRequires: pkgconfig(libproc2) -%else -BuildRequires: pkgconfig(libprocps) -%endif BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(dri2proto) @@ -60,6 +55,11 @@ Conflicts: xorg-x11-driver-video <= 7.6 Provides: igt-gpu-tools = %{version} # Intel GPU is only available on x86 and x86-64 ExclusiveArch: %{ix86} x86_64 +%if 0%{?suse_version} > 1500 +BuildRequires: pkgconfig(libproc2) +%else +BuildRequires: pkgconfig(libprocps) +%endif %description This is a collection of tools for development and testing of the Intel @@ -93,6 +93,9 @@ sed -i 's#/usr/bin/env python3#/usr/bin/python3#' \ %fdupes %{buildroot}%{_libexecdir} +# These are only useful with the full source tree +rm -v %{buildroot}%{_bindir}/code_cov_* + %check %meson_test