From f244908555323a3e25ce8037d5ceee9e48283a68 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 3 Feb 2018 12:49:50 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- nghttp2.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/nghttp2.spec b/nghttp2.spec index 3b695e1..e5fcc5b 100644 --- a/nghttp2.spec +++ b/nghttp2.spec @@ -1,7 +1,7 @@ Summary: Experimental HTTP/2 client, server and proxy Name: nghttp2 Version: 1.29.0 -Release: 1%{?dist} +Release: 2%{?dist} License: MIT Group: Applications/Internet URL: https://nghttp2.org/ @@ -71,9 +71,7 @@ rm -f "$RPM_BUILD_ROOT%{_libdir}/libnghttp2.la" # will be installed via %%doc rm -f "$RPM_BUILD_ROOT%{_datadir}/doc/nghttp2/README.rst" -%post -n libnghttp2 -p /sbin/ldconfig - -%postun -n libnghttp2 -p /sbin/ldconfig +%ldconfig_scriptlets -n libnghttp2 %post %systemd_post nghttpx.service @@ -113,6 +111,9 @@ make %{?_smp_mflags} check %changelog +* Sat Feb 03 2018 Igor Gnatenko - 1.29.0-2 +- Switch to %%ldconfig_scriptlets + * Tue Dec 19 2017 Kamil Dudka 1.29.0-1 - update to the latest upstream release