aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-10-23 23:16:57 +0000
committerThierry Vignaud <tv@mageia.org>2012-10-23 23:16:57 +0000
commit4925dc501113ebc62661ead4a743d3457da10906 (patch)
tree00b32c11f425accde98e2149cd56406da2611014
parent51aad4e2c1887d305f7af951989068d59b724f27 (diff)
downloadrpm-setup-4925dc501113ebc62661ead4a743d3457da10906.tar
rpm-setup-4925dc501113ebc62661ead4a743d3457da10906.tar.gz
rpm-setup-4925dc501113ebc62661ead4a743d3457da10906.tar.bz2
rpm-setup-4925dc501113ebc62661ead4a743d3457da10906.tar.xz
rpm-setup-4925dc501113ebc62661ead4a743d3457da10906.zip
set LC_ALL=C in find-{provides,requires}, thus fixing parsing output of
objdump when localized (mga#7883)
-rw-r--r--NEWS2
-rwxr-xr-xfind-provides.in3
-rwxr-xr-xfind-requires.in3
3 files changed, 8 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 165be43..e590dad 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- set LC_ALL=C in find-{provides,requires} (mga#7883)
+
Version 1.160 - 12 Sep 2012, by Funda wang
- merge rubygems.rb from Mandriva, so that it works with ruby 1.9.x
diff --git a/find-provides.in b/find-provides.in
index d5e266b..64ad479 100755
--- a/find-provides.in
+++ b/find-provides.in
@@ -13,6 +13,9 @@ rubygemlist=$(echo "$filelist"| egrep "\.gemspec$")
mavenlist=$(echo "$filelist" |egrep '/usr/share/maven-fragments/*')
osgilist=$(echo "$filelist" |egrep "^(.*\.jar|((/usr/lib(64)|/usr/share).*/MANIFEST.MF))")
+# fix parsing output of objdump when localized (mga#7883):
+export LC_ALL=C
+
#
# --- Alpha does not mark 64bit dependencies
case `uname -m` in
diff --git a/find-requires.in b/find-requires.in
index 4ddbf59..1e76523 100755
--- a/find-requires.in
+++ b/find-requires.in
@@ -7,6 +7,9 @@
ulimit -c 0
+# fix parsing output of objdump when localized (mga#7883):
+export LC_ALL=C
+
#
# --- Set needed to 0 for traditional find-requires behavior.
needed=1