Update to 3.1.1

This commit is contained in:
David King 2022-07-06 16:52:21 +01:00
parent 95084355e6
commit 430891d96e
3 changed files with 8 additions and 28 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
/libsoup-3.0.5.tar.xz /libsoup-3.0.5.tar.xz
/libsoup-3.0.6.tar.xz /libsoup-3.0.6.tar.xz
/libsoup-3.0.7.tar.xz /libsoup-3.0.7.tar.xz
/libsoup-3.1.1.tar.xz

View File

@ -1,23 +1,18 @@
%global glib2_version 2.58.0 %global glib2_version 2.69.1
# Coverity scan can override this to 0, to skip checking in gtk-doc generated code
%{!?with_docs: %global with_docs 1}
Name: libsoup3 Name: libsoup3
Version: 3.0.7 Version: 3.1.1
Release: %autorelease Release: %autorelease
Summary: Soup, an HTTP library implementation Summary: Soup, an HTTP library implementation
License: LGPLv2 License: LGPLv2
URL: https://wiki.gnome.org/Projects/libsoup URL: https://wiki.gnome.org/Projects/libsoup
Source0: https://download.gnome.org/sources/libsoup/3.0/libsoup-%{version}.tar.xz Source0: https://download.gnome.org/sources/libsoup/3.1/libsoup-%{version}.tar.xz
BuildRequires: gcc BuildRequires: gcc
BuildRequires: gettext BuildRequires: gettext
BuildRequires: glib-networking BuildRequires: glib-networking
%if %{with_docs} BuildRequires: gi-docgen >= 2021.1
BuildRequires: gtk-doc
%endif
BuildRequires: krb5-devel BuildRequires: krb5-devel
BuildRequires: meson BuildRequires: meson
BuildRequires: vala BuildRequires: vala
@ -53,8 +48,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
Libsoup is an HTTP library implementation in C. This package allows Libsoup is an HTTP library implementation in C. This package allows
you to develop applications that use the libsoup library. you to develop applications that use the libsoup library.
%if %{with_docs}
%package doc %package doc
Summary: Documentation files for %{name} Summary: Documentation files for %{name}
BuildArch: noarch BuildArch: noarch
@ -62,19 +55,11 @@ BuildArch: noarch
%description doc %description doc
This package contains developer documentation for %{name}. This package contains developer documentation for %{name}.
%endif
%prep %prep
%autosetup -p0 -n libsoup-%{version} %autosetup -p0 -n libsoup-%{version}
%build %build
%if %{with_docs} %meson -Ddocs=enabled -Dtests=false -Dautobahn=disabled -Dhttp2_tests=disabled -Dpkcs11_tests=disabled
%global gtkdoc_flags -Dgtk_doc=true
%else
%global gtkdoc_flags -Dgtk_doc=false
%endif
%meson %gtkdoc_flags -Dtests=false -Dautobahn=disabled -Dhttp2_tests=disabled -Dpkcs11_tests=disabled
%meson_build %meson_build
%install %install
@ -100,14 +85,8 @@ This package contains developer documentation for %{name}.
%{_datadir}/vala/vapi/libsoup-3.0.deps %{_datadir}/vala/vapi/libsoup-3.0.deps
%{_datadir}/vala/vapi/libsoup-3.0.vapi %{_datadir}/vala/vapi/libsoup-3.0.vapi
%if %{with_docs}
%files doc %files doc
%dir %{_datadir}/gtk-doc %{_docdir}/libsoup-3.0/
%dir %{_datadir}/gtk-doc/html
%{_datadir}/gtk-doc/html/libsoup-3.0
%endif
%changelog %changelog
%autochangelog %autochangelog

View File

@ -1 +1 @@
SHA512 (libsoup-3.0.7.tar.xz) = bb48b2475ec4b073de144ad91459843946ba902fc0849b88c548ccb774fc3854451239267dd097a3da4e40f025ae746609b669ec0caffdb15e7b07118e881cfd SHA512 (libsoup-3.1.1.tar.xz) = 71beedad62ffe08271fde6b46f3ca2ad2848218081a36ab293ae0b88a46189f8371b944cf624004e4770f1e47aa673335ac2217b66aeee30a5f79bf2b52bc04a