forked from rpms/glibc
The GNU libc libraries
1f24fb0da2
Since time immemorial, Red Hat/Fedora packagers have been required to add a stanza to spec files for packages containing libraries to update the ldconfig cache. ``` %post -p /sbin/ldconfig %postun -p /sbin/ldconfig ``` To say this is annoying is to put it mildly. However, there was no standard mechanism to make this boilerplate go away. Now with RPM 4.13+, we should change this to file triggers and make all of that go away. In the case of the transaction file triggers that run on the regular link library paths, the performance benefit is minimal, and being greedy does not hurt in this case. It's still an improvement over running ldconfig every time anyway. With the introduction of these triggers, we can start removing the ldconfig boilerplate from Fedora package specs, and new packages will not need to add it. Pirority (-P) is not strictly needed, but we want to run our ldconfig "first" before rest of scriptlets so it would speed up them (we would build ldconfig cache beforehand). References: https://bugzilla.redhat.com/1380878 Originally-proposed-by: Neal Gompa <ngompa13@gmail.com> Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org> |
||
---|---|---|
bench.mk | ||
build-locale-archive.c | ||
ChangeLog.old | ||
gen-quilt-series.sh | ||
glibc_post_upgrade.c | ||
glibc-bench-compare | ||
glibc-c-utf8-locale.patch | ||
glibc-cs-path.patch | ||
glibc-deprecate_libcrypt.patch | ||
glibc-fedora-__libc_multiple_libcs.patch | ||
glibc-fedora-linux-tcsetattr.patch | ||
glibc-fedora-localedata-rh61908.patch | ||
glibc-fedora-localedef.patch | ||
glibc-fedora-locarchive.patch | ||
glibc-fedora-manual-dircategory.patch | ||
glibc-fedora-nis-rh188246.patch | ||
glibc-fedora-nptl-linklibc.patch | ||
glibc-fedora-nscd.patch | ||
glibc-fedora-streams-rh436349.patch | ||
glibc-nscd-sysconfig.patch | ||
glibc-post_upgrade.patch | ||
glibc-rh697421.patch | ||
glibc-rh741105.patch | ||
glibc-rh819430.patch | ||
glibc-rh827510.patch | ||
glibc-rh1013801.patch | ||
glibc-rh1070416.patch | ||
glibc-rh1315108.patch | ||
glibc-rh1452750-allocate_once.patch | ||
glibc-rh1452750-libidn2.patch | ||
glibc.spec | ||
nscd.conf | ||
nsswitch.conf | ||
power6emul.c | ||
quilt-patch.sh | ||
README.quilt | ||
README.scripts | ||
sources | ||
STAGE1-glibc | ||
STAGE1-glibc-headers | ||
SUPPORTED |
All of the useful glibc maintainer scripts are located at: https://pagure.io/glibc-maintainer-scripts