summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-10-19 09:17:02 +0200
committerRemi Collet <remi@remirepo.net>2020-10-19 09:17:02 +0200
commitbda29a043669899d2c6baeb6b5bad56660bb76b4 (patch)
tree8b9f145db65bb9a9df0e1a715f017de962f73d4c
parentc2ad2a65e923a71805211a0d26c88a4796b97cc1 (diff)
v1.1.12
-rw-r--r--php-alcaeus-mongo-php-adapter.spec17
1 files changed, 11 insertions, 6 deletions
diff --git a/php-alcaeus-mongo-php-adapter.spec b/php-alcaeus-mongo-php-adapter.spec
index bfa2015..24b4a8d 100644
--- a/php-alcaeus-mongo-php-adapter.spec
+++ b/php-alcaeus-mongo-php-adapter.spec
@@ -6,17 +6,19 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit 43b6add94c8b4cb9890d662cba4c0defde733dcf
+
+# disabled for https://fedoraproject.org/wiki/Changes/MongoDB_Removal
+%bcond_with tests
+
+%global gh_commit 17f31fffdf3641a4905bca224bc7662c3032fd50
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner alcaeus
%global gh_project mongo-php-adapter
-# disabled for https://fedoraproject.org/wiki/Changes/MongoDB_Removal
-%global with_tests 0%{?_with_tests:1}
%global ns_vendor Alcaeus
Name: php-%{gh_owner}-%{gh_project}
-Version: 1.1.11
+Version: 1.1.12
Release: 1%{?dist}
Summary: Mongo PHP Adapter
@@ -27,7 +29,7 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit
BuildArch: noarch
BuildRequires: php-fedora-autoloader-devel
BuildRequires: php(language) >= 5.6
-%if %{with_tests}
+%if %{with tests}
BuildRequires: php-ctype
BuildRequires: php-hash
BuildRequires: php-composer(mongodb/mongodb) >= 1.0.1
@@ -108,7 +110,7 @@ cp -pr lib/%{ns_vendor} %{buildroot}%{_datadir}/php/%{ns_vendor}
%check
-%if %{with_tests}
+%if %{with tests}
cat << 'EOF' | tee bs.php
<?php
require '%{buildroot}%{_datadir}/php/%{ns_vendor}/MongoDbAdapter/autoload.php';
@@ -150,6 +152,9 @@ exit $ret
%changelog
+* Mon Oct 19 2020 Remi Collet <remi@remirepo.net> - 1.1.12-1
+- update to 1.1.12
+
* Tue Nov 12 2019 Remi Collet <remi@remirepo.net> - 1.1.11-1
- update to 1.1.11