Accepting request 1105469 from GNOME:Next

- Generate libpxbackend-1_0-mini to be used inside OBS: the backend
  is built without additional dependencies like cURL. So there is
  no wpad/pac support in this variant. Helps break a build cycle.

- Update to version 0.5.3:
  + Fix crash querying URLs without a host.
  + Web: Update application page.
  + Add appplication info about apt and python requests.

- Update to version 0.5.2:
  + Link with libsocket where needed.
  + Remove libsoup from doc and CI.
  + Fix coverity findings.
  + Add a comment that docs option needs introspection.
  + Set pac data after download only.
  + Fix race condition in px_manager_get_proxies_sync.
  + Update gobject dependency in pkgconfig file.
  + Reread env variables in each get_config call.

- Drop pkgconfig(libpeas-1.0) BuildRequires: libpeas is no longer
  needed.
- Add pkgconfig(gobject-introspection-1.0) BuildRequires: this was
  used before, but pulled in by libpeas.

For RelEng: this needs prjconf changes

Prefer: -libpxbackend-1_0
Ignore: libpxbackend-1_0-mini:this-is-only-for-build-envs

OBS-URL: https://build.opensuse.org/request/show/1105469
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=165
This commit is contained in:
Bjørn Lie 2023-08-23 13:32:33 +00:00 committed by Git OBS Bridge
parent 25d0defbd9
commit 4ee216339b
4 changed files with 51 additions and 17 deletions

View File

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

3
0.5.3.tar.gz Normal file
View File

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

View File

@ -1,3 +1,31 @@
-------------------------------------------------------------------
Wed Aug 16 07:28:37 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
- Generate libpxbackend-1_0-mini to be used inside OBS: the backend
is built without additional dependencies like cURL. So there is
no wpad/pac support in this variant. Helps break a build cycle.
-------------------------------------------------------------------
Thu Jul 13 14:16:36 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 0.5.3:
+ Fix crash querying URLs without a host.
+ Web: Update application page.
+ Add appplication info about apt and python requests.
-------------------------------------------------------------------
Fri Jun 16 15:05:33 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 0.5.2:
+ Link with libsocket where needed.
+ Remove libsoup from doc and CI.
+ Fix coverity findings.
+ Add a comment that docs option needs introspection.
+ Set pac data after download only.
+ Fix race condition in px_manager_get_proxies_sync.
+ Update gobject dependency in pkgconfig file.
+ Reread env variables in each get_config call.
-------------------------------------------------------------------
Fri Jun 2 11:44:56 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
@ -9,6 +37,10 @@ Fri Jun 2 11:44:56 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
+ Use glib-object header instead of gio.
+ Fix libproxy rpath.
+ Draft: Improve ignore checks.
- Drop pkgconfig(libpeas-1.0) BuildRequires: libpeas is no longer
needed.
- Add pkgconfig(gobject-introspection-1.0) BuildRequires: this was
used before, but pulled in by libpeas.
-------------------------------------------------------------------
Fri Jun 2 10:04:42 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -22,6 +22,7 @@ ExclusiveArch: do-not-build
%elif "%{flavor}" == "client"
%define name_suffix %{flavor}
%define dash -
%define mini -mini
%else
%define name_suffix %{flavor}
%define dash -
@ -29,19 +30,19 @@ ExclusiveArch: do-not-build
%define _name libproxy
Name: libproxy%{?dash}%{?name_suffix}
Version: 0.5.1
Version: 0.5.3
Release: 0
Summary: Automatic proxy configuration management for applications
License: GPL-2.0-or-later AND LGPL-2.1-or-later
Group: Development/Libraries/C and C++
URL: http://libproxy.github.io/libproxy/
Source: https://github.com/libproxy/libproxy/archive/refs/tags/0.5.1.tar.gz
Source: https://github.com/libproxy/libproxy/archive/refs/tags/%{version}.tar.gz
Source99: baselibs.conf
BuildRequires: meson
BuildRequires: sysuser-tools
BuildRequires: vala
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(libpeas-1.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
%if "%{flavor}" == "backend"
BuildRequires: pkgconfig(duktape)
BuildRequires: pkgconfig(gi-docgen)
@ -113,11 +114,15 @@ requires a WPAD protocol implementation, which complicates proxy
support. libproxy exists to abstract this issue and provides
an answer how to reach a certain network resource.
%package -n libpxbackend-1_0
Summary: BAckend library for libproxy, handles plugin loading
%package -n libpxbackend-1_0%{?mini}
Summary: Backend library for libproxy, handles plugin loading
Group: System/Libraries
%if "%{flavor}" == "client"
Conflicts: libpxbackend-1_0
Requires: this-is-only-for-build-envs
%endif
%description -n libpxbackend-1_0
%description -n libpxbackend-1_0%{?mini}
libproxy is a library that provides automatic proxy configuration
management.
@ -152,11 +157,6 @@ from a wide range of programming languages.
%install
%meson_install
%if "%{flavor}" == "client"
# These are part of the backend, which is built in the flavor with cURL support
rm %{buildroot}%{_libdir}/libproxy/libpxbackend-1.0.so
%endif
%if "%{flavor}" == "backend"
# this stuff is already shipped as part of the client library (built without cURL to break cycles)
rm %{buildroot}%{_bindir}/proxy
@ -174,9 +174,7 @@ rm %{buildroot}%{_libdir}/pkgconfig/libproxy-1.0.pc
%meson_test ||:
%endif
%if "%{flavor}" == "backend"
%ldconfig_scriptlets -n libpxbackend-1_0
%endif
%ldconfig_scriptlets -n libpxbackend-1_0%{?mini}
%if "%{flavor}" == "client"
%ldconfig_scriptlets -n libproxy1
@ -186,6 +184,10 @@ rm %{buildroot}%{_libdir}/pkgconfig/libproxy-1.0.pc
%files -n libproxy1
%{_libdir}/libproxy.so.1
%files -n libpxbackend-1_0%{?mini}
%dir %{_libdir}/libproxy
%{_libdir}/libproxy/libpxbackend-1.0.so
%files -n libproxy-tools
%{_bindir}/proxy
%{_mandir}/man8/proxy.8%{?ext_man}