Bytecompile the plugins explicitly
This commit is contained in:
parent
a508659f97
commit
b86e7c0177
1 changed files with 9 additions and 2 deletions
11
cura.spec
11
cura.spec
|
|
@ -1,7 +1,7 @@
|
|||
Name: cura
|
||||
Epoch: 1
|
||||
Version: 3.3.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: 3D printer control software
|
||||
|
||||
# https://lists.fedoraproject.org/archives/list/legal@lists.fedoraproject.org/thread/MOUNX6I3POCDMYWBNJ7JPLLIKVYWVRBJ/
|
||||
|
|
@ -13,7 +13,8 @@ Source0: https://github.com/Ultimaker/Cura/archive/%{version}.tar.gz#/%{n
|
|||
BuildArch: noarch
|
||||
|
||||
# There are Python plugins in /usr/lib/cura
|
||||
# We need to byte-compile it with Python 3
|
||||
%global _python_bytecompile_extra 0
|
||||
# For backwards compatibility (not needed on F29+):
|
||||
%global __python %{__python3}
|
||||
|
||||
BuildRequires: cmake
|
||||
|
|
@ -94,6 +95,9 @@ popd
|
|||
rm -rf %{buildroot}%{_datadir}/%{name}/resources/themes/cura-light/fonts/
|
||||
ln -s %{_datadir}/fonts/open-sans/ %{buildroot}%{_datadir}/%{name}/resources/themes/cura-light/fonts
|
||||
|
||||
# Bytecompile the plugins
|
||||
%py_byte_compile %{__python3} %{buildroot}%{_prefix}/lib/cura
|
||||
|
||||
%find_lang cura
|
||||
%find_lang fdmextruder.def.json
|
||||
%find_lang fdmprinter.def.json
|
||||
|
|
@ -121,6 +125,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
|
|||
%{_prefix}/lib/%{name}
|
||||
|
||||
%changelog
|
||||
* Sun Jun 17 2018 Miro Hrončok <mhroncok@redhat.com> - 1:3.3.0-2
|
||||
- Bytecompile the plugins explicitly
|
||||
|
||||
* Wed May 02 2018 Miro Hrončok <mhroncok@redhat.com> - 1:3.3.0-1
|
||||
- Update to 3.3.0
|
||||
- Enable test_getPropertyFallThrough again
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue