diff --git a/kea.changes b/kea.changes index 83233ae..9c8f8ca 100644 --- a/kea.changes +++ b/kea.changes @@ -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 diff --git a/kea.spec b/kea.spec index c2ea257..fea2267 100644 --- a/kea.spec +++ b/kea.spec @@ -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