Hello community,

here is the log from the commit of package GeoIP for openSUSE:Factory checked 
in at 2018-08-28 09:22:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/GeoIP (Old)
 and      /work/SRC/openSUSE:Factory/.GeoIP.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "GeoIP"

Tue Aug 28 09:22:23 2018 rev:34 rq:630724 version:1.6.12

Changes:
--------
--- /work/SRC/openSUSE:Factory/GeoIP/GeoIP.changes      2018-03-16 
10:35:08.490205121 +0100
+++ /work/SRC/openSUSE:Factory/.GeoIP.new/GeoIP.changes 2018-08-28 
09:22:54.988541962 +0200
@@ -1,0 +2,10 @@
+Wed Aug  1 12:38:24 UTC 2018 - [email protected]
+
+- can't package database in /var/lib/GeoIP anymore as it breaks with
+  transactional updates (boo#1093352). Ideally one would put the
+  static version in /usr/share with the files in /var overriding
+  that. Since GeoIP is considered deprecated in favor of
+  libmaxminddb anyways, we'll just ship GeoIP-data as empty shell to
+  own the files for uninstall.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ GeoIP.spec ++++++
--- /var/tmp/diff_new_pack.vrQ0xv/_old  2018-08-28 09:22:55.608543896 +0200
+++ /var/tmp/diff_new_pack.vrQ0xv/_new  2018-08-28 09:22:55.612543908 +0200
@@ -52,8 +52,9 @@
 BuildArch:      noarch
 
 %description data
-This package includes GeoLite data created by MaxMind, available from
-http://www.maxmind.com
+This package does not actually contain any data. It only exists to
+give ownership the database files you can fetch using
+"geoip-fetch".
 
 %package -n lib%{name}1
 Summary:        Shared libraries of the GeoIP C API
@@ -112,7 +113,8 @@
 %make_install
 
 install -d %{buildroot}%{_localstatedir}/lib/GeoIP 
%{buildroot}%{_prefix}/lib/geoip/
-install data/* %{buildroot}%{_localstatedir}/lib/GeoIP/
+# can't actually ship stuff in /var anymore boo#1093352
+#install data/* %{buildroot}%{_localstatedir}/lib/GeoIP/
 #
 g++ %{optflags} -I %{buildroot}%{_includedir} -L %{buildroot}%{_libdir} -o 
%{buildroot}%{_prefix}/lib/geoip/geoip-generator     %{SOURCE5} -lGeoIP
 g++ %{optflags} -I %{buildroot}%{_includedir} -L %{buildroot}%{_libdir} -o 
%{buildroot}%{_prefix}/lib/geoip/geoip-generator-asn %{SOURCE6} -lGeoIP
@@ -122,13 +124,6 @@
 # install fetcher
 install -Dpm 0755 %{SOURCE3} %{buildroot}%{_sbindir}/geoip-fetch
 
-%if 0%{?suse_version} < 1300
-# Reset files that will be packaged as %%ghost (needed for old rpm)
-echo -n '' >%{buildroot}/%{_localstatedir}/lib/%{name}/GeoIPASNum.dat
-echo -n '' >%{buildroot}/%{_localstatedir}/lib/%{name}/GeoIPCity.dat
-echo -n '' >%{buildroot}/%{_localstatedir}/lib/%{name}/GeoIPv6.dat
-%endif
-
 %check
 # as tests require a running network OBS can not run it
 %if 0%{?with_tests}
@@ -150,10 +145,8 @@
 %{_prefix}/lib/geoip/
 
 %files data
-%license LICENSE
-%doc AUTHORS
 %dir %{_localstatedir}/lib/%{name}
-%verify(not md5 size mtime) %{_localstatedir}/lib/%{name}/GeoIP.dat
+%ghost %{_localstatedir}/lib/%{name}/GeoIP.dat
 %ghost %{_localstatedir}/lib/%{name}/GeoIPASNum.dat
 %ghost %{_localstatedir}/lib/%{name}/GeoIPCity.dat
 %ghost %{_localstatedir}/lib/%{name}/GeoIPv6.dat


Reply via email to