Accepting request 503683 from home:scarabeus_iv:branches:server:irc

- Drop the xinetd service from the package
  * We are switching to socket services, on this service it does
    not make much sense to actually enable it like that thus
    simply drom the xinetd binding
- Remove always true version check

OBS-URL: https://build.opensuse.org/request/show/503683
OBS-URL: https://build.opensuse.org/package/show/server:irc/bitlbee?expand=0&rev=41
This commit is contained in:
Martin Caj 2017-06-26 09:04:13 +00:00 committed by Git OBS Bridge
parent c4f0a90a67
commit a566af436c
3 changed files with 11 additions and 26 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Jun 14 12:05:51 UTC 2017 - tchvatal@suse.com
- Drop the xinetd service from the package
* We are switching to socket services, on this service it does
not make much sense to actually enable it like that thus
simply drom the xinetd binding
- Remove always true version check
-------------------------------------------------------------------
Mon Feb 27 08:33:21 UTC 2017 - mcaj@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package bitlbee
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org>
#
# All modifications and additions to the file contributed by third parties
@ -26,7 +26,6 @@ License: GPL-2.0
Group: Productivity/Networking/IRC
Url: http://www.bitlbee.org/
Source: http://get.bitlbee.org/src/bitlbee-%{version}.tar.gz
Source1: %{name}.xinetd-suse.in
Source2: %{name}.service-suse.in
BuildRequires: fdupes
BuildRequires: glibc-devel
@ -34,6 +33,7 @@ BuildRequires: gnutls-devel
BuildRequires: libgcrypt-devel
BuildRequires: lzo-devel
BuildRequires: pkgconfig
BuildRequires: util-linux-systemd
BuildRequires: w3m
BuildRequires: xmlto
BuildRequires: pkgconfig(glib-2.0)
@ -42,12 +42,7 @@ BuildRequires: pkgconfig(purple)
BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(zlib)
Requires: logrotate
Requires: xinetd
Requires(pre): shadow
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} > 1310
BuildRequires: util-linux-systemd
%endif
%description
We are both console lovers. But it is annoying to have a few tty's open with
@ -162,10 +157,6 @@ make DESTDIR=%{buildroot} -C doc
make DESTDIR=%{buildroot} install install-etc
make DESTDIR=%{buildroot} install-dev
install -d "%{buildroot}%{_sysconfdir}/xinetd.d"
sed -e "s+@@BITLBEE@@+%{_sbindir}/bitlbee+g" \
< "%{SOURCE1}" > "%{buildroot}%{_sysconfdir}/xinetd.d/bitlbee"
%fdupes -s
install -D -p -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}.service
@ -203,7 +194,6 @@ getent passwd bitlbee >/dev/null || useradd -r -U -d %{_localstatedir}/lib/%{nam
%files -f %{name}.lang
%defattr(-,root,root)
%doc %dir %{_docdir}/%{name}
%config(noreplace) %{_sysconfdir}/xinetd.d/bitlbee
%attr(0750,root,bitlbee) %dir %{_sysconfdir}/bitlbee
%{_unitdir}/%{name}.service
%{_sbindir}/rc%{name}

View File

@ -1,14 +0,0 @@
# default: off
# description: IRC gateway to many IM protocols (MSN, Jabber, ICQ, ...)
service bitlbee
{
disable = yes
socket_type = stream
protocol = tcp
wait = no
user = bitlbee
group = bitlbee
server = @@BITLBEE@@
port = 6667
type = UNLISTED
}