[xfsdump] Pick up lang files

Eric Sandeen sandeen at fedoraproject.org
Thu Dec 13 22:48:02 UTC 2012


commit 2a641e70a0fe19b40bf87e1af129cf999f37fefb
Author: Eric Sandeen <sandeen at redhat.com>
Date:   Thu Dec 13 16:47:51 2012 -0600

    Pick up lang files

 xfsdump.spec |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/xfsdump.spec b/xfsdump.spec
index d97bc49..d55e22b 100644
--- a/xfsdump.spec
+++ b/xfsdump.spec
@@ -49,10 +49,12 @@ rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/xfsdump/
 (cd $RPM_BUILD_ROOT/%{_sbindir}; mv ../../sbin/xfsdump .)
 (cd $RPM_BUILD_ROOT/%{_sbindir}; mv ../../sbin/xfsrestore .)
 
+%find_lang %{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(-,root,root)
 %doc README doc/COPYING doc/CHANGES doc/README.xfsdump doc/xfsdump_ts.txt
 %{_mandir}/man8/*


More information about the scm-commits mailing list