Hello community, here is the log from the commit of package Supybot for openSUSE:Factory checked in at 2019-03-20 13:22:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/Supybot (Old) and /work/SRC/openSUSE:Factory/.Supybot.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "Supybot" Wed Mar 20 13:22:16 2019 rev:25 rq:686882 version:0.83.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/Supybot/Supybot.changes 2017-11-25 08:42:44.626072402 +0100 +++ /work/SRC/openSUSE:Factory/.Supybot.new.28833/Supybot.changes 2019-03-20 13:22:38.329294701 +0100 @@ -1,0 +2,13 @@ +Wed Mar 20 08:35:46 UTC 2019 - Jan Engelhardt <[email protected]> + +- %service_* asks for adding systemd-rpm-macros and then + %systemd_ordering. +- Update URL. + +------------------------------------------------------------------- +Tue Mar 19 15:58:38 UTC 2019 - [email protected] + +- Added systemd support + [bsc#11116039, Supybot.service] + +------------------------------------------------------------------- New: ---- Supybot.service ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ Supybot.spec ++++++ --- /var/tmp/diff_new_pack.7Cchgm/_old 2019-03-20 13:22:42.289293725 +0100 +++ /var/tmp/diff_new_pack.7Cchgm/_new 2019-03-20 13:22:42.289293725 +0100 @@ -1,7 +1,7 @@ # # spec file for package Supybot # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -23,12 +23,11 @@ Name: Supybot Summary: IRC Bot -License: BSD-3-Clause and GPL-2.0+ and Python-2.0 +License: BSD-3-Clause AND GPL-2.0-or-later AND Python-2.0 Group: Productivity/Networking/IRC Version: 0.83.4.1 Release: 0 -Url: http://supybot.com/ -PreReq: %fillup_prereq %insserv_prereq +URL: https://github.com/Supybot/Supybot Recommends: python-twisted python-sqlite2 BuildRequires: fdupes BuildRequires: python-devel @@ -37,12 +36,15 @@ Source1: %{name}-plugins-%{plugins_version}.tar.bz2 Source2: %{name}.sysconfig Source3: %{name}.init +Source4: %{name}.service Source10: Supybot-rpmlintrc Patch1: Supybot-0.83.4.1-popen_deprecated.patch %if 0%{?suse_version} >= 1120 BuildArch: noarch %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: systemd-rpm-macros +%{?systemd_ordering} %{py_requires} %{!?python_sitelib: %global python_sitelib %(%__python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} %{!?python_sitearch: %global python_sitearch %(%__python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} @@ -74,27 +76,33 @@ chmod +x %{buildroot}/%{python_sitelib}/supybot/plugins/ExternalNotice/supybot-external-notice.py # install init and sysconfig script install -Dm644 %{SOURCE2} %{buildroot}%{_fillupdir}/sysconfig.supybot -install -Dm755 %{SOURCE3} %{buildroot}/%{_sysconfdir}/init.d/supybot +install -d %{buildroot}/%{_datadir}/%{name}/scripts +install -Dm755 %{SOURCE3} %{buildroot}/%{_datadir}/%{name}/scripts/supybot +install -d %{buildroot}/%{_unitdir} +install -Dm644 %{SOURCE4} %{buildroot}/%{_unitdir}/supybot.service mkdir -p %{buildroot}/%{_sbindir} -ln -s %{_sysconfdir}/init.d/supybot %{buildroot}/%{_sbindir}/rcsupybot +ln -s service %{buildroot}/%{_sbindir}/rcsupybot %fdupes %{buildroot} +%pre +%service_add_pre supybot.service + %post -%fillup_and_insserv supybot +%service_add_post supybot.service %preun -%stop_on_removal supybot +%service_del_preun supybot.service %postun -%restart_on_update supybot -%insserv_cleanup +%service_del_postun supybot.service %files -f INSTALLED_FILES %defattr(-, root, root) %doc ACKS ChangeLog LICENSE README RELNOTES docs/GETTING_STARTED %doc %{_mandir}/man1/*.gz %{_fillupdir}/sysconfig.supybot -%{_sysconfdir}/init.d/supybot +%{_datadir}/%{name} +%{_unitdir}/supybot.service %{_sbindir}/rcsupybot %changelog ++++++ Supybot.service ++++++ # Automatically generated by systemd-sysv-generator [Unit] Documentation=man:systemd-sysv-generator(8) SourcePath=/usr/share/Supybot/scripts/supybot Description=LSB: Supybot daemon After=remote-fs.target After=time-sync.target Wants=remote-fs.target [Service] Type=forking Restart=no TimeoutSec=5min IgnoreSIGPIPE=no KillMode=process GuessMainPID=no RemainAfterExit=yes SuccessExitStatus=5 6 ExecStart=/usr/share/Supybot/scripts/supybot start ExecStop=/usr/share/Supybot/scripts/supybot stop ExecReload=/usr/share/Supybot/scripts/supybot reload [Install] WantedBy=multi-user.target
