]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- add %_clean_env to ___build_cmd; %_clean_env body will be defined in build macros
authorsparky <sparky@pld-linux.org>
Sun, 23 Nov 2008 18:21:54 +0000 (18:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-macros.patch -> 1.41.2.4.2.3

rpm-macros.patch

index f4e2557cc2be21d5fd7ef8a78e3bfc1eb6be83ba..9272fc6e48ffa6807989e930662ad0c117a99fdb 100644 (file)
  
  #==============================================================================
  # ---- Database configuration macros.
+@@ -954,7 +954,7 @@
+ %___build_shell               %{?_buildshell:%{_buildshell}}%{!?_buildshell:/bin/sh}
+ %___build_args                -e
+-%___build_cmd         %{?_sudo:%{_sudo} }%{?_remsh:%{_remsh} %{_remhost} }%{?_remsudo:%{_remsudo} }%{?_remchroot:%{_remchroot} %{_remroot} }%{___build_shell} %{___build_args}
++%___build_cmd         %{?_sudo:%{_sudo} }%{?_remsh:%{_remsh} %{_remhost} }%{?_remsudo:%{_remsudo} }%{?_remchroot:%{_remchroot} %{_remroot} }%{?_clean_env:%{_clean_env} }%{___build_shell} %{___build_args}
+ %___build_pre \
+   RPM_SOURCE_DIR=\"%{u2p:%{_sourcedir}}\"\
+   RPM_BUILD_DIR=\"%{u2p:%{_builddir}}\"\
 @@ -991,9 +995,12 @@
    %{?_javaclasspath:CLASSPATH=\"%{_javaclasspath}\"\
    export CLASSPATH}\
This page took 0.149541 seconds and 4 git commands to generate.