- 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:
Marcus Rückert 2013-12-28 13:31:04 +00:00 committed by Git OBS Bridge
parent fb38fe6a18
commit 8614dc6d11
3 changed files with 28 additions and 7 deletions

2
unbound-rpmlintrc Normal file
View File

@ -0,0 +1,2 @@
# we know the man pages are only referencing the main man page
addFilter("files-duplicate /usr/share/man/man3/ub.*?\.3\.gz")

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sat Dec 28 13:29:56 UTC 2013 - mrueckert@suse.de
- fixed a few rpmlint warnings
- added unbound-rpmlintrc: files duplicate on those man page
links
- changed symlink to /usr/sbin/service
- improved descriptions
-------------------------------------------------------------------
Sat Dec 28 04:02:56 UTC 2013 - mrueckert@suse.de

View File

@ -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