projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de218d7
)
Build script environment tweaks to improve reproducability
author
Panu Matilainen
<pmatilai@redhat.com>
Thu, 13 Aug 2009 14:11:47 +0000
(17:11 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Thu, 13 Aug 2009 14:11:47 +0000
(17:11 +0300)
- unset CDPATH (RhBug:426955) and DISPLAY environment variables
- always run in C locale
macros.in
patch
|
blob
|
history
diff --git
a/macros.in
b/macros.in
index
e3df7ee
..
02c7c91
100644
(file)
--- a/
macros.in
+++ b/
macros.in
@@
-807,6
+807,9
@@
print (t)\
RPM_PACKAGE_VERSION=\"%{version}\"\
RPM_PACKAGE_RELEASE=\"%{release}\"\
export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE\
+ LANG=C\
+ export LANG\
+ unset CDPATH DISPLAY ||:\
%{?buildroot:RPM_BUILD_ROOT=\"%{u2p:%{buildroot}}\"\
export RPM_BUILD_ROOT}\
%{?_javaclasspath:CLASSPATH=\"%{_javaclasspath}\"\