!28 use libsoup2 instead of libsoup3 for build when no libsoup3 provided
From: @sherlock2010 Reviewed-by: @t_feng Signed-off-by: @t_feng
This commit is contained in:
commit
e5e3ce02d1
19
rest.spec
19
rest.spec
@ -1,6 +1,6 @@
|
||||
Name: rest
|
||||
Version: 0.9.1
|
||||
Release: 3
|
||||
Release: 4
|
||||
Summary: A library for access to RESTful web services
|
||||
License: LGPLv2
|
||||
URL: https://www.gnome.org
|
||||
@ -10,7 +10,12 @@ Patch0: 0001-rest_proxy_call_sync-bail-out-if-no-payload.patch
|
||||
Patch1: 0002-Handle-some-potential-problems-in-parsing-oauth2-acc.patch
|
||||
Patch2: skip-some-failed-tests.patch
|
||||
|
||||
BuildRequires: glib2-devel libsoup3-devel libxml2-devel gobject-introspection-devel
|
||||
%if "0%{?product_family}" == "0"
|
||||
BuildRequires: libsoup3-devel
|
||||
%else
|
||||
BuildRequires: libsoup-devel
|
||||
%endif
|
||||
BuildRequires: glib2-devel libxml2-devel gobject-introspection-devel
|
||||
BuildRequires: libxslt meson json-glib-devel libadwaita-devel gtksourceview5-devel gi-docgen
|
||||
|
||||
%description
|
||||
@ -39,7 +44,11 @@ Demo application for %{name}.
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
|
||||
%build
|
||||
%if "0%{?product_family}" == "0"
|
||||
%meson
|
||||
%else
|
||||
%meson -Dsoup2=true
|
||||
%endif
|
||||
%meson_build
|
||||
|
||||
|
||||
@ -80,6 +89,12 @@ Demo application for %{name}.
|
||||
%{_datadir}/doc/librest-1.0
|
||||
|
||||
%changelog
|
||||
* Wed Jul 03 2024 zhouyihang <zhouyihang3@h-partners.com> - 0.9.1-4
|
||||
- Type:requirements
|
||||
- Id:NA
|
||||
- SUG:NA
|
||||
- DESC:use libsoup2 instead of libsoup3 for build when no libsoup3 provided
|
||||
|
||||
* Thu Oct 26 2023 zhouyihang <zhouyihang3@h-partners.com> - 0.9.1-3
|
||||
- Type:requirements
|
||||
- Id:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user