]> git.pld-linux.org Git - packages/rpm-pld-macros.git/commitdiff
- changes suggested by pluto
authorsparky <sparky@pld-linux.org>
Sun, 6 Aug 2006 19:05:06 +0000 (19:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.315

rpm.macros

index 46dca7f63844b0e3109855b778c4736f3c2636cc..354c9573b7468b74b85196f13fe3c2631c16b952 100644 (file)
@@ -58,9 +58,9 @@ fi; \
 # Requires:            awk
 #
 # Flags specified in %filterout_* are removed from %rpm*flags, exactly:
-# %rpmcflags   = %optflags - %filterout_c - %filterout_ld
-# %rpmcxxflags = %rpmcflags - %filterout_cxx
-# %rpmldflags  = %optldflags - %filterout_ld
+# %rpmcflags    = %optflags - %filterout - %filterout_c   - %filterout_ld
+# %rpmcxxflags  = %optflags - %filterout - %filterout_cxx - %filterout_ld
+# %rpmldflags   = %optldflags - %filterout_ld
 #
 # Regular expressions are supported, but to avoid some character be treated
 # as regular expression it must be escaped twice.
@@ -75,13 +75,13 @@ fi; \
 
 %rpmcflags %(awk 'BEGIN {
        split("%{?debug:%debugcflags}%{!?debug:%optflags}%{?debuginfocflags}",I);
-       split("%{?filterout_c} %{?filterout_ld}",F);
+       split("%{?filterout} %{?filterout_c} %{?filterout_ld}",F);
        %{filter_out}
 }')
 
 %rpmcxxflags %(awk 'BEGIN {
-       split("%{rpmcflags}",I);
-       split("%{?filterout_cxx}",F);
+       split("%{?debug:%debugcflags}%{!?debug:%optflags}%{?debuginfocflags}",I);
+       split("%{?filterout} %{?filterout_cxx} %{?filterout_ld}",F);
        %{filter_out}
 }')
 
This page took 0.048913 seconds and 4 git commands to generate.