]> git.pld-linux.org Git - packages/adduser.git/commitdiff
- unifited using %find_lang macro to scheme:
authorkloczek <kloczek@pld-linux.org>
Mon, 21 Jun 1999 07:09:55 +0000 (07:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
%install
[..]
%find_lang %{name}
[..]
%files -f %{name}.lang

Changed files:
    adduser.spec -> 1.9

adduser.spec

index 7654dfebff1eb6e94eac4e8927eaf0d07e1a9584..9388cf5ea4a5c4dc8151296a207bbba8d6bcff4b 100644 (file)
@@ -42,15 +42,15 @@ done
 ln -sf en $RPM_BUILD_ROOT/etc/skel/default
 msgfmt po/pl.po -o $RPM_BUILD_ROOT%{_datadir}/locale/pl/LC_MESSAGES/adduser.mo
 
+%find_lang %{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %attr(700,root,root) %{_sbindir}/*
 
-%lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/adduser.mo
-
 %attr(750,root,root) %dir /etc/adduser.d
 %attr(700,root,root) %dir /etc/skel/C
 %attr(700,root,root) %dir %lang(pl) /etc/skel/pl
This page took 0.068646 seconds and 4 git commands to generate.