diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-08-13 17:11:47 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-08-13 17:11:47 +0300 |
commit | 1d61f3e34b677c0b1f6d9f5de8f6996730a0261f (patch) | |
tree | e46862f5214b42f668db101c5767540604f69f17 /macros.in | |
parent | de218d7069294c615dd45cf274dd109ebbdce335 (diff) | |
download | librpm-tizen-1d61f3e34b677c0b1f6d9f5de8f6996730a0261f.tar.gz librpm-tizen-1d61f3e34b677c0b1f6d9f5de8f6996730a0261f.tar.bz2 librpm-tizen-1d61f3e34b677c0b1f6d9f5de8f6996730a0261f.zip |
Build script environment tweaks to improve reproducability
- unset CDPATH (RhBug:426955) and DISPLAY environment variables
- always run in C locale
Diffstat (limited to 'macros.in')
-rw-r--r-- | macros.in | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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}\"\ |