SHA256
1
0
forked from pool/bind

Accepting request 82899 from home:jengelh:bl-b

- Remove redundant tags/sections from specfile
- Use %_smp_mflags for parallel build

OBS-URL: https://build.opensuse.org/request/show/82899
OBS-URL: https://build.opensuse.org/package/show/network/bind?expand=0&rev=68
This commit is contained in:
Lars Vogdt 2011-10-02 00:09:30 +00:00 committed by Git OBS Bridge
parent 60deb7c4d8
commit 68b70aa623
2 changed files with 7 additions and 50 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Sep 17 19:36:58 UTC 2011 - jengelh@medozas.de
- Remove redundant tags/sections from specfile
- Use %_smp_mflags for parallel build
-------------------------------------------------------------------
Fri Sep 16 15:48:23 CEST 2011 - ug@suse.de

View File

@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: bind
@ -34,7 +33,6 @@ Provides: dns_daemon bind8 bind9
Obsoletes: bind8 bind9
Requires: %{name}-utils %{name}-chrootenv
PreReq: %fillup_prereq %insserv_prereq bind-utils /bin/grep /bin/sed /bin/mkdir /usr/bin/tee /bin/chmod /bin/chown /bin/mv /bin/cat /usr/bin/dirname /usr/bin/diff /usr/bin/old /usr/sbin/groupadd /usr/sbin/useradd /usr/sbin/usermod
AutoReqProv: on
Url: http://isc.org/sw/bind/
Source: ftp://ftp.isc.org/isc/bind9/%{pkg_vers}/bind-%{pkg_vers}.tar.gz
Source1: vendor-files.tar.bz2
@ -81,12 +79,6 @@ Name System (DNS) protocols and provides an openly redistributable
reference implementation of the major components of the Domain Name
System. This package includes the components to operate a DNS server.
Authors:
--------
ISC Software <bind@isc.org>
%package chrootenv
License: BSD3c(or similar) ; MIT License (or similar)
Summary: Chroot environment for BIND named and lwresd
@ -98,12 +90,6 @@ This package contains all directories and files which are common to the
chroot environment of BIND named and lwresd. Most is part of the
structure below /var/lib/named.
Authors:
--------
ISC Software <bind@isc.org>
%package devel
License: BSD3c(or similar) ; MIT License (or similar)
Summary: Development Libraries and Header Files of BIND
@ -123,12 +109,6 @@ for building programs using the libraries of the Berkeley Internet Name
Domain (BIND) Domain Name System implementation of the Domain Name
System (DNS) protocols.
Authors:
--------
ISC Software <bind@isc.org>
%package doc
License: BSD3c(or similar) ; MIT License (or similar)
Summary: BIND documentation
@ -142,12 +122,6 @@ Documentation of the Berkeley Internet Name Domain (BIND) Domain Name
System implementation of the Domain Name System (DNS) protocols. This
includes also the BIND Administrator Reference Manual (ARM).
Authors:
--------
ISC Software <bind@isc.org>
%package libs
License: BSD3c(or similar) ; MIT License (or similar)
Summary: Shared libraries of BIND
@ -163,12 +137,6 @@ This package contains the shared libraries of the Berkeley Internet
Name Domain (BIND) Domain Name System implementation of the Domain Name
System (DNS) protocols.
Authors:
--------
ISC Software <bind@isc.org>
%package lwresd
License: BSD3c(or similar) ; MIT License (or similar)
Summary: Lightweight Resolver Daemon
@ -188,12 +156,6 @@ communicate using a simple UDP-based protocol, the "lightweight
resolver protocol" that is distinct from and simpler than the full DNS
protocol.
Authors:
--------
ISC Software <bind@isc.org>
%package utils
License: BSD3c(or similar) ; MIT License (or similar)
Summary: Utilities to query and test DNS
@ -211,14 +173,7 @@ This package includes the utilities host, dig, and nslookup used to
test and query the Domain Name System (DNS). The Berkeley Internet
Name Domain (BIND) DNS server is found in the package named bind.
Authors:
--------
ISC Software <bind@isc.org>
%prep
[ "${RPM_BUILD_DIR}/%{pkg_name}-%{pkg_vers}" != "/" -a -d "${RPM_BUILD_DIR}/%{pkg_name}-%{pkg_vers}" ] && rm -rf "${RPM_BUILD_DIR}/%{pkg_name}-%{pkg_vers}"
%setup -q -n %{pkg_name}-%{pkg_vers}
#%setup -n %{pkg_name}-%{version} -T -D -a1 -a50
%setup -q -n %{pkg_name}-%{pkg_vers} -T -D -a1
@ -302,7 +257,7 @@ CONFIGURE_OPTIONS="\
%{__make} %{?_smp_mflags}
pushd contrib/idn/idnkit-1.0-src
./configure ${CONFIGURE_OPTIONS}
%{__make} %{?jobs:-j%jobs};
%{__make} %{?_smp_mflags}
popd
# running BIND system tests
# FIXME: enable make test if every test checks for a free port first; fixed port
@ -392,10 +347,6 @@ rm -rf include lib man map patch tools win wsock Makefile.in acconfig.h aclocal.
popd
# ---------------------------------------------------------------------------
%clean
[ "${RPM_BUILD_ROOT}" != "/" -a -d "${RPM_BUILD_ROOT}" ] && rm -rf "${RPM_BUILD_ROOT}"
# ---------------------------------------------------------------------------
%pre
# Are we updating from a package named bind9?
if test -d usr/share/doc/packages/bind9 && sbin/chkconfig -c named; then