SHA256
1
0
forked from pool/dhcp

- 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
This commit is contained in:
Jorik Cronenberg 2023-12-05 15:31:46 +00:00 committed by Git OBS Bridge
parent 17a9e60268
commit 8c2c6260d5
2 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Dec 5 15:24:29 UTC 2023 - Jorik Cronenberg <jorik.cronenberg@suse.com>
- Add new Kea migration assistant subpackage
- Switch doc subpackage to noarch
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 2 13:53:11 UTC 2023 - Petr Vorel <pvorel@suse.cz> Thu Nov 2 13:53:11 UTC 2023 - Petr Vorel <pvorel@suse.cz>

View File

@ -151,6 +151,7 @@ Requires: dhcp = %{version}
%package doc %package doc
Summary: Documentation Summary: Documentation
Group: Productivity/Networking/Boot/Servers Group: Productivity/Networking/Boot/Servers
BuildArch: noarch
%description %description
This package contains common programs used by both the ISC DHCP 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 This package contains all of the libraries and headers for developing
with the Internet Software Consortium (ISC) dhcpctl API. 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 %prep
if test "%version" != $(echo %isc_version | tr "-" "."); then if test "%version" != $(echo %isc_version | tr "-" "."); then
echo "error: %%version and %%isc_version are not in sync." 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 # SLE-12 compatbility still needed as of October 2021
%define make_build %{__make} %{?_smp_mflags} %define make_build %{__make} %{?_smp_mflags}
%endif %endif
%make_build -j1 -C keama
%make_build -j1 -C bind all %make_build -j1 -C bind all
cat bind/configure.log cat bind/configure.log
cat bind/build.log cat bind/build.log
@ -287,6 +296,7 @@ bash -n $RPM_SOURCE_DIR/dhcpd.script
bash -n $RPM_SOURCE_DIR/dhcrelay.script bash -n $RPM_SOURCE_DIR/dhcrelay.script
%install %install
%make_install -C keama
%make_install %make_install
# #
# directories # directories
@ -565,4 +575,8 @@ fi
%{_mandir}/man3/omapi.3%{?ext_man} %{_mandir}/man3/omapi.3%{?ext_man}
%{_mandir}/man3/dhcpctl.3%{?ext_man} %{_mandir}/man3/dhcpctl.3%{?ext_man}
%files keama
%{_sbindir}/keama
%{_mandir}/man8/keama.8%{?ext_man}
%changelog %changelog