Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package geoipupdate for openSUSE:Factory 
checked in at 2026-04-29 19:20:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/geoipupdate (Old)
 and      /work/SRC/openSUSE:Factory/.geoipupdate.new.30200 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "geoipupdate"

Wed Apr 29 19:20:22 2026 rev:31 rq:1349965 version:7.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/geoipupdate/geoipupdate.changes  2025-07-28 
14:59:46.134322962 +0200
+++ /work/SRC/openSUSE:Factory/.geoipupdate.new.30200/geoipupdate.changes       
2026-04-29 19:21:54.819081973 +0200
@@ -1,0 +2,7 @@
+Tue Apr 28 08:33:15 UTC 2026 - Valentin Lefebvre <[email protected]>
+
+- Move config files in systemd tmpfiles dir for immutable mode
+  (jsc#PED-14905).
+  * Add geoipupdate.tmpfiles
+
+-------------------------------------------------------------------

New:
----
  geoipupdate.tmpfiles

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

Other differences:
------------------
++++++ geoipupdate.spec ++++++
--- /var/tmp/diff_new_pack.S2jxsu/_old  2026-04-29 19:21:55.455108005 +0200
+++ /var/tmp/diff_new_pack.S2jxsu/_new  2026-04-29 19:21:55.459108169 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package geoipupdate
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -29,6 +29,7 @@
 Source3:        geoipupdate.service
 Source4:        geoipupdate-legacy
 Source5:        README.SUSE
+Source6:        %{name}.tmpfiles
 Patch0:         disable-pandoc.patch
 %if 0%{?suse_version} >= 1500
 # Build-time parameters
@@ -74,18 +75,23 @@
 install -D -m0755 %{SOURCE4}              
%{buildroot}%{_bindir}/geoipupdate-legacy
 install -D -m0644 %{SOURCE5}              
%{buildroot}%{_docdir}/geoipupdate/README.SUSE
 install -D -m0644 conf/GeoIP.conf.default %{buildroot}%{_sysconfdir}/GeoIP.conf
-install -d -m0755 %{buildroot}%{_localstatedir}/lib/GeoIP
 sed -ri \
  -e 's|YOUR_ACCOUNT_ID_HERE|999999|' \
  -e 's|YOUR_LICENSE_KEY_HERE|000000000000|' \
  -e '/^(#\s*)?DatabaseDirectory/ 
s|^(#\s*)?(\w+\s*).+$|\2%{_localstatedir}/lib/GeoIP|' \
  %{buildroot}%{_sysconfdir}/GeoIP.conf
+# tmpfiles for immutable mode
+mkdir %{buildroot}%{_tmpfilesdir}
+install -m 0644 %{SOURCE6} %{buildroot}%{_tmpfilesdir}/%{name}.conf
 
 %if 0%{?suse_version} >= 1500
 %pre
 %service_add_pre %{name}.service %{name}.timer
 
+%endif
 %post
+%tmpfiles_create %{name}.conf
+%if 0%{?suse_version} >= 1500
 %service_add_post %{name}.service %{name}.timer
 
 %preun
@@ -98,7 +104,8 @@
 %files
 %license LICENSE-*
 %attr(0600,root,root) %config(noreplace) %{_sysconfdir}/GeoIP.conf
-%dir %{_localstatedir}/lib/GeoIP
+%ghost %attr(0755,root,root) %dir %{_localstatedir}/lib/GeoIP
+%{_tmpfilesdir}/%{name}.conf
 %if 0%{?suse_version} >= 1500
 %doc README.md README.SUSE build/geoipupdate.md build/GeoIP.conf.md
 %{_bindir}/geoipupdate

++++++ geoipupdate.tmpfiles ++++++
d /var/lib/GeoIP 0755 - - -

Reply via email to