commit 236f71785bb2855694dd8afa256d63845cb52c9d
Author: Peter Robinson <pbrobinson(a)gmail.com>
Date: Mon Jan 31 23:38:24 2011 +0000
fix lang build
sugar-distance.spec | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/sugar-distance.spec b/sugar-distance.spec
index a902e56..2420df7 100644
--- a/sugar-distance.spec
+++ b/sugar-distance.spec
@@ -20,7 +20,7 @@ between two XOs by measuring how long it takes sound pulses to travel
between them.
%prep
-%setup -q -n Distance-%{version}
+%setup -q -n Distance.activity
%build
@@ -32,10 +32,9 @@ mkdir -p %{buildroot}%{sugaractivitydir}
./setup.py install --prefix=%{buildroot}/%{_prefix}
find %{buildroot}%{sugaractivitydir}Distance.activity/arange.py -type f -name \* -exec chmod 644 {} \;
-#%find_lang org.laptop.Distance
+%find_lang org.laptop.AcousticMeasure
-%files
-# -f org.laptop.Distance.lang
+%files -f org.laptop.AcousticMeasure.lang
%defattr(-,root,root,-)
%doc NEWS
%{sugaractivitydir}/Distance.activity/