SHA256
1
0
forked from jengelh/kea

- Remove unnecessary ldconfig call for kea-hooks: files are

outside standard search dirs.
- Drop --disable-dependency-tracking, this is already part of
  %configure.

OBS-URL: https://build.opensuse.org/package/show/network:dhcp/kea?expand=0&rev=6
This commit is contained in:
Jan Engelhardt 2018-06-20 08:18:45 +00:00 committed by Git OBS Bridge
parent 2dae105116
commit 42ff184cd1
2 changed files with 11 additions and 6 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Jun 19 22:45:35 UTC 2018 - jengelh@inai.de
- Remove unnecessary ldconfig call for kea-hooks: files are
outside standard search dirs.
- Drop --disable-dependency-tracking, this is already part of
%configure.
-------------------------------------------------------------------
Mon Jun 18 10:00:52 UTC 2018 - adam.majer@suse.de

View File

@ -60,9 +60,9 @@ BuildRequires: pkgconfig(libcrypto)
%if 0%{?suse_version} >= 1310
BuildRequires: systemd-rpm-macros
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRoot: %_tmppath/%name-%version-build
Requires(pre): shadow
Suggests: %{name}-hooks = %{version}
Suggests: %name-hooks = %version
%description
Kea is a new DHCPv4/DHCPv6 server being developed by ISC in C++, a
@ -285,7 +285,6 @@ Development files for the Kea DHCP server
%build
autoreconf -fi
%configure \
--disable-dependency-tracking \
--disable-rpath \
--disable-static \
%if 0%{with regen_files}
@ -300,7 +299,7 @@ make %{?_smp_mflags}
%install
b="%buildroot"
%make_install
find %{buildroot}/%_libdir -name \*.la -delete -print
find "$b/%_libdir" -name "*.la" -delete -print
mkdir -p "$b/%_unitdir" "$b/%_prefix/lib/tmpfiles.d"
ls -l "$b/%_unitdir/" "$b/%_prefix/lib/tmpfiles.d/" || :
cat <<-EOF >"$b/%_unitdir/kea.service"
@ -343,8 +342,6 @@ systemd-tmpfiles --create kea.conf || :
%postun
%service_del_postun kea.service
%post hooks -p /sbin/ldconfig
%postun hooks -p /sbin/ldconfig
%post -n libkea-asiodns0 -p /sbin/ldconfig
%postun -n libkea-asiodns0 -p /sbin/ldconfig
%post -n libkea-asiolink6 -p /sbin/ldconfig