Accepting request 583569 from GNOME:Next

Scripted push of project GNOME:Next

OBS-URL: https://build.opensuse.org/request/show/583569
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/glib-networking?expand=0&rev=118
This commit is contained in:
Dominique Leuenberger 2018-03-09 10:05:10 +00:00 committed by Git OBS Bridge
parent 0e04df74bc
commit eb3b6b228e
4 changed files with 87 additions and 28 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eaa787b653015a0de31c928e9a17eb57b4ce23c8cf6f277afaec0d685335012f
size 441232

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ff0e5bd686d0b956f335d7a0188e8cbebeddf5ade934601d959457d07e34cb08
size 161016

View File

@ -1,3 +1,56 @@
-------------------------------------------------------------------
Wed Feb 28 16:26:49 UTC 2018 - dimstar@opensuse.org
- Modernize spec-file by calling spec-cleaner
-------------------------------------------------------------------
Tue Feb 13 15:03:10 UTC 2018 - dimstar@opensuse.org
- Update to version 2.55.90:
+ Fix unit tests when SSLv3 is unavailable (bgo#782853).
+ Allow static linking (bgo#791100).
+ Fix issues found by coverity (bgo#792402).
+ Remove TLS build option; it is now mandatory.
+ Try to ensure that GnuTLS is only initialized if TLS is
actually used.
+ Update use of GObject to follow current best practices.
+ Use XDG_CURRENT_DESKTOP to determine which proxy module to
load.
-------------------------------------------------------------------
Sun Dec 17 02:46:47 UTC 2017 - luc14n0@linuxmail.org
- Update to version 2.55.2:
+ Fix glib-pacrunner.service installation directory (bgo#790367).
+ Updated translations.
- Drop glib-networking-Fix-build-failure-on-64bit-platforms.patch:
fixed upstream.
- Drop intltool BuildRequires as this is no longer used anymore
once upstream migrated to gettext long ago.
- Add pkgconfig(glib-2.0) BuildRequires. Note that it was being
pulled with gio-2.0 pkgconfig module and used already as both of
them live in glib2-devel package.
-------------------------------------------------------------------
Mon Dec 4 14:23:47 UTC 2017 - dimstar@opensuse.org
- Add pkgconfig(systemd) BuildRequires: new dependency after the
port to meson.
-------------------------------------------------------------------
Tue Nov 14 08:33:31 UTC 2017 - fezhang@suse.com
- Update to version 2.55.1:
+ Implement DTLS support (bgo#697908).
+ Port to Meson build system (bgo#786639).
+ Updated translations.
- Add ca-certificates-mozilla BuildRequires: new dependency.
- Add meson BuildRequires and switch autotools macros configure,
make and makeinstall to meson, meson_build and meson_install
following upstream switch to Meson build system.
- Add glib-networking-Fix-build-failure-on-64bit-platforms.patch:
Fix a build failure (bgo#790367).
-------------------------------------------------------------------
Fri Oct 27 22:32:33 UTC 2017 - luc14n0@linuxmail.org

View File

@ -1,7 +1,7 @@
#
# spec file for package glib-networking
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,34 +16,38 @@
#
%define gio_real_package %(rpm -q --qf '%%{name}' --whatprovides gio)
Name: glib-networking
Version: 2.54.1
Version: 2.55.90
Release: 0
Summary: Network-related GIO modules for glib
License: LGPL-2.1+
License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++
Url: https://www.gnome.org
Source: https://download.gnome.org/sources/glib-networking/2.54/%{name}-%{version}.tar.xz
URL: https://www.gnome.org
Source: http://download.gnome.org/sources/glib-networking/2.55/%{name}-%{version}.tar.xz
Source99: baselibs.conf
BuildRequires: ca-certificates-mozilla
# For directory ownership
BuildRequires: dbus-1
BuildRequires: intltool
BuildRequires: libgcrypt-devel
%if !0%{?is_opensuse}
BuildRequires: translation-update-upstream
%endif
BuildRequires: meson >= 0.43.0
BuildRequires: pkgconfig
# If this BuildRequires changes because of a gio library version change, change gio_real_package accordingly
BuildRequires: pkgconfig(gio-2.0) >= 2.45.1
BuildRequires: pkgconfig(gnutls) >= 3.0
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.55.1
BuildRequires: pkgconfig(gnutls) >= 3.3.5
BuildRequires: pkgconfig(gsettings-desktop-schemas)
BuildRequires: pkgconfig(libproxy-1.0)
BuildRequires: pkgconfig(p11-kit-1) >= 0.8
BuildRequires: pkgconfig(libproxy-1.0) >= 0.3.1
BuildRequires: pkgconfig(p11-kit-1) >= 0.20
BuildRequires: pkgconfig(systemd)
# org.gnome.system.proxy schema is used
Requires: gsettings-desktop-schemas
Recommends: %{name}-lang = %{version}
%define gio_real_package %(rpm -q --qf '%%{name}' --whatprovides gio)
Supplements: %{gio_real_package}
%glib2_gio_module_requires
%{glib2_gio_module_requires}
%if !0%{?is_opensuse}
BuildRequires: translation-update-upstream
%endif
%description
This package contains network-related GIO modules for glib.
@ -51,32 +55,34 @@ This package contains network-related GIO modules for glib.
Currently, there is only a proxy module based on libproxy.
%lang_package
%prep
%setup -q
%if !0%{?is_opensuse}
translation-update-upstream
%endif
%build
%configure \
--disable-static \
--with-ca-certificates=/etc/ssl/ca-bundle.pem
make %{?_smp_mflags}
%meson
%meson_build
%install
%make_install
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
%meson_install
find %{buildroot} -type f -name "*.la" -delete -print
%find_lang %{name}
# currently the installed_tests option is broken, use meson -Dinstalled_tests=false when it's fixed
rm -rf %{buildroot}%{_datadir}/installed-tests
%post
%glib2_gio_module_post
%{glib2_gio_module_post}
%postun
%glib2_gio_module_postun
%{glib2_gio_module_postun}
%files
%defattr(-, root, root)
%doc COPYING NEWS README
%license COPYING
%doc LICENSE_EXCEPTION NEWS README
%{_libdir}/gio/modules/libgiognomeproxy.so
%{_libdir}/gio/modules/libgiognutls.so
%{_libdir}/gio/modules/libgiolibproxy.so