From 7a7cbf3333f755ecd12aa5128ca7991e597bf678 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Wed, 29 Jun 2011 10:09:22 +0100 Subject: [PATCH] Use macro for package name for find_lang. --- gutenprint.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gutenprint.spec b/gutenprint.spec index 3a88d41..ece3c78 100644 --- a/gutenprint.spec +++ b/gutenprint.spec @@ -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