Accepting request 1102572 from server:dns

- Adapt spec file to work nicer with containers, like no systemd
- Fix build for SLE12

OBS-URL: https://build.opensuse.org/request/show/1102572
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nsd?expand=0&rev=32
This commit is contained in:
Dominique Leuenberger 2023-08-06 14:30:14 +00:00 committed by Git OBS Bridge
commit 3883120291
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Aug 4 21:21:36 UTC 2023 - Adam Majer <amajer@suse.com>
- Adapt spec file to work nicer with containers, like no systemd
- Fix build for SLE12
-------------------------------------------------------------------
Wed Jun 21 13:52:55 UTC 2023 - Andrea Manzini <andrea.manzini@suse.com>

View File

@ -56,7 +56,7 @@ Requires(post): findutils
Requires(post): shadow
Requires(pre): coreutils
Requires(pre): shadow
%{?systemd_requires}
%{?systemd_ordering}
%description
NSD is a complete implementation of an authoritative domain name server, developed
@ -79,7 +79,7 @@ by NLnet Labs, with the purpose of creating more diversity in the DNS landscape.
--enable-mmap \
--with-user=_nsd \
--enable-ratelimit
%make_build
make -O V=1 VERBOSE=1 %{?_smp_mflags}
iconv -f iso8859-1 -t utf-8 doc/RELNOTES > doc/RELNOTES.utf8
iconv -f iso8859-1 -t utf-8 doc/CREDITS > doc/CREDITS.utf8
mv -f doc/RELNOTES.utf8 doc/RELNOTES