Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package memcached for openSUSE:Factory checked in at 2024-02-27 22:44:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/memcached (Old) and /work/SRC/openSUSE:Factory/.memcached.new.1770 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "memcached" Tue Feb 27 22:44:04 2024 rev:64 rq:1151132 version:1.6.23 Changes: -------- --- /work/SRC/openSUSE:Factory/memcached/memcached.changes 2024-01-30 18:24:25.295791598 +0100 +++ /work/SRC/openSUSE:Factory/.memcached.new.1770/memcached.changes 2024-02-27 22:44:05.761287105 +0100 @@ -1,0 +2,11 @@ +Mon Feb 19 01:06:31 UTC 2024 - Georg Pfuetzenreuter <georg.pfuetzenreu...@suse.com> + +- Drop obsolete rpmlint filter + +------------------------------------------------------------------- +Mon Feb 19 00:10:25 UTC 2024 - Georg Pfuetzenreuter <georg.pfuetzenreu...@suse.com> + +- Create /run/memcached as a location for sockets +- Use conditionals for sysusers/tmpfiles + +------------------------------------------------------------------- Old: ---- memcached-rpmlintrc system-user-memcached.conf New: ---- memcached-sysusers.conf memcached-tmpfiles.conf ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ memcached.spec ++++++ --- /var/tmp/diff_new_pack.EF2MgG/_old 2024-02-27 22:44:06.649319297 +0100 +++ /var/tmp/diff_new_pack.EF2MgG/_new 2024-02-27 22:44:06.653319442 +0100 @@ -25,6 +25,13 @@ %else %bcond_with tls %endif +%if 0%{?suse_version} >= 1500 +%bcond_without sysusers +%bcond_without tmpfiles +%else +%bcond_with sysusers +%bcond_with tmpfiles +%endif Name: memcached Version: 1.6.23 Release: 0 @@ -34,9 +41,9 @@ URL: https://memcached.org/ Source: https://www.memcached.org/files/%{name}-%{version}.tar.gz Source2: %{name}.sysconfig -Source3: memcached-rpmlintrc Source4: memcached.service -Source5: system-user-memcached.conf +Source5: %{name}-sysusers.conf +Source6: %{name}-tmpfiles.conf Patch0: harden_memcached.service.patch BuildRequires: autoconf BuildRequires: automake @@ -52,7 +59,7 @@ BuildRequires: perl-IO-Socket-SSL BuildRequires: perl-Net-SSLeay %endif -%if 0%{?suse_version} >= 1500 +%if %{with sysusers} BuildRequires: sysuser-tools %sysusers_requires %else @@ -102,8 +109,8 @@ %endif %make_build -%if 0%{?suse_version} >= 1500 -%sysusers_generate_pre %{SOURCE5} memcached system-user-memcached.conf +%if %{with sysusers} +%sysusers_generate_pre %{SOURCE5} %{name} %{name}-user.conf %endif %install @@ -114,15 +121,17 @@ install -d -m 755 %{buildroot}%{_sbindir} ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name} install -D -m 0644 %{SOURCE4} %{buildroot}%{_unitdir}/%{name}.service -%if 0%{?suse_version} >= 1500 -mkdir -p %{buildroot}%{_sysusersdir} -install -m 0644 %{SOURCE5} %{buildroot}%{_sysusersdir}/ +%if %{with sysusers} +install -D -m 0644 %{SOURCE5} %{buildroot}%{_sysusersdir}/%{name}-user.conf +%endif +%if %{with tmpfiles} +install -D -m 0644 %{SOURCE6} %{buildroot}%{_tmpfilesdir}/%{name}.conf %endif %check %make_build test -%if 0%{?suse_version} >= 1500 +%if %{with sysusers} %pre -f memcached.pre %else @@ -138,6 +147,9 @@ %post %service_add_post %{name}.service %fillup_only %{name} +%if %{with tmpfiles} +%tmpfiles_create %{_tmpfilesdir}/%{name}.conf +%endif %preun %service_del_preun %{name}.service @@ -155,8 +167,12 @@ %{_unitdir}/%{name}.service %{_fillupdir}/sysconfig.%{name} %dir %attr(751,root,root) %{_localstatedir}/lib/%{name} -%if 0%{?suse_version} >= 1500 -%{_sysusersdir}/system-user-memcached.conf +%if %{with sysusers} +%{_sysusersdir}/%{name}-user.conf +%endif +%if %{with tmpfiles} +%{_tmpfilesdir}/%{name}.conf +%dir %ghost %{_rundir}/%{name} %endif %files devel ++++++ memcached-sysusers.conf ++++++ u memcached - "user for memcached" /var/lib/memcached - ++++++ memcached-tmpfiles.conf ++++++ D /run/memcached 0750 memcached memcached