Hello community,

here is the log from the commit of package sudo for openSUSE:Factory checked in 
at 2020-07-06 16:13:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sudo (Old)
 and      /work/SRC/openSUSE:Factory/.sudo.new.3060 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sudo"

Mon Jul  6 16:13:54 2020 rev:112 rq:818179 version:1.9.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/sudo/sudo.changes        2020-06-25 
16:46:56.260874981 +0200
+++ /work/SRC/openSUSE:Factory/.sudo.new.3060/sudo.changes      2020-07-06 
16:14:00.788346045 +0200
@@ -1,0 +2,6 @@
+Mon Jun 29 14:07:41 UTC 2020 - Thorsten Kukuk <[email protected]>
+
+- Move python plugin support to own sub-package, we don't want
+  python in a really minimal system [bsc#1173200]
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ sudo.spec ++++++
--- /var/tmp/diff_new_pack.D0De2X/_old  2020-07-06 16:14:01.524348301 +0200
+++ /var/tmp/diff_new_pack.D0De2X/_new  2020-07-06 16:14:01.528348313 +0200
@@ -49,6 +49,7 @@
 BuildRequires:  zlib-devel
 Requires(pre):  coreutils
 Requires(pre):  permissions
+Recommends:     sudo-plugin-python
 
 %description
 Sudo is a command that allows users to execute some commands as root.
@@ -59,6 +60,16 @@
 given time N (where N is defined at installation and is set to 5
 minutes by default).
 
+%package plugin-python
+Summary:        Plugin API for python
+Group:          System/Base
+Requires:       %{name} = %{version}
+
+%description plugin-python
+This package contains the sudo plugin which allows to write sudo plugins
+in python. The API closely follows the C sudo plugin API described by
+sudo_plugin(5).
+
 %package devel
 Summary:        Header files needed for sudo plugin development
 Group:          Development/Libraries/C and C++
@@ -181,7 +192,6 @@
 %{_mandir}/man5/sudo_logsrv.proto.5%{?ext_man}
 %{_mandir}/man5/sudo_logsrvd.conf.5%{?ext_man}
 %{_mandir}/man8/sudo_logsrvd.8%{?ext_man}
-%{_mandir}/man8/sudo_plugin_python.8%{?ext_man}
 %{_mandir}/man8/sudo_sendlog.8%{?ext_man}
 
 %config(noreplace) %attr(0440,root,root) %{_sysconfdir}/sudoers
@@ -214,13 +224,16 @@
 %{_libexecdir}/%{name}/%{name}/system_group.so
 %{_libexecdir}/%{name}/%{name}/audit_json.so
 %{_libexecdir}/%{name}/%{name}/sample_approval.so
-%{_libexecdir}/%{name}/%{name}/python_plugin.so
 %{_libexecdir}/%{name}/libsudo_util.so.*
 %attr(0711,root,root) %dir %ghost %{_localstatedir}/lib/%{name}
 %attr(0700,root,root) %dir %ghost %{_localstatedir}/lib/%{name}/ts
 %dir %{_tmpfilesdir}
 %{_tmpfilesdir}/sudo.conf
 
+%files plugin-python
+%{_mandir}/man8/sudo_plugin_python.8%{?ext_man}
+%{_libexecdir}/%{name}/%{name}/python_plugin.so
+
 %files devel
 %doc plugins/sample/sample_plugin.c
 %{_includedir}/sudo_plugin.h



Reply via email to