Hello community,

here is the log from the commit of package apache2-mod_maxminddb for 
openSUSE:Factory checked in at 2019-10-07 13:50:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apache2-mod_maxminddb (Old)
 and      /work/SRC/openSUSE:Factory/.apache2-mod_maxminddb.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "apache2-mod_maxminddb"

Mon Oct  7 13:50:27 2019 rev:2 rq:735648 version:1.1.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/apache2-mod_maxminddb/apache2-mod_maxminddb.changes  
    2018-05-29 16:49:38.381636077 +0200
+++ 
/work/SRC/openSUSE:Factory/.apache2-mod_maxminddb.new.2352/apache2-mod_maxminddb.changes
    2019-10-07 14:14:32.942818506 +0200
@@ -1,0 +2,6 @@
+Mon Oct  7 09:44:02 UTC 2019 - Johannes Weberhofer <[email protected]>
+
+- Added autoreconf to allow building on factory version
+- Added apache2-mod_maxminddb-build.patch to make it buildable on opensuse 
fatory again.
+  Does not build with LDFLAGS="-flto=8"
+-------------------------------------------------------------------

New:
----
  apache2-mod_maxminddb-build.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ apache2-mod_maxminddb.spec ++++++
--- /var/tmp/diff_new_pack.lFw6fy/_old  2019-10-07 14:14:33.282817573 +0200
+++ /var/tmp/diff_new_pack.lFw6fy/_new  2019-10-07 14:14:33.286817562 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package apache2-mod_maxminddb
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -26,8 +26,11 @@
 URL:            https://maxmind.github.io/mod_maxminddb/
 Source:         
https://github.com/maxmind/mod_maxminddb/releases/download/%{version}/mod_maxminddb-%{version}.tar.gz
 Source2:        %{modname}.conf
+# PATCH-FIX-OPENSUSE apache2-mod_maxminddb-build.patch -- Fix built on factory 
versions
+Patch1:         apache2-mod_maxminddb-build.patch
 BuildRequires:  apache-rpm-macros
 BuildRequires:  apache2-devel
+BuildRequires:  automake
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(libmaxminddb)
 Requires:       %{apache_mmn}
@@ -39,11 +42,13 @@
 
 %prep
 %setup -q -n %{modname}-%{version}
+%patch1 -p1
 # This config file is used for loading the module without
 # enabling any databases which are not available on OBS
 echo "MaxMindDBEnable On" > test-enable-module.conf
 
 %build
+autoreconf
 %configure
 make %{?_smp_mflags}
 

++++++ apache2-mod_maxminddb-build.patch ++++++
diff -ur mod_maxminddb-1.1.0-orig/src/Makefile.am 
mod_maxminddb-1.1.0/src/Makefile.am
--- mod_maxminddb-1.1.0-orig/src/Makefile.am    2014-11-18 00:00:15.000000000 
+0100
+++ mod_maxminddb-1.1.0/src/Makefile.am 2019-10-07 11:29:38.515732542 +0200
@@ -6,7 +6,7 @@
 
 #   compile the DSO file
 module: mod_maxminddb.c $(TARGET)
-       $(APXS) -c $(LDFLAGS) $(LIBMAXMINDDB_LDFLAGS) $(LIBS) $(WC) 
$(APXS_LDFLAGS) mod_maxminddb.c
+       $(APXS) -c $(LIBMAXMINDDB_LDFLAGS) $(LIBS) $(WC) $(APXS_LDFLAGS) 
mod_maxminddb.c
 
 install-exec-local: module
        $(APXS) -i -a -n maxminddb .libs/mod_maxminddb.so

Reply via email to