Package git translations.
Signed-off-by: Adam Tkac <atkac@redhat.com>
This commit is contained in:
parent
f574a8e350
commit
df0d1ad6ab
5
git.spec
5
git.spec
@ -421,6 +421,9 @@ desktop-file-install \
|
|||||||
%endif
|
%endif
|
||||||
--dir=%{buildroot}%{_datadir}/applications %{SOURCE5}
|
--dir=%{buildroot}%{_datadir}/applications %{SOURCE5}
|
||||||
|
|
||||||
|
# find translations
|
||||||
|
%find_lang %{name} %{name}.lang
|
||||||
|
|
||||||
# quiet some rpmlint complaints
|
# quiet some rpmlint complaints
|
||||||
chmod -R g-w %{buildroot}
|
chmod -R g-w %{buildroot}
|
||||||
find %{buildroot} -name git-mergetool--lib | xargs chmod a-x
|
find %{buildroot} -name git-mergetool--lib | xargs chmod a-x
|
||||||
@ -433,7 +436,7 @@ find contrib -type f | xargs chmod -x
|
|||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
|
||||||
%files -f bin-man-doc-files
|
%files -f bin-man-doc-files -f %{name}.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_datadir}/git-core/
|
%{_datadir}/git-core/
|
||||||
%dir %{gitcoredir}
|
%dir %{gitcoredir}
|
||||||
|
Loading…
Reference in New Issue
Block a user