SHA256
1
0
forked from pool/kea

Accepting request 1043790 from network:dhcp

- Remove following packages from BuildRequires
  * docbook-xsl-stylesheets
  * elinks
  * libxslt-tools

AFAICT these packages aren't needed for generating the docs and the official documentation doesn't mention them as requirements. Especially elinks would be nice to remove as it isn't available in Leap/SLE. If there is a reason these are required feel free to decline this request. (forwarded request 1043789 from jcronenberg)

OBS-URL: https://build.opensuse.org/request/show/1043790
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kea?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2022-12-20 19:20:30 +00:00 committed by Git OBS Bridge
commit b3e41baa6d
2 changed files with 21 additions and 5 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Dec 14 14:51:33 UTC 2022 - Jorik Cronenberg <jorik.cronenberg@suse.com>
- Separate documentation into kea-doc package
- Remove following packages from BuildRequires
* docbook-xsl-stylesheets
* elinks
* libxslt-tools
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Aug 18 12:53:21 UTC 2022 - Jan Engelhardt <jengelh@inai.de> Thu Aug 18 12:53:21 UTC 2022 - Jan Engelhardt <jengelh@inai.de>

View File

@ -73,11 +73,7 @@ BuildRequires: pkgconfig(libcrypto)
Requires(pre): shadow Requires(pre): shadow
Suggests: %name-hooks = %version Suggests: %name-hooks = %version
%if 0%{with regen_files} %if 0%{with regen_files}
BuildRequires: bison >= 3.0
BuildRequires: docbook-xsl-stylesheets
BuildRequires: elinks
BuildRequires: flex BuildRequires: flex
BuildRequires: libxslt-tools
%endif %endif
%if 0%{?suse_version} >= 1500 %if 0%{?suse_version} >= 1500
BuildRequires: libboost_system-devel BuildRequires: libboost_system-devel
@ -93,6 +89,14 @@ objective of this project is to provide a very high-performance,
extensible DHCP server engine for use by enterprises and service extensible DHCP server engine for use by enterprises and service
providers, either as-is or with extensions and modifications. providers, either as-is or with extensions and modifications.
%package doc
Summary: Documentation for Kea
Group: Documentation/HTML
BuildArch: noarch
%description doc
This package contains the documentation for Kea.
%package hooks %package hooks
Summary: Standard Kea DHCP hooks/plugins Summary: Standard Kea DHCP hooks/plugins
Group: System/Libraries Group: System/Libraries
@ -450,7 +454,6 @@ systemd-tmpfiles --create kea.conf || :
%files %files
%dir %_sysconfdir/kea %dir %_sysconfdir/kea
%config(noreplace) %_sysconfdir/kea/*.conf %config(noreplace) %_sysconfdir/kea/*.conf
%_datadir/doc/kea/
%_mandir/man8/*.8%{?ext_man} %_mandir/man8/*.8%{?ext_man}
%_sbindir/rckea %_sbindir/rckea
%_sbindir/kea* %_sbindir/kea*
@ -461,6 +464,10 @@ systemd-tmpfiles --create kea.conf || :
%_prefix/lib/tmpfiles.d/ %_prefix/lib/tmpfiles.d/
%attr(0775,keadhcp,keadhcp) %_localstatedir/log/kea/ %attr(0775,keadhcp,keadhcp) %_localstatedir/log/kea/
%files doc
%doc %_datadir/doc/kea/
%exclude %_datadir/doc/kea/html/.buildinfo
%files hooks %files hooks
%dir %_libdir/kea %dir %_libdir/kea
%_libdir/kea/hooks/ %_libdir/kea/hooks/