Package init
This commit is contained in:
commit
145852842d
26
fedora-crypto-policy.patch
Normal file
26
fedora-crypto-policy.patch
Normal file
@ -0,0 +1,26 @@
|
||||
From a4eaf05533e0e92e159fd0b964c36279726bfad3 Mon Sep 17 00:00:00 2001
|
||||
From: Michael Catanzaro <mcatanzaro@gnome.org>
|
||||
Date: Wed, 15 Jun 2016 10:29:50 -0500
|
||||
Subject: [PATCH] Comply with Fedora system-wide crypto policy
|
||||
|
||||
https://bugzilla.redhat.com/show_bug.cgi?id=1179295
|
||||
---
|
||||
tls/gnutls/gtlsconnection-gnutls.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tls/gnutls/gtlsconnection-gnutls.c b/tls/gnutls/gtlsconnection-gnutls.c
|
||||
index d2914fa..30fa34d 100644
|
||||
--- a/tls/gnutls/gtlsconnection-gnutls.c
|
||||
+++ b/tls/gnutls/gtlsconnection-gnutls.c
|
||||
@@ -213,7 +213,7 @@ g_tls_connection_gnutls_init (GTlsConnectionGnutls *gnutls)
|
||||
/* First field is "fallback", second is "allow unsafe rehandshaking" */
|
||||
static gnutls_priority_t priorities[2][2];
|
||||
|
||||
-#define DEFAULT_BASE_PRIORITY "NORMAL:%COMPAT"
|
||||
+#define DEFAULT_BASE_PRIORITY "@SYSTEM:%COMPAT"
|
||||
|
||||
static void
|
||||
g_tls_connection_gnutls_init_priorities (void)
|
||||
--
|
||||
2.13.0
|
||||
|
||||
BIN
glib-networking-2.58.0.tar.xz
Normal file
BIN
glib-networking-2.58.0.tar.xz
Normal file
Binary file not shown.
52
glib-networking.spec
Normal file
52
glib-networking.spec
Normal file
@ -0,0 +1,52 @@
|
||||
Name: glib-networking
|
||||
Version: 2.58.0
|
||||
Release: 3
|
||||
Summary: Network-related modules for glib
|
||||
License: LGPLv2+
|
||||
URL: http://www.gnome.org
|
||||
Source0: http://download.gnome.org/sources/glib-networking/2.58/glib-networking-%{version}.tar.xz
|
||||
|
||||
BuildRequires: meson gcc ca-certificates gettext systemd
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.55.1 pkgconfig(gnutls) >= 3.3.5
|
||||
BuildRequires: pkgconfig(gio-2.0) pkgconfig(gsettings-desktop-schemas)
|
||||
BuildRequires: pkgconfig(libproxy-1.0) >= 0.3.1 pkgconfig(p11-kit-1) >= 0.20
|
||||
|
||||
Requires: ca-certificates gsettings-desktop-schemas glib2 >= 2.55.1
|
||||
|
||||
%description
|
||||
glib-networking contains the implementations of certain GLib networking features
|
||||
that cannot be implemented directly in GLib itself because of their dependencies.
|
||||
|
||||
%package tests
|
||||
Summary: verify the Usability of the glib-networking package
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description tests
|
||||
verify the Usability of the glib-networking package.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
|
||||
%build
|
||||
%meson -Dinstalled_tests=true
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
%files -f %{name}.lang
|
||||
%doc NEWS README COPYING
|
||||
%{_libdir}/gio/modules/*
|
||||
%{_libexecdir}/glib-pacrunner
|
||||
%{_datadir}/dbus-1/services/org.gtk.GLib.PACRunner.service
|
||||
%{_userunitdir}/glib-pacrunner.service
|
||||
|
||||
%files tests
|
||||
%{_libexecdir}/installed-tests/glib-networking
|
||||
%{_datadir}/installed-tests
|
||||
|
||||
%changelog
|
||||
* Tue Sep 17 2019 Lijin Yang <yanglijin@huawei.com> - 2.58.0-3
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user