Move %end to %ldconfig_scriptlets
If people choose to use %ldconfig_post/%ldconfig_postun, let them to
deal with %end.
Reported-by: Harald Reindl <h.reindl@thelounge.net>
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1547838
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
(cherry picked from commit 987e94f6ea
)
This commit is contained in:
parent
2d84b07718
commit
1a0aca9d26
|
@ -1,9 +1,9 @@
|
||||||
%ldconfig /sbin/ldconfig
|
%ldconfig /sbin/ldconfig
|
||||||
%ldconfig_post %{?ldconfig:%post -p %ldconfig\
|
%ldconfig_post %{?ldconfig:%post -p %ldconfig}
|
||||||
%end}
|
%ldconfig_postun %{?ldconfig:%postun -p %ldconfig}
|
||||||
%ldconfig_postun %{?ldconfig:%postun -p %ldconfig\
|
|
||||||
%end}
|
|
||||||
%ldconfig_scriptlets(n:) %{?ldconfig:\
|
%ldconfig_scriptlets(n:) %{?ldconfig:\
|
||||||
%ldconfig_post %{?*} %{-n:-n %{-n*}}\
|
%ldconfig_post %{?*} %{-n:-n %{-n*}}\
|
||||||
|
%end\
|
||||||
%ldconfig_postun %{?*} %{-n:-n %{-n*}}\
|
%ldconfig_postun %{?*} %{-n:-n %{-n*}}\
|
||||||
|
%end\
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
Summary: Red Hat specific rpm configuration files
|
Summary: Red Hat specific rpm configuration files
|
||||||
Name: redhat-rpm-config
|
Name: redhat-rpm-config
|
||||||
Version: 74
|
Version: 75
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
# No version specified.
|
# No version specified.
|
||||||
License: GPL+
|
License: GPL+
|
||||||
|
@ -147,6 +147,9 @@ install -p -m 755 -t %{buildroot}%{_rpmconfigdir} kmod.prov
|
||||||
%{_rpmconfigdir}/macros.d/macros.kmp
|
%{_rpmconfigdir}/macros.d/macros.kmp
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 22 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 75-1
|
||||||
|
- Move %%end to %%ldconfig_scriptlets
|
||||||
|
|
||||||
* Wed Feb 21 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 74-1
|
* Wed Feb 21 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 74-1
|
||||||
- Fix the inevitable embarrassing typo in 73, doh
|
- Fix the inevitable embarrassing typo in 73, doh
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue