use libsoup2 instead of libsoup3 for build when no libsoup3 provided
This commit is contained in:
parent
fb2d3a3b1d
commit
7640dff1e8
19
rest.spec
19
rest.spec
@ -1,6 +1,6 @@
|
|||||||
Name: rest
|
Name: rest
|
||||||
Version: 0.9.1
|
Version: 0.9.1
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: A library for access to RESTful web services
|
Summary: A library for access to RESTful web services
|
||||||
License: LGPLv2
|
License: LGPLv2
|
||||||
URL: https://www.gnome.org
|
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
|
Patch1: 0002-Handle-some-potential-problems-in-parsing-oauth2-acc.patch
|
||||||
Patch2: skip-some-failed-tests.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
|
BuildRequires: libxslt meson json-glib-devel libadwaita-devel gtksourceview5-devel gi-docgen
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -39,7 +44,11 @@ Demo application for %{name}.
|
|||||||
%autosetup -n %{name}-%{version} -p1
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%if "0%{?product_family}" == "0"
|
||||||
%meson
|
%meson
|
||||||
|
%else
|
||||||
|
%meson -Dsoup2=true
|
||||||
|
%endif
|
||||||
%meson_build
|
%meson_build
|
||||||
|
|
||||||
|
|
||||||
@ -80,6 +89,12 @@ Demo application for %{name}.
|
|||||||
%{_datadir}/doc/librest-1.0
|
%{_datadir}/doc/librest-1.0
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Oct 26 2023 zhouyihang <zhouyihang3@h-partners.com> - 0.9.1-3
|
||||||
- Type:requirements
|
- Type:requirements
|
||||||
- Id:NA
|
- Id:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user