]> git.pld-linux.org Git - packages/rpm-build-macros.git/blobdiff - rpm.macros
- don't omit ldconfig in postun on upgrades - it's needed on downgrades and maybe...
[packages/rpm-build-macros.git] / rpm.macros
index 1ea90c130c31b9499519ba9aa08bb6b3818c10e1..ff50d047ccdec0783a8b0e949ec54577fe8f8015 100644 (file)
@@ -21,7 +21,8 @@
 %debugcflags   -O0 -g -Wall
 %rpmcflags     %{?debug:%debugcflags}%{!?debug:%optflags}%{?debuginfocflags}
 %rpmcxxflags   %{rpmcflags} -fvisibility-inlines-hidden
-%rpmldflags    -Wl,--as-needed
+%rpmldflags %{nil}
+# %rpmldflags  -Wl,--as-needed
 
 # kernel compiler
 %kgcc          gcc
@@ -421,10 +422,8 @@ fi \
        %{nil}
 
 %ldconfig_postun() \
-if [ $1 = 0 ]; then \
        /sbin/ldconfig; \
-fi \
-%{nil}
+       %{nil}
 
 #-----------------------------------------------------------------
 # post %install sequence:
This page took 0.083939 seconds and 4 git commands to generate.