From eaa8cd4a3984323678ebdc0a68d07c7d639d855f Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Thu, 10 Dec 2020 15:44:01 +0000 Subject: [PATCH] Merged update from upstream sources This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/libmaxminddb.git#349ed64d2dd78302d5e0869a319db7872c2cf015 --- libmaxminddb.spec | 26 +++++++++++++++++++++++--- sources | 2 +- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/libmaxminddb.spec b/libmaxminddb.spec index 974cd61..635a2e5 100644 --- a/libmaxminddb.spec +++ b/libmaxminddb.spec @@ -1,7 +1,7 @@ Name: libmaxminddb Summary: C library for the MaxMind DB file format -Version: 1.4.2 -Release: 3%{?dist} +Version: 1.4.3 +Release: 1%{?dist} URL: https://maxmind.github.io/libmaxminddb Source: https://github.com/maxmind/libmaxminddb/releases/download/%{version}/%{name}-%{version}.tar.gz @@ -45,6 +45,21 @@ LD_PRELOAD=%{buildroot}%{_libdir}/libmaxminddb.so make check %make_install rm -v %{buildroot}%{_libdir}/*.la +#downstream fix for multilib install of devel pkg +mv %{buildroot}%{_includedir}/maxminddb_config.h \ + %{buildroot}%{_includedir}/maxminddb_config-%{__isa_bits}.h +cat > %{buildroot}%{_includedir}/maxminddb_config.h << EOF +#include + +#if __WORDSIZE == 32 +#include +#elif __WORDSIZE == 64 +#include +#else +#error "Unknown word size" +#endif +EOF + %files %license LICENSE %{_libdir}/libmaxminddb.so.0* @@ -55,12 +70,17 @@ rm -v %{buildroot}%{_libdir}/*.la %license NOTICE %doc Changes.md %{_includedir}/maxminddb.h -%{_includedir}/maxminddb_config.h +%{_includedir}/maxminddb_config*.h %{_libdir}/libmaxminddb.so %{_libdir}/pkgconfig/libmaxminddb.pc %{_mandir}/man3/*.3* %changelog +* Thu Dec 10 2020 Michal Ruprich - 1.4.3-1 +- Update to 1.4.3 +- Resolves: #1758843 - libmaxminddb-devel i686 can't be installed in parallel to x86_64 +- Fix for CVE-2020-28241 + * Tue Jul 28 2020 Fedora Release Engineering - 1.4.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 1e1c0e3..9c7389d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libmaxminddb-1.4.2.tar.gz) = bc18d2f19a74639888a466483afde1bccfc3a83787011a6f38808b76e5a513c9912ff369ccbf584091d4def657e0574b16b35dc69ab12ae4c439aaaf3669c4c1 +SHA512 (libmaxminddb-1.4.3.tar.gz) = 7fd97678ea6ca41cc4530864276b0233acbb16208571dc4694902943b3aa7e97c683c5676ea3f2de948c67aebd083f5d073b9ae36b7e89059c17f797ffddf65e