From 023cc7afd15a68d6479e5695a9b62ed767fa9ca9 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Sun, 20 Sep 2020 11:17:59 +0200 Subject: [PATCH] Avoid automatic requires on sysprof-devel package This commit adds requires filtering to filter out automatic requires on 'pkgconfig(sysprof-capture-4)' as as it's a private dependency (and libsoup doesn't ship a static library which is when this dep would be useful). --- libsoup.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libsoup.spec b/libsoup.spec index ee4a2fc..8758d6c 100644 --- a/libsoup.spec +++ b/libsoup.spec @@ -27,6 +27,11 @@ BuildRequires: /usr/bin/ntlm_auth Requires: glib2%{?_isa} >= %{glib2_version} Requires: glib-networking%{?_isa} >= %{glib2_version} +# Avoid automatic requires on sysprof-devel package as it's a private +# dependency (and libsoup doesn't ship a static library which is when +# this dep would be useful) +%global __requires_exclude ^pkgconfig\\(sysprof-capture-4\\)$ + %description Libsoup is an HTTP library implementation in C. It was originally part of a SOAP (Simple Object Access Protocol) implementation called Soup, but @@ -85,6 +90,7 @@ you to develop applications that use the libsoup library. %changelog * Sun Sep 20 2020 Kalev Lember - 2.72.0-2 - Tighten soname globs +- Avoid automatic requires on sysprof-devel package * Mon Sep 14 2020 Kalev Lember - 2.72.0-1 - Update to 2.72.0