Work-around to "make test" not supporting LC_MESSAGES=POSIX.

This commit is contained in:
corsepiu 2005-11-02 07:33:27 +00:00
parent dcd75fbfec
commit 07953fee19

View File

@ -1,6 +1,6 @@
Name: perl-gettext
Version: 1.05
Release: 6%{?dist}
Release: 7%{?dist}
Summary: Interface to gettext family of functions
Group: Development/Libraries
@ -38,9 +38,13 @@ chmod -R u+w $RPM_BUILD_ROOT/*
%check
unset LC_MESSAGES
case "$LANG" in
''|'C'|'POSIX' )
export LANG=en_US.UTF-8;;
esac
make test
%clean
rm -rf $RPM_BUILD_ROOT
@ -54,6 +58,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Wed Nov 02 2005 Ralf Corsepius <rc040203@freenet.de> - 1.05-7
- Work-around to "make test" not supporting LC_MESSAGES=POSIX.
* Wed Nov 02 2005 Ralf Corsepius <rc040203@freenet.de> - 1.05-6
- Obsoletes: perl-Locale-gettext <= 1.05.
- Fix minor spec file typos.