Hello community,

here is the log from the commit of package Vc for openSUSE:Factory checked in 
at 2018-02-25 11:47:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/Vc (Old)
 and      /work/SRC/openSUSE:Factory/.Vc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "Vc"

Sun Feb 25 11:47:22 2018 rev:9 rq:579830 version:1.3.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/Vc/Vc.changes    2018-02-16 21:45:09.666029975 
+0100
+++ /work/SRC/openSUSE:Factory/.Vc.new/Vc.changes       2018-02-25 
11:47:22.875693107 +0100
@@ -1,0 +2,9 @@
+Tue Feb 20 20:46:38 UTC 2018 - [email protected]
+
+- Drop ExclusiveArch, Vc 1.3.3 is no longer x86 only
+  Add default_to_scalar_implementation_for_unknown_arch.patch
+- Split documentation to subpackage
+- Drop redundant %doc in front of %_docdir
+- Remove unneeded fdupes BuildRequires
+
+-------------------------------------------------------------------

New:
----
  default_to_scalar_implementation_for_unknown_arch.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ Vc.spec ++++++
--- /var/tmp/diff_new_pack.SFvhVl/_old  2018-02-25 11:47:23.979653049 +0100
+++ /var/tmp/diff_new_pack.SFvhVl/_new  2018-02-25 11:47:23.983652904 +0100
@@ -27,11 +27,11 @@
 Source0:        
https://github.com/VcDevel/Vc/releases/download/%{version}/%{name}-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM fix_i686_build.patch [email protected] -- Fix 
i686 build
 Patch0:         fix_i686_build.patch
+# PATCH-FIX-SUSE default_to_scalar_implementation_for_unknown_arch.patch 
[email protected] -- fix PPC build
+Patch1:         default_to_scalar_implementation_for_unknown_arch.patch
 BuildRequires:  cmake
 BuildRequires:  doxygen
-BuildRequires:  fdupes
 BuildRequires:  gcc-c++
-ExclusiveArch:  %{ix86} x86_64
 
 %description
 Vc is a free software library to ease explicit vectorization of C++ code. It
@@ -51,6 +51,19 @@
 
 This package provides development headers needed to build software using Vc.
 
+%package devel-doc
+Summary:        API documentation for Vc
+Group:          Development/Libraries/C and C++
+BuildArch:      noarch
+
+%description devel-doc
+Vc is a free software library to ease explicit vectorization of C++ code. It
+has an intuitive API and provides portability between different compilers and
+compiler versions as well as portability between different vector instruction
+sets.
+
+This package provides the API documentation
+
 %package devel-static
 Summary:        Vc Static Library
 Group:          Development/Libraries/C and C++
@@ -67,6 +80,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p0
 
 %build
 %cmake \
@@ -81,15 +95,16 @@
 %install
 %cmake_install
 
-# Install devel docs (do it manually to fix also rpmlint warning 
"files-duplicate" with %%fdupes)
-mkdir -p %{buildroot}%{_docdir}/%{name}-devel
-cp -a doc/html/ %{buildroot}%{_docdir}/%{name}-devel/
-
-%fdupes -s %{buildroot}
+# Install devel docs
+mkdir -p %{buildroot}%{_docdir}/%{name}-devel-doc/
+cp -a doc/html %{buildroot}%{_docdir}/%{name}-devel-doc/
+
+%files devel-doc
+%doc README.md
+%{_docdir}/%{name}-devel-doc/
 
 %files devel
-%doc LICENSE README.md
-%doc %{_docdir}/%{name}-devel/
+%doc LICENSE
 %{_includedir}/Vc/
 %dir %{_libdir}/cmake
 %{_libdir}/cmake/Vc/

++++++ default_to_scalar_implementation_for_unknown_arch.patch ++++++
--- CMakeLists.txt.orig 2018-02-20 21:40:23.851663534 +0100
+++ CMakeLists.txt      2018-02-20 21:41:10.567838665 +0100
@@ -149,7 +149,8 @@
 elseif(Vc_ARM)
    list(APPEND _srcs src/support_dummy.cpp)
 else()
-   message(FATAL_ERROR "Unsupported target architecture 
'${CMAKE_SYSTEM_PROCESSOR}'. No support_???.cpp file exists for this 
architecture.")
+   message(STATUS "Unsupported target architecture 
'${CMAKE_SYSTEM_PROCESSOR}'. No support_???.cpp file exists for this 
architecture.")
+   list(APPEND _srcs src/support_dummy.cpp)
 endif()
 add_library(Vc STATIC ${_srcs})
 set_property(TARGET Vc APPEND PROPERTY COMPILE_OPTIONS ${libvc_compile_flags})

Reply via email to