From 8c2c6260d5991949bd0c5b7f9b0d7103b070101673986664f6d04e2cf93a1220 Mon Sep 17 00:00:00 2001 From: Jorik Cronenberg Date: Tue, 5 Dec 2023 15:31:46 +0000 Subject: [PATCH] - Add new Kea migration assistant subpackage - Switch doc subpackage to noarch OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=261 --- dhcp.changes | 6 ++++++ dhcp.spec | 14 ++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/dhcp.changes b/dhcp.changes index 1d48a00..374a958 100644 --- a/dhcp.changes +++ b/dhcp.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Dec 5 15:24:29 UTC 2023 - Jorik Cronenberg + +- Add new Kea migration assistant subpackage +- Switch doc subpackage to noarch + ------------------------------------------------------------------- Thu Nov 2 13:53:11 UTC 2023 - Petr Vorel diff --git a/dhcp.spec b/dhcp.spec index aebd4dc..ad7a4db 100644 --- a/dhcp.spec +++ b/dhcp.spec @@ -151,6 +151,7 @@ Requires: dhcp = %{version} %package doc Summary: Documentation Group: Productivity/Networking/Boot/Servers +BuildArch: noarch %description This package contains common programs used by both the ISC DHCP @@ -183,6 +184,13 @@ the software. The manual pages are in the corresponding packages. This package contains all of the libraries and headers for developing with the Internet Software Consortium (ISC) dhcpctl API. +%package keama +Summary: Migration assistant from dhcp to kea + +%description keama +This package provides a migration assistant for kea, the successor of the ISC +DHCP server. + %prep if test "%version" != $(echo %isc_version | tr "-" "."); then echo "error: %%version and %%isc_version are not in sync." @@ -268,6 +276,7 @@ export CFLAGS LDFLAGS FFLAGS CXXFLAGS # SLE-12 compatbility still needed as of October 2021 %define make_build %{__make} %{?_smp_mflags} %endif +%make_build -j1 -C keama %make_build -j1 -C bind all cat bind/configure.log cat bind/build.log @@ -287,6 +296,7 @@ bash -n $RPM_SOURCE_DIR/dhcpd.script bash -n $RPM_SOURCE_DIR/dhcrelay.script %install +%make_install -C keama %make_install # # directories @@ -565,4 +575,8 @@ fi %{_mandir}/man3/omapi.3%{?ext_man} %{_mandir}/man3/dhcpctl.3%{?ext_man} +%files keama +%{_sbindir}/keama +%{_mandir}/man8/keama.8%{?ext_man} + %changelog