1591a6fbf8
With https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets we try to remove ldconfig scriptlets, but it would make every package look horrible with all those conditionals. So let's just wrap ldconfig scriptlets into macro so it doesn't look that horrible and error-prone. Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
8 lines
243 B
Plaintext
8 lines
243 B
Plaintext
#%ldconfig /sbin/ldconfig
|
|
%ldconfig_post %{?ldconfig:%post -p %ldconfig}
|
|
%ldconfig_postun %{?ldconfig:%postun -p %ldconfig}
|
|
%ldconfig_scriptlets(n:) %{?ldconfig:\
|
|
%ldconfig_post %{?*} %{-n:-n %{-n*}}\
|
|
%ldconfig_postun %{?*} %{-n:-n %{-n*}}\
|
|
}
|