From d2d4084c19307ffc8ae9a390bf5b6bf7317e1f85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20F=C3=A9ron?= Date: Thu, 4 Apr 2019 22:32:19 +0200 Subject: [PATCH] Add all missing CMakeCache parameters to populate CuraVersion.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Gabriel Féron --- cura.spec | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/cura.spec b/cura.spec index 6e69318..33e3833 100644 --- a/cura.spec +++ b/cura.spec @@ -57,6 +57,9 @@ needs. As it's open source, our community helps enrich it even more. # see: https://github.com/Ultimaker/Cura/issues/5142 %define cura_sdk_version 6.0.0 +%define cura_cloud_api_root https://api.ultimaker.com +%define cura_cloud_api_version 1 +%define cura_cloud_account_api_root https://account.ultimaker.com %prep %autosetup -p1 -S git -n Cura-%{version} @@ -67,9 +70,15 @@ dos2unix docs/How_to_use_the_flame_graph_profiler.md # Wrong shebang sed -i '1s=^#!/usr/bin/\(python\|env python\)3*=#!%{__python3}=' cura_app.py - %build -%{cmake} -DCURA_VERSION:STRING=%{version} -DCURA_SDK_VERSION:STRING=%{cura_sdk_version} -DLIB_SUFFIX:STR= . +%{cmake} \ + -DCURA_VERSION:STRING=%{version} \ + -DCURA_BUILDTYPE=RPM \ + -DCURA_SDK_VERSION:STRING=%{cura_sdk_version} \ + -DCURA_CLOUD_API_ROOT:STRING=%{cura_cloud_api_root} \ + -DCURA_CLOUD_API_VERSION:STRING=%{cura_cloud_api_version} \ + -DCURA_CLOUD_ACCOUNT_API_ROOT:STRING=%{cura_cloud_account_api_root} \ + -DLIB_SUFFIX:STR= . make %{?_smp_mflags} # rebuild locales @@ -129,6 +138,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop %{_prefix}/lib/%{name} %changelog +* Thu Apr 04 2019 Gabriel Féron - 4.0.0-1 +- Update to 4.0.0 + * Thu Jan 31 2019 Fedora Release Engineering - 1:3.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild