Accepting request 103433 from network:utilities

- move the systemd requires to the server subpackage

OBS-URL: https://build.opensuse.org/request/show/103433
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openslp?expand=0&rev=30
This commit is contained in:
Stephan Kulow 2012-02-08 20:19:57 +00:00 committed by Git OBS Bridge
commit 45a5a9fe8a
2 changed files with 17 additions and 46 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 8 20:14:48 UTC 2012 - coolo@suse.com
- move the systemd requires to the server subpackage
-------------------------------------------------------------------
Thu Dec 22 23:42:12 UTC 2011 - crrodriguez@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package openslp
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,19 +16,20 @@
#
Name: openslp
BuildRequires: bison flex libtool openssl-devel
BuildRequires: bison
BuildRequires: flex
BuildRequires: libtool
BuildRequires: openssl-devel
%if 0%{?suse_version} > 1140
BuildRequires: systemd
%{?systemd_requires}
%define has_systemd 1
%endif
Summary: An OpenSLP Implementation of Service Location Protocol V2
Version: 1.2.0
Release: 186
License: BSD-3-Clause
Group: System/Daemons
Version: 1.2.0
Release: 0
Url: http://www.openslp.org/
# bug437293
%ifarch ppc64
@ -81,22 +82,13 @@ OpenSLP is an open source implementation of the SLPv2 protocol as
defined by RFC 2608 and RFC 2614. This package includes the slptool
and runtime libraries.
Authors:
--------
Matthew Peterson <mpeterson@calderasystems.com>
Ganesan Rajagopal <rganesan@myrealbox.com>
David McCormack <david.mccormack@ottawa.com>
Evan Hughes <hughes@lab43.org>
Matthieu Desmons <mdes@ocegr.fr>
Praveen Kumar Amritaluru <praveen@india.hp.com>
%package server
License: BSD-3-Clause
Group: System/Daemons
Summary: The OpenSLP Implementation of the Service Location Protocol V2
Group: System/Daemons
PreReq: %fillup_prereq %insserv_prereq /usr/sbin/useradd
%if 0%{?has_systemd}
%{?systemd_requires}
%endif
Recommends: logrotate
%description server
@ -109,22 +101,10 @@ This package contains the SLP server. Every system, which provides any
services that should be used via an SLP client must run this server and
register the service.
Authors:
--------
Matthew Peterson <mpeterson@calderasystems.com>
Ganesan Rajagopal <rganesan@myrealbox.com>
David McCormack <david.mccormack@ottawa.com>
Evan Hughes <hughes@lab43.org>
Matthieu Desmons <mdes@ocegr.fr>
Praveen Kumar Amritaluru <praveen@india.hp.com>
%package devel
License: BSD-3-Clause
Requires: openssl-devel openslp = %version
Group: System/Daemons
Summary: OpenSLP Development SDK
Group: System/Daemons
# bug437293
%ifarch ppc64
Obsoletes: openslp-devel-64bit
@ -141,17 +121,6 @@ This package contains header and library files to compile applications
with SLP support. It also contains developer documentation to develop
such applications.
Authors:
--------
Matthew Peterson <mpeterson@calderasystems.com>
Ganesan Rajagopal <rganesan@myrealbox.com>
David McCormack <david.mccormack@ottawa.com>
Evan Hughes <hughes@lab43.org>
Matthieu Desmons <mdes@ocegr.fr>
Praveen Kumar Amritaluru <praveen@india.hp.com>
%prep
%setup -q
%patch1
@ -268,9 +237,6 @@ install -D -m 644 %{S:9} %{buildroot}%{_unitdir}/slpd.service
%service_del_preun slpd.service
%endif
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%dir %_defaultdocdir/%name