Upgrade to 1.7.1

This commit is contained in:
li-long315 2023-02-17 13:54:32 +08:00
parent a1c465fe76
commit 8a6f417d8c
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
@ -64,11 +67,14 @@ LD_PRELOAD=%{buildroot}%{_libdir}/libmaxminddb.so make check
%{_libdir}/pkgconfig/libmaxminddb.pc %{_libdir}/pkgconfig/libmaxminddb.pc
%files help %files help
%doc Changes.md %doc Changes.md
%{_mandir}/man1/* %{_mandir}/man1/*
%{_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