find-lang fixes

This commit is contained in:
Elliot Lee 2002-06-20 20:56:07 +00:00
parent 8c076a37c8
commit 3ee6bad5b9
3 changed files with 11 additions and 3 deletions

View File

@ -93,3 +93,9 @@ s:'"$TOP_DIR"'::
s:^\([^%].*\)::
s:%lang(C) ::
' >> $MO_NAME
if ! grep -q / $MO_NAME; then
echo "No translations found for ${NAME} in ${TOP_DIR}"
exit 1
fi
exit 0

2
macros
View File

@ -127,3 +127,5 @@ export LANG\
LANG=C\
export LANG\
%{nil}
%find_lang /usr/lib/rpm/redhat/find-lang.sh %{buildroot}

View File

@ -1,7 +1,7 @@
Summary: Red Hat specific rpm configuration files.
Name: redhat-rpm-config
Version: 7.3.91
Release: 2
Version: 7.3.92
Release: 1
License: GPL
Group: Development/System
Source: redhat-rpm-config-%{version}.tar.gz
@ -27,7 +27,7 @@ rm -rf ${RPM_BUILD_ROOT}
%{_prefix}/lib/rpm/redhat
%changelog
* Thu Jun 20 2002 Elliot Lee <sopwith@redhat.com> 7.3.91-2
* Thu Jun 20 2002 Elliot Lee <sopwith@redhat.com> 7.3.92-1
- find-lang error detection from Havoc
* Wed Jun 12 2002 Elliot Lee <sopwith@redhat.com> 7.3.91-1