Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sphinx for openSUSE:Factory checked 
in at 2022-05-23 15:51:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sphinx (Old)
 and      /work/SRC/openSUSE:Factory/.sphinx.new.2254 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sphinx"

Mon May 23 15:51:54 2022 rev:7 rq:978621 version:2.2.11

Changes:
--------
--- /work/SRC/openSUSE:Factory/sphinx/sphinx.changes    2022-01-29 
21:00:04.147486015 +0100
+++ /work/SRC/openSUSE:Factory/.sphinx.new.2254/sphinx.changes  2022-05-23 
15:52:00.438661177 +0200
@@ -1,0 +2,5 @@
+Thu May 12 12:39:57 UTC 2022 - Jan Engelhardt <jeng...@inai.de>
+
+- Add permissions on /var/log/sphinx so it can create searchd.log.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ sphinx.spec ++++++
--- /var/tmp/diff_new_pack.TXUokl/_old  2022-05-23 15:52:00.982661690 +0200
+++ /var/tmp/diff_new_pack.TXUokl/_new  2022-05-23 15:52:00.986661694 +0200
@@ -89,9 +89,12 @@
 Sphinx search engine, http://sphinxsearch.com/
 
 
+
+
 # Comment
 # we don't package api language java,ruby,php,python
 # upstream don't recommend their usage.
+
 %prep
 %setup -q -n "%{name}-%{version}-release"
 %autopatch -p1
@@ -110,11 +113,11 @@
     --with-pgsql-includes="${pg_includes}" \
     --with-pgsql-libs="%{_libdir}"
 
-make %{?_smp_mflags} VERBOSE=1
+%make_build VERBOSE=1
 
 pushd api/libsphinxclient
  %configure --sysconfdir=%{_sysconfdir}/%{name}/
- make VERBOSE=1 # Not supported upstream %%{?_smp_mflags}
+ %make_build VERBOSE=1 -j1
 popd
 
 %install
@@ -161,7 +164,8 @@
        compress
        notifempty
        missingok
-       create 640 %{sphinx_user} root
+       su %{sphinx_user} %{sphinx_group}
+       create 640 %{sphinx_user} %{sphinx_group}
 }
 EOF
 
@@ -223,7 +227,7 @@
 %doc %attr(644, root, man) %{_mandir}/man1/indextool.1*
 %doc %attr(644, root, man) %{_mandir}/man1/searchd.1*
 %doc %attr(644, root, man) %{_mandir}/man1/spelldump.1*
-%dir %attr(0750, root, %{sphinx_group}) %{_localstatedir}/log/%{name}
+%dir %attr(0750, %{sphinx_user}, %{sphinx_group}) %{_localstatedir}/log/%{name}
 %ghost %attr(0640, %{sphinx_user}, root) 
%{_localstatedir}/log/%{name}/%{daemon}.log
 %ghost %attr(0640, %{sphinx_user}, root) 
%{_localstatedir}/log/%{name}/query.log
 %dir %attr(0755, %{sphinx_user}, %{sphinx_group}) %{_localstatedir}/lib/%{name}

Reply via email to