diff --git a/CuraEngine-2.7.0.obscpio b/CuraEngine-2.7.0.obscpio
deleted file mode 100644
index a5fc447..0000000
--- a/CuraEngine-2.7.0.obscpio
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:7a92096401c88e406cb47e2b7649838ae0a5888937cb37185dd2a7d701676db5
-size 2661388
diff --git a/CuraEngine-3.0.3.obscpio b/CuraEngine-3.0.3.obscpio
new file mode 100644
index 0000000..30dc1d5
--- /dev/null
+++ b/CuraEngine-3.0.3.obscpio
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:240e410aa3347713e7d5d291028e48e118fa0b7253c19fdaac66ff45dfbdbfd9
+size 2763789
diff --git a/CuraEngine.obsinfo b/CuraEngine.obsinfo
index bde5dbb..24e6d73 100644
--- a/CuraEngine.obsinfo
+++ b/CuraEngine.obsinfo
@@ -1,5 +1,5 @@
name: CuraEngine
-version: 2.7.0
-mtime: 1503930910
-commit: 0b101c60e018b3f0ef1f87037a6b2b20a5a013ff
+version: 3.0.3
+mtime: 1507791253
+commit: e998617c5d1171a827a9d73946be6e434e994c6c
diff --git a/_service b/_service
index bf58cac..274dd93 100644
--- a/_service
+++ b/_service
@@ -2,8 +2,8 @@
https://github.com/Ultimaker/CuraEngine.git
git
- 2.7.0
- 2.7.0
+ 3.0.3
+ 3.0.3
disable
diff --git a/cura-engine.changes b/cura-engine.changes
index 9695a2e..fa1d43e 100644
--- a/cura-engine.changes
+++ b/cura-engine.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Fri Nov 3 07:20:42 UTC 2017 - adrian@suse.de
+
+- update to version 3.0.3
+
-------------------------------------------------------------------
Tue Sep 12 17:03:00 UTC 2017 - stefan.bruens@rwth-aachen.de
diff --git a/cura-engine.spec b/cura-engine.spec
index df3d5fd..5d68bd8 100644
--- a/cura-engine.spec
+++ b/cura-engine.spec
@@ -17,21 +17,17 @@
Name: cura-engine
-Version: 2.7.0
+Version: 3.0.3
Release: 0
Summary: 3D printer control software
License: AGPL-3.0
-Group: Applications/Engineering
+Group: BLAH
Url: http://github.com/Ultimaker/CuraEngine
Source0: https://github.com/Ultimaker/CuraEngine/archive/%{version}/CuraEngine-%{version}.tar.xz
Source1: CuraEngine.1
Patch1: fix-build.patch
-# On TW/Factory or Leap/SLE 15 use latest gcc, gcc5 otherwise
-%if 0%{?suse_version} <= 1320
-BuildRequires: gcc5-c++
-%else
-BuildRequires: gcc-c++ >= 5
-%endif
+BuildRequires: gcc6-c++
+#!BuildIgnore: libgcc_s1
BuildRequires: cmake
BuildRequires: libArcus-devel
@@ -45,11 +41,12 @@ It is part of the larger open source project called "Cura".
%patch1 -p1
%build
-%if 0%{?suse_version} <= 1320
-export CXX="g++-5"
-export CC="gcc-5"
+%if 0%{?suse_version} < 1500
+export CC=gcc-6
+export CXX=g++-6
%endif
-%cmake -DCMAKE_POSITION_INDEPENDENT_CODE="true"
+%cmake -DCMAKE_C_FLAGS="%{optflags} -fPIC" \
+ -DCMAKE_CXX_FLAGS="%{optflags} -fPIC -fpermissive"
make %{?_smp_mflags}
%install
@@ -63,7 +60,7 @@ install -Dm0755 lib_CuraEngine.so %{buildroot}%{_libdir}/lib_CuraEngine.so
%files
%defattr(-,root,root,-)
%_bindir/CuraEngine
-%_libdir/lib*
+%_libdir/*
%_mandir/man1/CuraEngine.1*
%changelog