forked from pool/unbound
- fixed a few rpmlint warnings
- added unbound-rpmlintrc: files duplicate on those man page links - changed symlink to /usr/sbin/service - improved descriptions OBS-URL: https://build.opensuse.org/package/show/server:dns/unbound?expand=0&rev=7
This commit is contained in:
24
unbound.spec
24
unbound.spec
@@ -86,7 +86,9 @@ Requires: %{name}-anchor >= %{version}
|
||||
#
|
||||
Summary: Shared library from unbound
|
||||
%description -n %{libname}
|
||||
A validating, recursive, and caching DNS resolver
|
||||
Unbound is a validating, recursive, and caching DNS(SEC) resolver.
|
||||
|
||||
This package holds the shared library from unbound.
|
||||
|
||||
%if %{with_munin}
|
||||
%package munin
|
||||
@@ -97,7 +99,9 @@ Requires: %{name} = %{version}
|
||||
Requires: bc
|
||||
BuildArch: noarch
|
||||
%description munin
|
||||
Plugin for the munin / munin-node monitoring package
|
||||
Unbound is a validating, recursive, and caching DNS(SEC) resolver.
|
||||
|
||||
This package holds the plugin for the munin / munin-node monitoring package
|
||||
%endif
|
||||
|
||||
%package devel
|
||||
@@ -108,7 +112,9 @@ Requires: openssl-devel
|
||||
#
|
||||
Summary: Development files for libunbound
|
||||
%description devel
|
||||
A validating, recursive, and caching DNS resolver
|
||||
Unbound is a validating, recursive, and caching DNS(SEC) resolver.
|
||||
|
||||
This package holds the development files to work with libunbound.
|
||||
|
||||
%package anchor
|
||||
Group: Productivity/Networking/DNS/Servers
|
||||
@@ -116,7 +122,9 @@ Group: Productivity/Networking/DNS/Servers
|
||||
Requires: cron
|
||||
Summary: Unbound Anchor cert management tools
|
||||
%description anchor
|
||||
Contains the tools to manage the anchor certs
|
||||
Unbound is a validating, recursive, and caching DNS(SEC) resolver.
|
||||
|
||||
This package contains the tools to manage the anchor certs.
|
||||
|
||||
%if %{with python}
|
||||
%package python
|
||||
@@ -124,7 +132,9 @@ Summary: Python modules and extensions for unbound
|
||||
Group: Applications/System
|
||||
Requires: %{libname} = %{version}
|
||||
%description python
|
||||
Python modules and extensions for unbound
|
||||
Unbound is a validating, recursive, and caching DNS(SEC) resolver.
|
||||
|
||||
This package holds the Python modules and extensions for unbound.
|
||||
%endif
|
||||
|
||||
%prep
|
||||
@@ -178,8 +188,8 @@ install -p -m 0644 %{SOURCE7} %{buildroot}%{_unitdir}/unbound-keygen.service
|
||||
install -p -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/unbound
|
||||
install -p -m 0644 %{SOURCE12} %{buildroot}%{_sysconfdir}/unbound
|
||||
install -D -p -m 0644 %{SOURCE14} %{buildroot}/var/adm/fillup-templates/sysconfig.%{name}
|
||||
ln -s /sbin/service %{buildroot}%{_sbindir}/rcunbound
|
||||
ln -s /sbin/service %{buildroot}%{_sbindir}/rcunbound-keygen
|
||||
ln -sf /usr/sbin/service %{buildroot}%{_sbindir}/rcunbound
|
||||
ln -sf /usr/sbin/service %{buildroot}%{_sbindir}/rcunbound-keygen
|
||||
|
||||
install -p -m 0644 %{SOURCE16} .
|
||||
install -d 0755 %{buildroot}%{_sysconfdir}/cron.d
|
||||
|
Reference in New Issue
Block a user