diff --git a/openslp.changes b/openslp.changes index c193c7e..89c8ed1 100644 --- a/openslp.changes +++ b/openslp.changes @@ -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 diff --git a/openslp.spec b/openslp.spec index d45a630..f672246 100644 --- a/openslp.spec +++ b/openslp.spec @@ -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 - Ganesan Rajagopal - David McCormack - Evan Hughes - Matthieu Desmons - Praveen Kumar Amritaluru - %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 - Ganesan Rajagopal - David McCormack - Evan Hughes - Matthieu Desmons - Praveen Kumar Amritaluru - %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 - Ganesan Rajagopal - David McCormack - Evan Hughes - Matthieu Desmons - Praveen Kumar Amritaluru - %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