Skip to content

Commit

Permalink
Feat: adapt spec to install languages
Browse files Browse the repository at this point in the history
  • Loading branch information
mbologna committed Sep 29, 2020
1 parent 943f20b commit a2c73af
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion spacecmd/spacecmd.spec
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ touch %{buildroot}/%{python_sitelib}/spacecmd/__init__.py
%endif
%endif

make -C po install PREFIX=$RPM_BUILD_ROOT
%find_lang spacecmd

%check
%if 0%{?pylint_check}
%if 0%{?build_py3}
Expand All @@ -157,7 +160,7 @@ PYTHONPATH=$RPM_BUILD_ROOT%{python_sitelib} \
%endif
%endif

%files
%files -f spacecmd.lang
%defattr(-,root,root)
%{_bindir}/spacecmd
%{python_sitelib}/spacecmd/
Expand Down

0 comments on commit a2c73af

Please sign in to comment.