diff --git a/glib-networking-2.72.0.tar.xz b/glib-networking-2.72.0.tar.xz deleted file mode 100644 index a8820ceb8b4a293f1d93f2004d7fe7084ac74958..0000000000000000000000000000000000000000 Binary files a/glib-networking-2.72.0.tar.xz and /dev/null differ diff --git a/glib-networking-2.74.0.tar.xz b/glib-networking-2.74.0.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..9599960dbae30f70e58028655f03fee5052d9661 Binary files /dev/null and b/glib-networking-2.74.0.tar.xz differ diff --git a/glib-networking.spec b/glib-networking.spec index 72ba7c58faa1a77c1063624e5b47bbcc31605872..82ee1a91647ae563d2f4cf4599df03f06ff2356a 100644 --- a/glib-networking.spec +++ b/glib-networking.spec @@ -1,32 +1,29 @@ -%define anolis_release 2 +%define anolis_release 1 -%define glib2_version 2.69.0 - -%global tarball_version %%(echo %{version} | tr '~' '.') +%define glib2_version 2.73.3 %global with_libproxy 1 Name: glib-networking -Version: 2.72.0 +Version: 2.74.0 Release: %{anolis_release}%{dist} Summary: Networking support for GLib License: LGPLv2+ URL: https://gitlab.gnome.org/GNOME/glib-networking -Source0: https://download.gnome.org/sources/glib-networking/2.72/%{name}-%{tarball_version}.tar.xz +Source0: https://download.gnome.org/sources/glib-networking/2.74/%{name}-%{version}.tar.xz BuildRequires: ca-certificates BuildRequires: gcc BuildRequires: gettext -BuildRequires: meson +BuildRequires: meson >= 0.60.0 BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version} BuildRequires: pkgconfig(gio-2.0) -BuildRequires: pkgconfig(gnutls) +BuildRequires: pkgconfig(gnutls) >= 3.7.4 BuildRequires: pkgconfig(gsettings-desktop-schemas) %if 0%{?with_libproxy} -BuildRequires: pkgconfig(libproxy-1.0) +BuildRequires: pkgconfig(libproxy-1.0) >= 0.4.16 %endif -BuildRequires: pkgconfig(p11-kit-1) BuildRequires: systemd-rpm-macros Requires: ca-certificates @@ -59,7 +56,7 @@ The glib-networking-tests package contains tests that can be used to verify the functionality of the installed glib-networking package. %prep -%autosetup -p1 -n %{name}-%{tarball_version} +%autosetup -p1 -n %{name}-%{version} %build %meson \ @@ -102,7 +99,10 @@ the functionality of the installed glib-networking package. %{_libexecdir}/installed-tests/glib-networking %{_datadir}/installed-tests -%changelog +%changelog +* Sat Jan 21 2023 Funda Wang - 2.72.0-2 - optimise spec file & add doc package