SHA256
1
0
forked from pool/dhcp

Accepting request 456144 from home:kukuk:branches:network:dhcp

- Require insserv only if needed
- Fix requires of client subpackage

OBS-URL: https://build.opensuse.org/request/show/456144
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=169
This commit is contained in:
Nirmoy Das 2017-02-17 10:00:18 +00:00 committed by Git OBS Bridge
parent 09799de8fb
commit 53e8b48477
2 changed files with 16 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 10 22:49:38 CET 2017 - kukuk@suse.de
- Require insserv only if needed
- Fix requires of client subpackage
-------------------------------------------------------------------
Thu Aug 4 08:25:28 UTC 2016 - ralf.habacker@freenet.de

View File

@ -1,7 +1,7 @@
#
# spec file for package dhcp
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -130,24 +130,30 @@ Summary: ISC DHCP Server
Group: Productivity/Networking/Boot/Servers
Requires: dhcp = %{version}
Requires: net-tools
PreReq: %insserv_prereq %fillup_prereq /bin/cat /bin/mkdir /bin/cp /usr/sbin/useradd
%if !%{with systemd}
PreReq: %insserv_prereq
%endif
PreReq: %fillup_prereq /bin/cat /bin/mkdir /bin/cp /usr/sbin/useradd
%package client
Summary: ISC DHCP Client
Group: Productivity/Networking/Boot/Clients
Requires: /usr/bin/host
Requires: /usr/bin/touch
Requires: dhcp = %{version}
Requires: iproute2
Requires: iputils
Requires: net-tools
PreReq: %insserv_prereq %fillup_prereq /bin/cat /bin/mkdir /bin/cp /bin/grep
%package relay
Summary: ISC DHCP Relay Agent
Group: Productivity/Networking/Boot/Servers
Requires: dhcp = %{version}
Requires: net-tools
PreReq: %insserv_prereq %fillup_prereq /bin/cat /bin/mkdir /bin/cp
%if !%{with systemd}
PreReq: %insserv_prereq
%endif
PreReq: %fillup_prereq /bin/cat /bin/mkdir /bin/cp
%package devel
Summary: Header Files and Libraries for dhcpctl API