!8 Upgrade to 1.7.1
From: @li-long315 Reviewed-by: @dillon_chen Signed-off-by: @dillon_chen
This commit is contained in:
commit
fb396356d8
Binary file not shown.
BIN
libmaxminddb-1.7.1.tar.gz
Normal file
BIN
libmaxminddb-1.7.1.tar.gz
Normal file
Binary file not shown.
@ -1,12 +1,14 @@
|
||||
Name: libmaxminddb
|
||||
Version: 1.5.2
|
||||
Version: 1.7.1
|
||||
Release: 1
|
||||
Summary: C library for working with MaxMind DB files
|
||||
License: ASL 2.0 and BSD
|
||||
URL: https://github.com/maxmind/libmaxminddb
|
||||
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
|
||||
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.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
%setup -q
|
||||
autoreconf --force --install
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
@ -69,6 +72,9 @@ LD_PRELOAD=%{buildroot}%{_libdir}/libmaxminddb.so make check
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%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
|
||||
- update to 1.5.2
|
||||
|
||||
|
||||
9
maxminddb_config.h
Normal file
9
maxminddb_config.h
Normal 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
|
||||
Loading…
x
Reference in New Issue
Block a user