From d4270b63bece0adb0bec1f414cc87d142a9c4c8f Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Feb 03 2018 12:37:45 +0000 Subject: Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- diff --git a/procps-ng.spec b/procps-ng.spec index 317367f..e06aec1 100644 --- a/procps-ng.spec +++ b/procps-ng.spec @@ -4,7 +4,7 @@ Summary: System and process monitoring utilities Name: procps-ng Version: 3.3.10 -Release: 15%{?dist} +Release: 16%{?dist} License: GPL+ and GPLv2 and GPLv2+ and GPLv3+ and LGPLv2+ Group: Applications/System URL: https://sourceforge.net/projects/procps-ng/ @@ -15,9 +15,6 @@ Patch0: procps-ng-3.3.10-top-fix-deep-forking-forest-crash.patch Patch1: procps-ng-3.3.10-find_elf_note-memory-error-fix.patch Patch2: procps-ng-3.3.10-libsystemd.patch -Requires(post): /sbin/ldconfig -Requires(postun): /sbin/ldconfig - BuildRequires: ncurses-devel BuildRequires: libtool BuildRequires: autoconf @@ -132,9 +129,7 @@ rm -f %{buildroot}%{_mandir}/{de,fr,uk}/man1/kill.1 ln -s %{_bindir}/pidof %{buildroot}%{_sbindir}/pidof -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %doc AUTHORS Documentation/BUGS Documentation/FAQ NEWS README top/README.top Documentation/TODO @@ -164,6 +159,9 @@ ln -s %{_bindir}/pidof %{buildroot}%{_sbindir}/pidof %files i18n -f %{name}.lang %changelog +* Sat Feb 03 2018 Igor Gnatenko - 3.3.10-16 +- Switch to %%ldconfig_scriptlets + * Thu Aug 03 2017 Fedora Release Engineering - 3.3.10-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild