Try harder to avoid sysprof-devel dependency
Instead of filtering rpm requires, drop the dependency from the .pc file.
This commit is contained in:
parent
bcf7d0a476
commit
291da5d4fc
15
libsoup.spec
15
libsoup.spec
@ -2,7 +2,7 @@
|
||||
|
||||
Name: libsoup
|
||||
Version: 2.72.0
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Soup, an HTTP library implementation
|
||||
|
||||
License: LGPLv2
|
||||
@ -27,11 +27,6 @@ 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
|
||||
@ -61,6 +56,11 @@ you to develop applications that use the libsoup library.
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
# 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)
|
||||
sed -i -e 's/sysprof-capture-4, //' $RPM_BUILD_ROOT%{_libdir}/pkgconfig/*.pc
|
||||
|
||||
%find_lang libsoup
|
||||
|
||||
%files -f libsoup.lang
|
||||
@ -88,6 +88,9 @@ you to develop applications that use the libsoup library.
|
||||
%{_datadir}/vala/vapi/libsoup-2.4.vapi
|
||||
|
||||
%changelog
|
||||
* Sun Sep 20 2020 Kalev Lember <klember@redhat.com> - 2.72.0-3
|
||||
- Try harder to avoid sysprof-devel dependency
|
||||
|
||||
* Sun Sep 20 2020 Kalev Lember <klember@redhat.com> - 2.72.0-2
|
||||
- Tighten soname globs
|
||||
- Avoid automatic requires on sysprof-devel package
|
||||
|
Loading…
Reference in New Issue
Block a user