Remove obsolete ldconfig scriptlets

References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2019-01-22 18:40:14 +01:00
parent ad360b9bb2
commit ec49fcf089
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -12,8 +12,6 @@ Patch0: libvma-8.0.1-gcc7.patch
Patch1: libvma-8.0.1-gcc8.patch Patch1: libvma-8.0.1-gcc8.patch
ExcludeArch: %{arm} ExcludeArch: %{arm}
Requires: pam Requires: pam
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
# rdma-core doesn't not exist on s390x. need to check later # rdma-core doesn't not exist on s390x. need to check later
# disable it temporary # disable it temporary
ExcludeArch: s390x ExcludeArch: s390x
@ -60,8 +58,7 @@ make %{?_smp_mflags} V=1
%make_install %make_install
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%post -p /sbin/ldconfig %ldconfig_scriptlets
%postun -p /sbin/ldconfig
%files %files
%{_libdir}/%{name}*.so.* %{_libdir}/%{name}*.so.*