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).
This commit is contained in:
Kalev Lember 2020-09-20 11:17:59 +02:00
parent c1633a0b28
commit 023cc7afd1

View File

@ -27,6 +27,11 @@ BuildRequires: /usr/bin/ntlm_auth
Requires: glib2%{?_isa} >= %{glib2_version} Requires: glib2%{?_isa} >= %{glib2_version}
Requires: glib-networking%{?_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 %description
Libsoup is an HTTP library implementation in C. It was originally part Libsoup is an HTTP library implementation in C. It was originally part
of a SOAP (Simple Object Access Protocol) implementation called Soup, but 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 %changelog
* Sun Sep 20 2020 Kalev Lember <klember@redhat.com> - 2.72.0-2 * Sun Sep 20 2020 Kalev Lember <klember@redhat.com> - 2.72.0-2
- Tighten soname globs - Tighten soname globs
- Avoid automatic requires on sysprof-devel package
* Mon Sep 14 2020 Kalev Lember <klember@redhat.com> - 2.72.0-1 * Mon Sep 14 2020 Kalev Lember <klember@redhat.com> - 2.72.0-1
- Update to 2.72.0 - Update to 2.72.0