Igor Gnatenko
1f24fb0da2
Add file triggers to do ldconfig calls automatically
...
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>
2018-01-29 17:52:15 +01:00
bench.mk
Add benchmark comparison
2015-05-08 11:49:59 +05:30
build-locale-archive.c
Resolves : #1349906
2016-06-24 13:51:56 -04:00
ChangeLog.old
Rotate RPM changelog
2017-10-01 17:52:54 +02:00
gen-quilt-series.sh
Update gen-quilt-series script.
2016-04-29 23:11:30 -04:00
glibc-bench-compare
Add benchmark comparison
2015-05-08 11:49:59 +05:30
glibc-c-utf8-locale.patch
Auto-sync with upstream master.
2016-04-29 23:08:42 -04:00
glibc-cs-path.patch
Make getconf return only /usr/bin ( #1138835 )
2014-11-05 15:57:23 +05:30
glibc-deprecate_libcrypt.patch
glibc-deprecate_libcrypt.patch: Do not patch NEWS, fix attribution
2018-01-22 11:00:27 +01:00
glibc-fedora-__libc_multiple_libcs.patch
Resolves : #1462820
2017-06-20 00:18:02 +02:00
glibc-fedora-linux-tcsetattr.patch
Auto-sync with upstream master
2017-07-03 21:49:42 +02:00
glibc-fedora-localedata-rh61908.patch
- Resync with upstream sources
2012-11-26 14:19:38 -07:00
glibc-fedora-localedef.patch
Auto-sync with upstream branch origin/master
2017-11-07 12:05:14 +01:00
glibc-fedora-locarchive.patch
Do not patch ChangeLog in glibc-fedora-locarchive.patch
2017-09-04 19:49:35 +02:00
glibc-fedora-manual-dircategory.patch
- Remove obsolete patches from glibc-fedora.patch. Explode
2012-08-20 13:25:02 -06:00
glibc-fedora-nis-rh188246.patch
- Remove obsolete patches from glibc-fedora.patch. Explode
2012-08-20 13:25:02 -06:00
glibc-fedora-nptl-linklibc.patch
Auto-sync with upstream master
2017-05-23 14:37:59 +02:00
glibc-fedora-nscd.patch
Move glibc-fedora-nscd.patch comment into file
2018-01-19 16:05:04 +01:00
glibc-fedora-streams-rh436349.patch
Sync with upstream master
2014-06-24 17:41:51 +05:30
glibc-nscd-sysconfig.patch
Sync with upstream master.
2014-03-12 18:13:23 -04:00
glibc-post_upgrade.patch
glibc_post_upgrade: Remove process restart logic
2018-01-19 17:02:46 +01:00
glibc-rh697421.patch
- Add aliases for ISO-10646-UCS-2 ( #697421 )
2012-01-26 11:03:17 -07:00
glibc-rh741105.patch
Sync with upstream master.
2015-10-21 15:24:28 -04:00
glibc-rh819430.patch
Sync with upstream master
2014-02-18 22:48:17 +05:30
glibc-rh827510.patch
Auto-sync with upstream master
2017-08-21 14:17:58 +02:00
glibc-rh1013801.patch
Auto-sync with upstream branch master
2017-12-22 16:13:39 +01:00
glibc-rh1070416.patch
Sync with upstream master
2014-03-19 22:18:20 +05:30
glibc-rh1315108.patch
Auto-sync with upstream branch master
2017-10-11 07:19:54 +02:00
glibc-rh1452750-allocate_once.patch
Use libidn2 for IDNA support ( #1452750 )
2018-01-17 18:42:37 +01:00
glibc-rh1452750-libidn2.patch
Use libidn2 for IDNA support ( #1452750 )
2018-01-17 18:42:37 +01:00
glibc.spec
Add file triggers to do ldconfig calls automatically
2018-01-29 17:52:15 +01:00
glibc_post_upgrade.c
Remove architecture-specific symbolic link for iconvconfig
2018-01-19 15:30:50 +01:00
nscd.conf
Get rid of releng tarball
2013-08-19 17:05:59 +05:30
nsswitch.conf
Resolves : #1427646
2017-03-01 14:03:09 +01:00
power6emul.c
Get rid of releng tarball
2013-08-19 17:05:59 +05:30
quilt-patch.sh
quilt-patch.sh: Support new "sources" file format
2017-01-02 13:32:40 +01:00
README.quilt
Resolves : #902094 , #1262040
2015-09-17 12:24:49 -04:00
README.scripts
Auto-sync with upstream master
2017-10-06 15:55:09 -07:00
sources
Auto-sync with upstream branch master
2018-01-22 16:19:24 +01:00
STAGE1-glibc
Adding BUILD_CC to the STAGE1 bootstrap recipes
2015-12-03 15:34:40 +01:00
STAGE1-glibc-headers
Adding BUILD_CC to the STAGE1 bootstrap recipes
2015-12-03 15:34:40 +01:00
SUPPORTED
Auto-sync with upstream branch origin/master
2017-11-07 12:05:14 +01:00