From ac92a64009e04533937654bc725ae7a172f48d002144d2aa8b648e7ea62504bb Mon Sep 17 00:00:00 2001
From: Petr Gajdos <pgajdos@suse.com>
Date: Sun, 9 Feb 2020 20:55:31 +0000
Subject: [PATCH] - removing %apache_test_* macros, do not test module just by 
  loading the module

OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_maxminddb?expand=0&rev=6
---
 apache2-mod_maxminddb.changes | 6 ++++++
 apache2-mod_maxminddb.spec    | 7 +------
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/apache2-mod_maxminddb.changes b/apache2-mod_maxminddb.changes
index e0a75d1..a81b0dc 100644
--- a/apache2-mod_maxminddb.changes
+++ b/apache2-mod_maxminddb.changes
@@ -1,3 +1,9 @@
+-------------------------------------------------------------------
+Sun Feb  9 20:55:12 UTC 2020 - pgajdos@suse.com
+
+- removing %apache_test_* macros, do not test module just by
+  loading the module
+
 -------------------------------------------------------------------
 Thu Oct 17 13:20:53 UTC 2019 - Richard Brown <rbrown@suse.com>
 
diff --git a/apache2-mod_maxminddb.spec b/apache2-mod_maxminddb.spec
index e98cb34..c4ead5e 100644
--- a/apache2-mod_maxminddb.spec
+++ b/apache2-mod_maxminddb.spec
@@ -1,7 +1,7 @@
 #
 # spec file for package apache2-mod_maxminddb
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -51,11 +51,6 @@ autoreconf
 %configure
 make %{?_smp_mflags}
 
-%check
-set +x
-%apache_test_module_load -m maxminddb -i test-enable-module.conf
-set -x
-
 %install
 mkdir -p %{buildroot}/%{apache_libexecdir}
 cp -p src/.libs/%{modname}.so %{buildroot}/%{apache_libexecdir}