commit memcached for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package memcached for openSUSE:Factory checked in at 2021-07-02 13:26:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/memcached (Old) and /work/SRC/openSUSE:Factory/.memcached.new.2625 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "memcached" Fri Jul 2 13:26:23 2021 rev:51 rq:902722 version:1.6.9 Changes: -------- --- /work/SRC/openSUSE:Factory/memcached/memcached.changes 2020-12-08 13:25:24.770677205 +0100 +++ /work/SRC/openSUSE:Factory/.memcached.new.2625/memcached.changes 2021-07-02 13:26:31.381200085 +0200 @@ -1,0 +2,5 @@ +Fri Jun 4 13:18:29 UTC 2021 - Callum Farmer <gmbr3@opensuse.org> + +- Change to using systemd-sysusers + +------------------------------------------------------------------- New: ---- system-user-memcached.conf ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ memcached.spec ++++++ --- /var/tmp/diff_new_pack.99BgPg/_old 2021-07-02 13:26:31.829196609 +0200 +++ /var/tmp/diff_new_pack.99BgPg/_new 2021-07-02 13:26:31.833196578 +0200 @@ -39,6 +39,7 @@ Source2: %{name}.sysconfig Source3: memcached-rpmlintrc Source4: memcached.service +Source5: system-user-memcached.conf BuildRequires: autoconf BuildRequires: automake BuildRequires: cyrus-sasl-devel @@ -52,8 +53,13 @@ %endif BuildRequires: pkgconfig Requires(pre): %fillup_prereq +%if 0%{?suse_version} >= 1500 +BuildRequires: sysuser-tools +%sysusers_requires +%else Requires(pre): %{_sbindir}/groupadd Requires(pre): %{_sbindir}/useradd +%endif Conflicts: memcached-unstable %if 0%{?suse_version} > 1210 BuildRequires: systemd-rpm-macros @@ -98,6 +104,9 @@ --bindir=%{_sbindir} make %{?_smp_mflags} +%if 0%{?suse_version} >= 1500 +%sysusers_generate_pre %{SOURCE5} memcached system-user-memcached.conf +%endif %install %make_install @@ -111,16 +120,24 @@ install -D -m 0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/init.d/%{name} ln -s ../..%{_sysconfdir}/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name} %endif +%if 0%{?suse_version} >= 1500 +mkdir -p %{buildroot}%{_sysusersdir} +install -m 0644 %{SOURCE5} %{buildroot}%{_sysusersdir}/ +%endif %check make %{?_smp_mflags} test +%if 0%{?suse_version} >= 1500 +%pre -f memcached.pre +%else %pre getent group %{name} >/dev/null || \ %{_sbindir}/groupadd -r %{name} getent passwd %{name} >/dev/null || \ %{_sbindir}/useradd -g %{name} -s /bin/false -r \ -c "user for %{name}" -d %{_localstatedir}/lib/%{name} %{name} +%endif %if 0%{?suse_version} > 1210 %service_add_pre %{name}.service %endif @@ -162,6 +179,9 @@ %endif %{_fillupdir}/sysconfig.%{name} %dir %attr(751,root,root) %{_localstatedir}/lib/%{name} +%if 0%{?suse_version} >= 1500 +%{_sysusersdir}/system-user-memcached.conf +%endif %files devel %doc AUTHORS ChangeLog NEWS doc/*.txt ++++++ system-user-memcached.conf ++++++ #Type Name ID GECOS Home directory Shell u memcached - "user for memcached" /var/lib/memcached -
participants (1)
-
Source-Sync