Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-02-03 13:37:45 +01:00
parent 9d1eb6f843
commit d4270b63be
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -4,7 +4,7 @@
Summary: System and process monitoring utilities Summary: System and process monitoring utilities
Name: procps-ng Name: procps-ng
Version: 3.3.10 Version: 3.3.10
Release: 15%{?dist} Release: 16%{?dist}
License: GPL+ and GPLv2 and GPLv2+ and GPLv3+ and LGPLv2+ License: GPL+ and GPLv2 and GPLv2+ and GPLv3+ and LGPLv2+
Group: Applications/System Group: Applications/System
URL: https://sourceforge.net/projects/procps-ng/ 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 Patch1: procps-ng-3.3.10-find_elf_note-memory-error-fix.patch
Patch2: procps-ng-3.3.10-libsystemd.patch Patch2: procps-ng-3.3.10-libsystemd.patch
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
BuildRequires: libtool BuildRequires: libtool
BuildRequires: autoconf BuildRequires: autoconf
@ -132,9 +129,7 @@ rm -f %{buildroot}%{_mandir}/{de,fr,uk}/man1/kill.1
ln -s %{_bindir}/pidof %{buildroot}%{_sbindir}/pidof ln -s %{_bindir}/pidof %{buildroot}%{_sbindir}/pidof
%post -p /sbin/ldconfig %ldconfig_scriptlets
%postun -p /sbin/ldconfig
%files %files
%doc AUTHORS Documentation/BUGS Documentation/FAQ NEWS README top/README.top Documentation/TODO %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 %files i18n -f %{name}.lang
%changelog %changelog
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.3.10-16
- Switch to %%ldconfig_scriptlets
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.10-15 * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.10-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild