Hello community,

here is the log from the commit of package php7-geoip for openSUSE:Factory 
checked in at 2018-04-20 17:32:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/php7-geoip (Old)
 and      /work/SRC/openSUSE:Factory/.php7-geoip.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "php7-geoip"

Fri Apr 20 17:32:14 2018 rev:2 rq:599205 version:1.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/php7-geoip/php7-geoip.changes    2017-04-20 
20:49:12.590727825 +0200
+++ /work/SRC/openSUSE:Factory/.php7-geoip.new/php7-geoip.changes       
2018-04-20 17:34:07.580407626 +0200
@@ -1,0 +2,7 @@
+Fri Apr 20 08:07:25 UTC 2018 - jweberho...@weberhofer.at
+
+- Use default php packaging process
+- Enabled -fvisibility=hidden
+- added %license
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ php7-geoip.spec ++++++
--- /var/tmp/diff_new_pack.jTbad3/_old  2018-04-20 17:34:08.268382677 +0200
+++ /var/tmp/diff_new_pack.jTbad3/_new  2018-04-20 17:34:08.272382531 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package php7-geoip
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -50,20 +50,10 @@
 %patch0
 
 %build
-mkdir %{name}
+export CFLAGS="%{optflags} -fvisibility=hidden"
 %{_bindir}/phpize
-pushd %{name}
-export CFLAGS="%{optflags}"
-../configure --with-geoip=%{_usr} --with-libdir=%{_lib}
+%configure --with-geoip=%{_usr}
 make %{?_smp_mflags}
-popd
-
-%install
-make DESTDIR=%{buildroot} install %{?_smp_mflags} -C %{name} 
INSTALL_ROOT=%{buildroot}
-mkdir -p %{buildroot}%{_sysconfdir}/%{php_name}/conf.d
-echo "; comment out next line to disable geoip extension in php" > 
%{buildroot}%{_sysconfdir}/%{php_name}/conf.d/geoip.ini
-echo 'extension = geoip.so' >> 
%{buildroot}%{_sysconfdir}/%{php_name}/conf.d/geoip.ini
-echo 'geoip.database_standard = %{_datadir}/GeoIP/GeoIP.dat' >> 
%{buildroot}%{_sysconfdir}/%{php_name}/conf.d/geoip.ini
 
 %check
 # only check if the extension can be loaded
@@ -72,17 +62,18 @@
     --define extension=%{buildroot}%{_libdir}/%{php_name}/extensions/geoip.so \
     --modules | grep geoip
 
-if [ -x %{_bindir}/zts-php ] ; then
-%{_bindir}/zts-php \
-    --no-php-ini \
-    --define extension=%{buildroot}%{_libdir}/%{php_name}/extensions/geoip.so \
-    --modules | grep geoip
-fi
+%install
+make DESTDIR=%{buildroot} install INSTALL_ROOT=%{buildroot}
+mkdir -p %{buildroot}%{_sysconfdir}/%{php_name}/conf.d
+echo "; comment out next line to disable geoip extension in php" > 
%{buildroot}%{_sysconfdir}/%{php_name}/conf.d/geoip.ini
+echo 'extension = geoip.so' >> 
%{buildroot}%{_sysconfdir}/%{php_name}/conf.d/geoip.ini
+echo 'geoip.database_standard = /var/lib/GeoIP/GeoIP.dat' >> 
%{buildroot}%{_sysconfdir}/%{php_name}/conf.d/geoip.ini
 
 %files
 %defattr(-,root,root,-)
 %{_libdir}/%{php_name}/extensions/geoip.so
 %config(noreplace) %{_sysconfdir}/%{php_name}/conf.d/geoip.ini
 %doc README ChangeLog
+%license LICENSE
 
 %changelog


Reply via email to