]> git.pld-linux.org Git - packages/lftp.git/blobdiff - lftp.spec
- unifited using %find_lang macro to scheme:
[packages/lftp.git] / lftp.spec
index d633e07e4ec67090148bed5f118342a455ba3f7f..679a5ed0ee2f33649b9fc160312471ea00efdfb7 100644 (file)
--- a/lftp.spec
+++ b/lftp.spec
@@ -35,7 +35,7 @@ Doskonale si
 %build
 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
 CXXFLAGS="$RPM_OPT_FLAGS" \
-./configure %{_target} \
+./configure %{_target_platform} \
        --prefix=/usr
 make 
 
@@ -52,12 +52,12 @@ install lftp.conf $RPM_BUILD_ROOT/etc
 gzip -9fn $RPM_BUILD_ROOT%{_mandir}/man1/* \
        README NEWS 
 
-%find_lang lftp
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files -f lftp.lang
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc {README,NEWS}.gz
 %config(noreplace) %verify(not size mtime md5) /etc/lftp.conf
This page took 0.042317 seconds and 4 git commands to generate.