Accepting request 103431 from home:coolo:branches:openSUSE:Factory

- move the systemd requires to the server subpackage

OBS-URL: https://build.opensuse.org/request/show/103431
OBS-URL: https://build.opensuse.org/package/show/network:utilities/openslp?expand=0&rev=16
This commit is contained in:
Factory Maintainer 2012-02-08 20:18:39 +00:00 committed by Git OBS Bridge
parent 759447bc35
commit 2794f2c8fa
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 Thu Dec 22 23:42:12 UTC 2011 - crrodriguez@opensuse.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package openslp # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,19 +16,20 @@
# #
Name: openslp Name: openslp
BuildRequires: bison flex libtool openssl-devel BuildRequires: bison
BuildRequires: flex
BuildRequires: libtool
BuildRequires: openssl-devel
%if 0%{?suse_version} > 1140 %if 0%{?suse_version} > 1140
BuildRequires: systemd BuildRequires: systemd
%{?systemd_requires}
%define has_systemd 1 %define has_systemd 1
%endif %endif
Summary: An OpenSLP Implementation of Service Location Protocol V2 Summary: An OpenSLP Implementation of Service Location Protocol V2
Version: 1.2.0
Release: 186
License: BSD-3-Clause License: BSD-3-Clause
Group: System/Daemons Group: System/Daemons
Version: 1.2.0
Release: 0
Url: http://www.openslp.org/ Url: http://www.openslp.org/
# bug437293 # bug437293
%ifarch ppc64 %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 defined by RFC 2608 and RFC 2614. This package includes the slptool
and runtime libraries. 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 %package server
License: BSD-3-Clause
Group: System/Daemons
Summary: The OpenSLP Implementation of the Service Location Protocol V2 Summary: The OpenSLP Implementation of the Service Location Protocol V2
Group: System/Daemons
PreReq: %fillup_prereq %insserv_prereq /usr/sbin/useradd PreReq: %fillup_prereq %insserv_prereq /usr/sbin/useradd
%if 0%{?has_systemd}
%{?systemd_requires}
%endif
Recommends: logrotate Recommends: logrotate
%description server %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 services that should be used via an SLP client must run this server and
register the service. 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 %package devel
License: BSD-3-Clause
Requires: openssl-devel openslp = %version Requires: openssl-devel openslp = %version
Group: System/Daemons
Summary: OpenSLP Development SDK Summary: OpenSLP Development SDK
Group: System/Daemons
# bug437293 # bug437293
%ifarch ppc64 %ifarch ppc64
Obsoletes: openslp-devel-64bit 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 with SLP support. It also contains developer documentation to develop
such applications. 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 %prep
%setup -q %setup -q
%patch1 %patch1
@ -268,9 +237,6 @@ install -D -m 644 %{S:9} %{buildroot}%{_unitdir}/slpd.service
%service_del_preun slpd.service %service_del_preun slpd.service
%endif %endif
%clean
rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%dir %_defaultdocdir/%name %dir %_defaultdocdir/%name