Use macro for package name for find_lang.

This commit is contained in:
Tim Waugh 2011-06-29 10:09:22 +01:00
parent 0246f23c9f
commit 7a7cbf3333

View File

@ -198,7 +198,7 @@ rm -f %{buildroot}%{_datadir}/foomatic/kitload.log
rm -rf %{buildroot}%{_libdir}/gutenprint/5.2/modules/*.la
rm -f %{buildroot}%{_sysconfdir}/cups/command.types
%find_lang gutenprint --all-name
%find_lang %{name} --all-name
%if %{build_with_ijs_support}
%else
@ -232,7 +232,7 @@ rm -rf %{buildroot}
exit 0
%files -f gutenprint.lang
%files -f %{name}.lang
%defattr(-, root, root,-)
%doc COPYING
%{_bindir}/escputil