Hello community, here is the log from the commit of package leechcraft for openSUSE:Factory checked in at 2015-08-25 07:19:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/leechcraft (Old) and /work/SRC/openSUSE:Factory/.leechcraft.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "leechcraft" Changes: -------- --- /work/SRC/openSUSE:Factory/leechcraft/leechcraft.changes 2015-07-05 18:02:41.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.leechcraft.new/leechcraft.changes 2015-08-25 08:50:43.000000000 +0200 @@ -1,0 +2,6 @@ +Fri Aug 21 19:03:03 UTC 2015 - norm...@linux.vnet.ibm.com + +- bypass bug 927268 for PowerPC if clang used in place of gcc + for build ppc64le architecture and (suse_version} <= 1320 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ leechcraft.spec ++++++ --- /var/tmp/diff_new_pack.Z5dmJf/_old 2015-08-25 08:50:44.000000000 +0200 +++ /var/tmp/diff_new_pack.Z5dmJf/_new 2015-08-25 08:50:44.000000000 +0200 @@ -2474,9 +2474,9 @@ #setup permissions correctly to avoid false duplicates reported by rpmlint (bnc#784670) find src -name '*.png' -or -name '*.css' -or -name '*.gif' -exec chmod 0644 {} + +%build mkdir build && cd build - %ifarch %ix86 %arm x86_64 ppc64 ppc64le %if 0%{suse_version} <= 1320 export CC=/usr/bin/clang @@ -2484,6 +2484,14 @@ %endif %endif +# bypass bug 927268 for PowerPC if clang is used above in place of gcc +tmpflags="%{optflags}" +%ifarch ppc64 ppc64le +%if 0%{suse_version} <= 1320 +tmpflags=${tmpflags/-fstack-protector} +%endif +%endif + cmake ../src \ %if "%{_lib}" == "lib64" -DLIB_SUFFIX=64 \ @@ -2491,7 +2499,7 @@ %if %{use_cpp14} -DUSE_CPP14=True \ %endif - -DCMAKE_CXX_FLAGS="%{optflags} -Doverride=" \ + -DCMAKE_CXX_FLAGS="${tmpflags} -Doverride=" \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DSTRICT_LICENSING=True \ @@ -2672,8 +2680,6 @@ -DENABLE_ZALIL=True \ -DLEECHCRAFT_VERSION=%{LEECHCRAFT_VERSION} -%build -cd build make -k %{?_smp_mflags} VERBOSE=1 %install