Accepting request 766216 from network:dhcp
- Change remaining systemd requires to weak dependencies, too. - Don't require net-tools with SLE15 or newer, it does not contain anything anymore we need - Get ride of coreutils dependency (forwarded request 766200 from kukuk) OBS-URL: https://build.opensuse.org/request/show/766216 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dhcp?expand=0&rev=116
This commit is contained in:
commit
fadaa5df96
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 22 06:12:51 UTC 2020 - Thorsten Kukuk <kukuk@suse.com>
|
||||||
|
|
||||||
|
- Change remaining systemd requires to weak dependencies, too.
|
||||||
|
- Don't require net-tools with SLE15 or newer, it does not contain
|
||||||
|
anything anymore we need
|
||||||
|
- Get ride of coreutils dependency
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 15 15:18:59 UTC 2019 - Reinhard Max <max@suse.com>
|
Tue Oct 15 15:18:59 UTC 2019 - Reinhard Max <max@suse.com>
|
||||||
|
|
||||||
|
13
dhcp.spec
13
dhcp.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package dhcp
|
# spec file for package dhcp
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@ -102,7 +102,9 @@ Group: Productivity/Networking/Boot/Servers
|
|||||||
Requires: insserv-compat
|
Requires: insserv-compat
|
||||||
%endif
|
%endif
|
||||||
Requires: dhcp = %{version}
|
Requires: dhcp = %{version}
|
||||||
|
%if 0%{?suse_version} < 1500
|
||||||
Requires: net-tools
|
Requires: net-tools
|
||||||
|
%endif
|
||||||
Requires(post): %fillup_prereq
|
Requires(post): %fillup_prereq
|
||||||
Requires(pre): shadow
|
Requires(pre): shadow
|
||||||
%systemd_ordering
|
%systemd_ordering
|
||||||
@ -114,7 +116,6 @@ Requires(pre): group(nogroup)
|
|||||||
Summary: ISC DHCP Client
|
Summary: ISC DHCP Client
|
||||||
Group: Productivity/Networking/Boot/Clients
|
Group: Productivity/Networking/Boot/Clients
|
||||||
Requires: %{_bindir}/getent
|
Requires: %{_bindir}/getent
|
||||||
Requires: %{_bindir}/touch
|
|
||||||
Requires: dhcp = %{version}
|
Requires: dhcp = %{version}
|
||||||
Requires: iproute2
|
Requires: iproute2
|
||||||
Requires: iputils
|
Requires: iputils
|
||||||
@ -128,9 +129,11 @@ Requires: net-tools
|
|||||||
Summary: ISC DHCP Relay Agent
|
Summary: ISC DHCP Relay Agent
|
||||||
Group: Productivity/Networking/Boot/Servers
|
Group: Productivity/Networking/Boot/Servers
|
||||||
Requires: dhcp = %{version}
|
Requires: dhcp = %{version}
|
||||||
|
%if 0%{?suse_version} < 1500
|
||||||
Requires: net-tools
|
Requires: net-tools
|
||||||
|
%endif
|
||||||
Requires(post): %fillup_prereq
|
Requires(post): %fillup_prereq
|
||||||
%systemd_requires
|
%systemd_ordering
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Header Files and Libraries for dhcpctl API
|
Summary: Header Files and Libraries for dhcpctl API
|
||||||
@ -444,9 +447,9 @@ fi
|
|||||||
|
|
||||||
%post client
|
%post client
|
||||||
test -e %{_localstatedir}/lib/dhcp/dhclient.leases || \
|
test -e %{_localstatedir}/lib/dhcp/dhclient.leases || \
|
||||||
touch %{_localstatedir}/lib/dhcp/dhclient.leases
|
echo -n > %{_localstatedir}/lib/dhcp/dhclient.leases
|
||||||
test -e %{_localstatedir}/lib/dhcp6/dhclient6.leases || \
|
test -e %{_localstatedir}/lib/dhcp6/dhclient6.leases || \
|
||||||
touch %{_localstatedir}/lib/dhcp6/dhclient6.leases
|
echo -n > %{_localstatedir}/lib/dhcp6/dhclient6.leases
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
Loading…
Reference in New Issue
Block a user