!8 Upgrade to 1.7.1

From: @li-long315 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
This commit is contained in:
openeuler-ci-bot 2023-02-22 05:54:09 +00:00 committed by Gitee
commit fb396356d8
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 19 additions and 4 deletions

Binary file not shown.

BIN
libmaxminddb-1.7.1.tar.gz Normal file

Binary file not shown.

View File

@ -1,12 +1,14 @@
Name: libmaxminddb Name: libmaxminddb
Version: 1.5.2 Version: 1.7.1
Release: 1 Release: 1
Summary: C library for working with MaxMind DB files Summary: C library for working with MaxMind DB files
License: ASL 2.0 and BSD License: ASL 2.0 and BSD
URL: https://github.com/maxmind/libmaxminddb URL: https://github.com/maxmind/libmaxminddb
Source0: https://github.com/maxmind/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz Source0: https://github.com/maxmind/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
Source1: maxminddb_config.h
BuildRequires: gcc perl-interpreter BuildRequires: gcc perl-interpreter make libtool automake autoconf gcc-c++
BuildRequires: perl-File-Temp perl-Test-Simple >= 0.88 perl-Test-Output
%description %description
The libmaxminddb library provides a C library for reading MaxMind DB files, The libmaxminddb library provides a C library for reading MaxMind DB files,
@ -35,7 +37,8 @@ Summary: man information and changelog document for user
the help package include man information and changelog document for user. the help package include man information and changelog document for user.
%prep %prep
%autosetup %setup -q
autoreconf --force --install
%build %build
%configure --disable-static %configure --disable-static
@ -69,6 +72,9 @@ LD_PRELOAD=%{buildroot}%{_libdir}/libmaxminddb.so make check
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Fri Feb 17 2023 li-long315 <lilong@kylinos.cn> - 1.7.1-1
- Upgrade to 1.7.1
* Mon Jun 27 2022 dillon chen <dillon.chen@gmail.com> - 1.5.2-1 * Mon Jun 27 2022 dillon chen <dillon.chen@gmail.com> - 1.5.2-1
- update to 1.5.2 - update to 1.5.2

9
maxminddb_config.h Normal file
View File

@ -0,0 +1,9 @@
#include <bits/wordsize.h>
#if __WORDSIZE == 32
#include <maxminddb_config-32.h>
#elif __WORDSIZE == 64
#include <maxminddb_config-64.h>
#else
#error "Unknown word size"
#endif