Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9e9cf4bdbf |
3 changed files with 17 additions and 9 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -9,3 +9,4 @@ clog
|
||||||
/php-maxminddb-1.10.0-07f84d9.tgz
|
/php-maxminddb-1.10.0-07f84d9.tgz
|
||||||
/php-maxminddb-1.10.1-569bd44.tgz
|
/php-maxminddb-1.10.1-569bd44.tgz
|
||||||
/php-maxminddb-1.11.0-f7cc1a1.tgz
|
/php-maxminddb-1.11.0-f7cc1a1.tgz
|
||||||
|
/php-maxminddb-1.11.1-1e66f73.tgz
|
||||||
|
|
|
||||||
|
|
@ -3,13 +3,13 @@
|
||||||
#
|
#
|
||||||
# remirepo spec file for php-maxminddb
|
# remirepo spec file for php-maxminddb
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018-2021 Remi Collet
|
# Copyright (c) 2018-2023 Remi Collet
|
||||||
# License: CC-BY-SA
|
# License: CC-BY-SA-4.0
|
||||||
# http://creativecommons.org/licenses/by-sa/4.0/
|
# http://creativecommons.org/licenses/by-sa/4.0/
|
||||||
#
|
#
|
||||||
# Please, preserve the changelog entries
|
# Please, preserve the changelog entries
|
||||||
#
|
#
|
||||||
%global gh_commit f7cc1a1472868f25a02636c99d1054232292bc26
|
%global gh_commit 1e66f73ffcf25e17c7a910a1317e9720a95497c7
|
||||||
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
|
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
|
||||||
%global gh_owner maxmind
|
%global gh_owner maxmind
|
||||||
%global gh_project MaxMind-DB-Reader-php
|
%global gh_project MaxMind-DB-Reader-php
|
||||||
|
|
@ -28,9 +28,9 @@
|
||||||
|
|
||||||
Summary: MaxMind DB Reader extension
|
Summary: MaxMind DB Reader extension
|
||||||
Name: php-maxminddb
|
Name: php-maxminddb
|
||||||
Version: 1.11.0
|
Version: 1.11.1
|
||||||
Release: 7%{?dist}
|
Release: 1%{?dist}
|
||||||
License: ASL 2.0
|
License: Apache-2.0
|
||||||
URL: https://github.com/%{gh_owner}/%{gh_project}
|
URL: https://github.com/%{gh_owner}/%{gh_project}
|
||||||
|
|
||||||
Source0: %{name}-%{version}-%{gh_short}.tgz
|
Source0: %{name}-%{version}-%{gh_short}.tgz
|
||||||
|
|
@ -94,7 +94,7 @@ Recommends: php-bcmath
|
||||||
Recommends: php-gmp
|
Recommends: php-gmp
|
||||||
Recommends: php-maxminddb
|
Recommends: php-maxminddb
|
||||||
# from composer.json "conflict": {
|
# from composer.json "conflict": {
|
||||||
# "ext-maxminddb": "<1.10.0,>=2.0.0"
|
# "ext-maxminddb": "<1.11.1,>=2.0.0"
|
||||||
Conflicts: php-maxminddb < %{version}
|
Conflicts: php-maxminddb < %{version}
|
||||||
# Weak dependencies on databases
|
# Weak dependencies on databases
|
||||||
Recommends: geolite2-country
|
Recommends: geolite2-country
|
||||||
|
|
@ -102,6 +102,8 @@ Suggests: geolite2-city
|
||||||
# From phpcompatifo report for 1.3.0
|
# From phpcompatifo report for 1.3.0
|
||||||
Requires: php-filter
|
Requires: php-filter
|
||||||
Requires: php-spl
|
Requires: php-spl
|
||||||
|
# Autoloader
|
||||||
|
Requires: php-composer(fedora/autoloader)
|
||||||
|
|
||||||
Provides: php-composer(%{pk_vendor}/%{pk_project}) = %{version}
|
Provides: php-composer(%{pk_vendor}/%{pk_project}) = %{version}
|
||||||
|
|
||||||
|
|
@ -224,7 +226,7 @@ REPORT_EXIT_STATUS=1 \
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
cd ..
|
cd ..
|
||||||
: Upstream test suite for the library
|
: Upstream test suite for the library
|
||||||
for cmd in php php72 php73 php74 php80 php81; do
|
for cmd in php php80 php81 php82 php83; do
|
||||||
if which $cmd; then
|
if which $cmd; then
|
||||||
$cmd %{_bindir}/phpunit8 \
|
$cmd %{_bindir}/phpunit8 \
|
||||||
--bootstrap %{buildroot}%{_datadir}/php/MaxMind/Db/Reader/autoload.php \
|
--bootstrap %{buildroot}%{_datadir}/php/MaxMind/Db/Reader/autoload.php \
|
||||||
|
|
@ -264,6 +266,11 @@ exit $ret
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 4 2023 Remi Collet <remi@remirepo.net> - 1.11.1-1
|
||||||
|
- update to 1.11.1
|
||||||
|
- add missing dependency on fedora/autoloader
|
||||||
|
- use SPDX license ID
|
||||||
|
|
||||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.0-7
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.0-7
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
|
|
||||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
||||||
SHA512 (php-maxminddb-1.11.0-f7cc1a1.tgz) = d0d7ce79ed152ba9277997515cade9a8c7a043d1a23a27e6838ad48b3e4f8854327356f3a1d30dff156a203ec65329d3f1d936a26a1e9ee5ae87c4ff400f2997
|
SHA512 (php-maxminddb-1.11.1-1e66f73.tgz) = 4d38bfca7b3b215ce01e306be1c3771dec9c83728026915faa98c6e51595181ade29ede6709fd71a22439cad23c808a55c0d459c6c56eb4638d8378bb34a4106
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue