71d7440127
If %ldconfig is not defined, then "%ldconfig_post/%ldconfig_postun foo" will expand to " foo" which is breaking packages. Also now it is possible to move %end into post/postun. Reported-by: Terje Røsten <terjeros@phys.ntnu.no> References: https://bugzilla.redhat.com/show_bug.cgi?id=1548331 Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
10 lines
307 B
Plaintext
10 lines
307 B
Plaintext
#%ldconfig /sbin/ldconfig
|
|
%ldconfig_post(n:) %{?ldconfig:%post -p %ldconfig %{?*} %{-n:-n %{-n*}}\
|
|
%end}
|
|
%ldconfig_postun(n:) %{?ldconfig:%postun -p %ldconfig %{?*} %{-n:-n %{-n*}}\
|
|
%end}
|
|
%ldconfig_scriptlets(n:) %{?ldconfig:\
|
|
%ldconfig_post %{?*} %{-n:-n %{-n*}}\
|
|
%ldconfig_postun %{?*} %{-n:-n %{-n*}}\
|
|
}
|