diff --git a/fedora-crypto-policy.patch b/fedora-crypto-policy.patch new file mode 100644 index 0000000..2ec43ba --- /dev/null +++ b/fedora-crypto-policy.patch @@ -0,0 +1,26 @@ +From b5ef489deac4cb89c70232770930b500a943b77e Mon Sep 17 00:00:00 2001 +From: Michael Catanzaro +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 ca4730b..ea48586 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:%LATEST_RECORD_VERSION" ++#define DEFAULT_BASE_PRIORITY "@SYSTEM:%COMPAT:%LATEST_RECORD_VERSION" + + static void + g_tls_connection_gnutls_init_priorities (void) +-- +2.7.4 + diff --git a/glib-networking.spec b/glib-networking.spec index 89718c6..60d5dc6 100644 --- a/glib-networking.spec +++ b/glib-networking.spec @@ -10,6 +10,9 @@ License: LGPLv2+ URL: http://www.gnome.org Source: http://download.gnome.org/sources/glib-networking/2.48/%{name}-%{version}.tar.xz +# https://bugzilla.redhat.com/show_bug.cgi?id=1179295 +Patch0: fedora-crypto-policy.patch + BuildRequires: glib2-devel >= %{glib2_version} BuildRequires: libproxy-devel BuildRequires: gnutls-devel @@ -38,7 +41,7 @@ The glib-networking-tests package contains tests that can be used to verify the functionality of the installed glib-networking package. %prep -%setup -q +%autosetup -p1 %build %configure --disable-static --with-libproxy --enable-installed-tests @@ -73,6 +76,9 @@ gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules %{_datadir}/installed-tests %changelog +* Wed Jun 15 2016 Michael Catanzaro - 2.48.2-2 +- Comply with Fedora system-wide crypto policy + * Mon May 09 2016 Kalev Lember - 2.48.2-1 - Update to 2.48.2