diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-08-18 15:32:42 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-08-18 15:32:42 +0000 |
commit | 99e7d8c6be46032489468a466a204f7195648b2b (patch) | |
tree | 298ae35595e275e21143c1e128a4765227657a71 | |
parent | dcc53a4cf71d80771699cd75adca17c2ff3596d4 (diff) | |
download | perl-URPM-99e7d8c6be46032489468a466a204f7195648b2b.tar perl-URPM-99e7d8c6be46032489468a466a204f7195648b2b.tar.gz perl-URPM-99e7d8c6be46032489468a466a204f7195648b2b.tar.bz2 perl-URPM-99e7d8c6be46032489468a466a204f7195648b2b.tar.xz perl-URPM-99e7d8c6be46032489468a466a204f7195648b2b.zip |
Allow to rebuild URPM under non-C locales (Boris Filipovic)
-rw-r--r-- | Makefile.PL | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.PL b/Makefile.PL index 3f59758..76d9307 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,6 +1,6 @@ use ExtUtils::MakeMaker; -my $version = `rpm --version`; +my $version = `LC_ALL=C rpm --version`; $version =~ s/RPM version //; $version =~ /^(?:4\.[2-9]|[5-9]|\d{2})/ or die "unable to build URPM with too old (or undetected) rpm version $version"; |