Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package NetworkManager-iodine for
openSUSE:Factory checked in at 2022-02-22 21:17:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/NetworkManager-iodine (Old)
and /work/SRC/openSUSE:Factory/.NetworkManager-iodine.new.1958 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "NetworkManager-iodine"
Tue Feb 22 21:17:53 2022 rev:7 rq:956512 version:1.2.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/NetworkManager-iodine/NetworkManager-iodine.changes
2020-05-02 22:14:44.564209909 +0200
+++
/work/SRC/openSUSE:Factory/.NetworkManager-iodine.new.1958/NetworkManager-iodine.changes
2022-02-22 21:18:13.358286576 +0100
@@ -1,0 +2,6 @@
+Sat Feb 19 17:51:33 UTC 2022 - Callum Farmer <[email protected]>
+
+- Create nm-iodine user (by systemd-sysusers)
+- Update Supplements to new format
+
+-------------------------------------------------------------------
New:
----
system-user-nm-iodine.conf
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ NetworkManager-iodine.spec ++++++
--- /var/tmp/diff_new_pack.1AmBAq/_old 2022-02-22 21:18:13.914286678 +0100
+++ /var/tmp/diff_new_pack.1AmBAq/_new 2022-02-22 21:18:13.918286679 +0100
@@ -25,7 +25,9 @@
Group: Productivity/Networking/System
URL: https://honk.sigxcpu.org/piki/projects/network-manager-iodine/
Source0:
http://download.gnome.org/sources/NetworkManager-iodine/1.2/%{name}-%{version}.tar.xz
+Source1: system-user-nm-iodine.conf
BuildRequires: intltool
+BuildRequires: sysuser-tools
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gtk+-3.0) >= 2.91.4
BuildRequires: pkgconfig(libnm) >= 1.1.0
@@ -33,7 +35,7 @@
BuildRequires: pkgconfig(libsecret-1)
Requires: NetworkManager >= 1.1.0
Requires: iodine >= 0.6.0rc1
-Supplements: packageand(NetworkManager:iodine)
+Supplements: (NetworkManager and iodine)
%description
A network manager VPN plugin that allows you to tunnel your connection
@@ -44,7 +46,7 @@
Summary: NetworkManager VPN support for iodine
Group: Productivity/Networking/System
Requires: %{name} = %{version}-%{release}
-Supplements: packageand(NetworkManager-gnome:iodine)
+Supplements: (NetworkManager-gnome and iodine)
%description gnome
A network manager VPN plugin that allows you to tunnel your connection
@@ -57,6 +59,7 @@
%setup -q
%build
+%sysusers_generate_pre %{SOURCE1} %{name} %{name}.conf
%configure \
--disable-static \
--disable-more-warnings \
@@ -66,12 +69,16 @@
%install
%make_install
+install -Dm0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/%{name}.conf
%find_lang %{name} %{?no_lang_C}
find %{buildroot} -type f -name "*.la" -delete -print
+%pre -f %{name}.pre
+
%files
%license COPYING
%doc AUTHORS NEWS
+%{_sysusersdir}/%{name}.conf
%{_libdir}/NetworkManager/libnm-vpn-plugin-iodine.so
%{_vpnservicedir}/nm-iodine-service.name
%{_libexecdir}/nm-iodine-service
++++++ system-user-nm-iodine.conf ++++++
#Type Name ID GECOS Home directory Shell
u nm-iodine - "NetworkManager user for iodine" /var/lib/nm-iodine -