SHA256
1
0
forked from pool/bitlbee

Accepting request 260546 from home:tampakrap:branches:server:irc

- Fix the postun to silence the rpmlint
- Whitespace
- Add dependency for openSUSE >= 13.2
- Remove user/group from systemd service file. Bitlbee can drop privileges to
  the user if specified so in its config file.

OBS-URL: https://build.opensuse.org/request/show/260546
OBS-URL: https://build.opensuse.org/package/show/server:irc/bitlbee?expand=0&rev=29
This commit is contained in:
Martin Caj 2014-11-10 11:43:37 +00:00 committed by Git OBS Bridge
parent 11e42e9865
commit e7b79f98ff
3 changed files with 18 additions and 4 deletions

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Sun Nov 9 22:18:46 UTC 2014 - tampakrap@opensuse.org
- Fix the postun to silence the rpmlint
- Whitespace
-------------------------------------------------------------------
Wed Nov 5 17:47:50 UTC 2014 - tampakrap@opensuse.org
- Add dependency for openSUSE >= 13.2
- Remove user/group from systemd service file. Bitlbee can drop privileges to
the user if specified so in its config file.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Aug 29 19:42:15 UTC 2014 - mcaj@suse.com Fri Aug 29 19:42:15 UTC 2014 - mcaj@suse.com

View File

@ -22,8 +22,6 @@ PIDFile=/run/bitlbee/bitlbee.pid
ExecReload=/bin/kill -HUP $MAINPID ExecReload=/bin/kill -HUP $MAINPID
KillMode=process KillMode=process
Restart=always Restart=always
User=bitlbee
Group=bitlbee
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target

View File

@ -75,6 +75,9 @@ BuildRequires: libpurple-devel
%endif %endif
%if %{with_systemd} %if %{with_systemd}
BuildRequires: systemd BuildRequires: systemd
%if 0%{?suse_version} >= 1320
BuildRequires: util-linux-systemd
%endif
%endif %endif
%description %description
@ -233,7 +236,7 @@ fi
%postun %postun
%if %{with_systemd} %if %{with_systemd}
%service_del_postun %{name} %service_del_postun %{name}.service
%else %else
%restart_on_update %{name} %restart_on_update %{name}
%insserv_cleanup %insserv_cleanup