Hello community,

here is the log from the commit of package llvm7 for openSUSE:Factory checked 
in at 2019-09-09 12:35:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/llvm7 (Old)
 and      /work/SRC/openSUSE:Factory/.llvm7.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "llvm7"

Mon Sep  9 12:35:05 2019 rev:18 rq:729183 version:7.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/llvm7/llvm7.changes      2019-09-04 
09:35:49.846686760 +0200
+++ /work/SRC/openSUSE:Factory/.llvm7.new.7948/llvm7.changes    2019-09-09 
12:35:11.873474158 +0200
@@ -1,0 +2,24 @@
+Wed Sep  4 15:02:41 UTC 2019 - Aaron Puchert <aaronpuch...@alice-dsl.net>
+
+- Use the documented LLVM_ENABLE_RTTI to enable RTTI instead of
+  LLVM_REQUIRES_RTTI, which "is an internal flag that individual
+  targets can use to force RTTI". (boo#1139584)
+- Drop obsolete llvm-build-tests-with-rtti.patch.
+- Remove unneccesary dependencies:
+  * groff, bison and flex don't seem to be used.
+  * jsoncpp is no longer used since r338461.
+  * Don't recommend scan-{build,view} in clang (boo#1145444).
+  * Devel packages are only required in other devel packages,
+    when their headers are included in the installed headers.
+- Remove some duplicate BuildRequires.
+- Move libxml to the main package, since Clang also needs it.
+- Remove unused (since r268685) CMake flags LLVM_ENABLE_TIMESTAMPS.
+- Package gold linker plugin again.
+- Don't build libc++ and python3-clang anymore, because they come
+  from llvm8 now (boo#1145735).
+- Don't recommend scan-build and scan-view in clang. (boo#1145444)
+- Add versions to Provides/Conflicts except for files.
+- Fix installation of opt-viewer files when python3-clang is no
+  longer built.
+
+-------------------------------------------------------------------

Old:
----
  llvm-build-tests-with-rtti.patch

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

Other differences:
------------------
++++++ llvm7.spec ++++++
--- /var/tmp/diff_new_pack.24pMef/_old  2019-09-09 12:35:15.069473635 +0200
+++ /var/tmp/diff_new_pack.24pMef/_new  2019-09-09 12:35:15.073473635 +0200
@@ -23,11 +23,8 @@
 %define _uaver  701
 %define _socxx  1
 %define _revsn  349238
-%ifarch x86_64 aarch64 %arm
-%bcond_without libcxx
-%else
+# Superseded by llvm8.
 %bcond_with libcxx
-%endif
 %ifarch aarch64 ppc64 ppc64le %{ix86} x86_64
 %bcond_without openmp
 %else
@@ -58,7 +55,7 @@
 %bcond_with ffi
 %bcond_with oprofile
 %bcond_with valgrind
-%bcond_without pyclang
+%bcond_with pyclang
 
 Name:           llvm7
 Version:        7.0.1
@@ -99,7 +96,6 @@
 Patch14:        llvm-do-not-install-static-libraries.patch
 Patch15:        opt-viewer-Do-not-require-python-2.patch
 Patch16:        n_clang_allow_BUILD_SHARED_LIBRARY.patch
-Patch18:        llvm-build-tests-with-rtti.patch
 Patch20:        llvm_build_tablegen_component_as_shared_library.patch
 Patch21:        tests-use-python3.patch
 Patch22:        llvm-better-detect-64bit-atomics-support.patch
@@ -119,15 +115,13 @@
 %endif
 BuildRequires:  cmake
 BuildRequires:  fdupes
-BuildRequires:  groff
-BuildRequires:  jsoncpp-devel
 BuildRequires:  libstdc++-devel
 BuildRequires:  libtool
-BuildRequires:  ncurses-devel
 BuildRequires:  ninja
 BuildRequires:  pkgconfig
 BuildRequires:  python3
 BuildRequires:  pkgconfig(libedit)
+BuildRequires:  pkgconfig(libxml-2.0)
 BuildRequires:  pkgconfig(zlib)
 # Avoid multiple provider errors
 Requires:       libLLVM%{_sonum}
@@ -167,22 +161,14 @@
 Summary:        Header Files for LLVM
 Group:          Development/Libraries/C and C++
 Requires:       %{name} = %{_relver}
-Requires:       binutils-devel >= 2.21.90
-Requires:       bison
-Requires:       flex
-Requires:       groff
 Requires:       libstdc++-devel
 Requires:       libtool
 Requires:       llvm%{_sonum}-LTO-devel
-%if %{with gold}
 Requires:       llvm%{_sonum}-gold
-%endif
 Requires:       llvm%{_sonum}-polly-devel
-Requires:       ncurses-devel
 Requires:       pkgconfig
-Requires:       pkgconfig(libedit)
-Provides:       llvm-devel-provider
-Conflicts:      llvm-devel-provider
+Provides:       llvm-devel-provider = %{version}
+Conflicts:      llvm-devel-provider < %{version}
 Conflicts:      cmake(LLVM)
 %if %{with ffi}
 Requires:       pkgconfig(libffi)
@@ -206,8 +192,6 @@
 Requires:       libLTO%{_sonum}
 Requires:       libclang%{_sonum}
 Recommends:     clang%{_sonum}-checker
-Recommends:     scan-build
-Recommends:     scan-view
 Suggests:       libstdc++-devel
 Suggests:       libc++-devel
 %if %{with cxx}
@@ -227,10 +211,10 @@
 Requires:       libclang%{_sonum}
 # Due to a packaging error in clang3_8 we have to conflict.
 Conflicts:      clang3_8
-Conflicts:      scan-build
-Conflicts:      scan-view
-Provides:       scan-build
-Provides:       scan-view
+Conflicts:      scan-build < %{version}
+Conflicts:      scan-view < %{version}
+Provides:       scan-build = %{version}
+Provides:       scan-view = %{version}
 
 %description -n clang%{_sonum}-checker
 This package contains scan-build and scan-view, command line
@@ -241,10 +225,10 @@
 # Avoid multiple provider errors
 Group:          Development/Languages/C and C++
 Requires:       libclang%{_sonum} = %{_relver}
-Conflicts:      clang-include-fixer
-Conflicts:      find-all-symbols
-Provides:       clang-include-fixer
-Provides:       find-all-symbols
+Conflicts:      clang-include-fixer < %{version}
+Conflicts:      find-all-symbols < %{version}
+Provides:       clang-include-fixer = %{version}
+Provides:       find-all-symbols = %{version}
 
 %description -n clang%{_sonum}-include-fixer
 One of the major nuisances of C++ compared to other languages
@@ -293,33 +277,31 @@
 Group:          Development/Libraries/C and C++
 Requires:       %{name}-devel = %{_relver}
 Requires:       libLTO%{_sonum}
-Conflicts:      libLTO.so
-Provides:       libLTO.so
+Conflicts:      libLTO.so < %{version}
+Provides:       libLTO.so = %{version}
 
 %description LTO-devel
 This package contains the link-time optimizer for LLVM.
 (development files)
 
-%if %{with gold}
 %package gold
 Summary:        Gold linker plugin for LLVM
 # Avoid multiple provider errors
 Group:          Development/Tools/Building
 Requires:       libLLVM%{_sonum}
-Conflicts:      llvm-gold-provider
-Provides:       llvm-gold-provider
+Conflicts:      llvm-gold-provider < %{version}
+Provides:       llvm-gold-provider = %{version}
 
 %description gold
 This package contains the Gold linker plugin for LLVM.
-%endif
 
 %package -n libomp%{_sonum}-devel
 Summary:        MPI plugin for LLVM
 # Avoid multiple provider errors
 Group:          Development/Libraries/C and C++
 Requires:       libLLVM%{_sonum}
-Conflicts:      libomp-devel
-Provides:       libomp-devel
+Conflicts:      libomp-devel < %{version}
+Provides:       libomp-devel = %{version}
 
 %description -n libomp%{_sonum}-devel
 This package contains the OpenMP MPI plugin for LLVM.
@@ -341,8 +323,8 @@
 Group:          Development/Libraries/C and C++
 Requires:       libc++%{_socxx} = %{_relver}
 Requires:       libc++abi-devel = %{_relver}
-Conflicts:      libc++.so
-Provides:       libc++.so
+Conflicts:      libc++.so < %{version}
+Provides:       libc++.so = %{version}
 
 %description -n libc++-devel
 This package contains libc++, a new implementation of the C++
@@ -362,8 +344,8 @@
 Group:          Development/Libraries/C and C++
 Requires:       libc++-devel
 Requires:       libc++abi%{_socxx} = %{_relver}
-Conflicts:      libc++abi.so
-Provides:       libc++abi.so
+Conflicts:      libc++abi.so < %{version}
+Provides:       libc++abi.so = %{version}
 
 %description -n libc++abi-devel
 This package contains the ABI for libc++, a new implementation
@@ -375,8 +357,8 @@
 Summary:        Vim plugins for LLVM
 Group:          Productivity/Text/Editors
 Supplements:    packageand(llvm%{_sonum}-devel:vim)
-Conflicts:      vim-plugin-llvm
-Provides:       vim-plugin-llvm
+Conflicts:      vim-plugin-llvm < %{version}
+Provides:       vim-plugin-llvm = %{version}
 BuildArch:      noarch
 
 %description    vim-plugins
@@ -386,8 +368,8 @@
 Summary:        Emacs plugins for LLVM
 Group:          Productivity/Text/Editors
 Supplements:    packageand(llvm%{_sonum}-devel:emacs)
-Conflicts:      emacs-llvm
-Provides:       emacs-llvm
+Conflicts:      emacs-llvm < %{version}
+Provides:       emacs-llvm = %{version}
 BuildArch:      noarch
 
 %description    emacs-plugins
@@ -418,13 +400,11 @@
 %package opt-viewer
 Summary:        Tools for visualising the LLVM optimization records
 Group:          Development/Languages/Other
-BuildRequires:  python3
-Requires:       python3
 Requires:       python3-PyYAML
 Requires:       python3-Pygments
 BuildArch:      noarch
-Conflicts:      opt-viewer
-Provides:       opt-viewer
+Conflicts:      opt-viewer < %{version}
+Provides:       opt-viewer = %{version}
 
 %description opt-viewer
 Set of tools for visualising the LLVM optimization records generated with 
-fsave-optimization-record. Used for compiler-assisted performance analysis.
@@ -434,14 +414,9 @@
 Summary:        Software debugger built using LLVM libraries
 Group:          Development/Tools/Debuggers
 Url:            https://lldb.llvm.org/
-BuildRequires:  cmake
-BuildRequires:  fdupes
-BuildRequires:  ncurses-devel
-BuildRequires:  pkgconfig(libedit)
-BuildRequires:  pkgconfig(libffi)
-BuildRequires:  pkgconfig(libxml-2.0)
+BuildRequires:  pkgconfig(ncurses)
+BuildRequires:  pkgconfig(panel)
 BuildRequires:  pkgconfig(python3)
-BuildRequires:  pkgconfig(zlib)
 # Avoid multiple provider errors
 Requires:       liblldb%{_sonum} = %{_relver}
 Requires:       python3
@@ -471,17 +446,12 @@
 # Avoid multiple provider errors
 Group:          Development/Libraries/C and C++
 Requires:       clang%{_sonum}-devel = %{_relver}
-Requires:       cmake
 Requires:       liblldb%{_sonum} = %{_relver}
 Requires:       llvm%{_sonum}-devel = %{_relver}
-Requires:       ncurses-devel
-Requires:       swig
 Requires:       pkgconfig(libedit)
-Requires:       pkgconfig(libffi)
 Requires:       pkgconfig(libxml-2.0)
-Requires:       pkgconfig(zlib)
-Provides:       lldb-devel-provider
-Conflicts:      lldb-devel-provider
+Provides:       lldb-devel-provider = %{version}
+Conflicts:      lldb-devel-provider < %{version}
 
 %description -n lldb%{_sonum}-devel
 This package contains the development files for LLDB.
@@ -506,8 +476,8 @@
 Summary:        LLVM Framework for High-Level Loop and Data-Locality 
Optimizations
 Group:          Development/Languages/Other
 Url:            https://polly.llvm.org/
-Conflicts:      llvm-polly-provider
-Provides:       llvm-polly-provider
+Conflicts:      llvm-polly-provider < %{version}
+Provides:       llvm-polly-provider = %{version}
 
 %description polly
 Polly is a high-level loop and data-locality optimizer and optimization
@@ -521,8 +491,8 @@
 Summary:        Development files for Polly
 Group:          Development/Libraries/C and C++
 Requires:       llvm%{_sonum}-polly = %{_relver}
-Conflicts:      llvm-polly-devel-provider
-Provides:       llvm-polly-devel-provider
+Conflicts:      llvm-polly-devel-provider < %{version}
+Provides:       llvm-polly-devel-provider = %{version}
 
 %description polly-devel
 This package contains the development files for Polly.
@@ -534,7 +504,6 @@
 %patch13 -p1
 %patch14 -p1
 %patch15 -p1
-%patch18 -p1
 %patch20 -p1
 %patch21 -p1
 %patch22 -p1
@@ -745,8 +714,7 @@
     -DENABLE_LINKER_BUILD_ID=ON \
     -DLLVM_TABLEGEN="${LLVM_TABLEGEN}" \
     -DCLANG_TABLEGEN="${CLANG_TABLEGEN}" \
-    -DLLVM_REQUIRES_RTTI=ON \
-    -DLLVM_ENABLE_TIMESTAMPS=OFF \
+    -DLLVM_ENABLE_RTTI:BOOL=ON \
     -DLLVM_ENABLE_ASSERTIONS=OFF \
     -DLLVM_ENABLE_PIC=ON \
     -DLLVM_BINUTILS_INCDIR=%{_includedir} \
@@ -771,8 +739,7 @@
     -DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed -Wl,--build-id=sha1" \
     -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,--build-id=sha1" \
     -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python3 \
-    -DPOLLY_BUNDLED_ISL:BOOL=ON \
-    -DPOLLY_BUNDLED_JSONCPP:BOOL=OFF
+    -DPOLLY_BUNDLED_ISL:BOOL=ON
 ninja -v %{?_smp_mflags}
 cd ..
 
@@ -821,9 +788,7 @@
 
 # Note that bfd-plugins is always in /usr/lib/bfd-plugins, no matter what 
_libdir is.
 mkdir -p %{buildroot}/usr/lib/bfd-plugins
-%if %{with gold}
 ln -s %{_libdir}/LLVMgold.so %{buildroot}/usr/lib/bfd-plugins/
-%endif
 
 install -m 755 -d %{buildroot}%{_datadir}/vim/site/
 for i in ftdetect ftplugin indent syntax; do
@@ -836,6 +801,7 @@
 mv %{buildroot}%{_datadir}/clang/clang-tidy-diff.py 
%{buildroot}%{_bindir}/clang-tidy-diff
 mv %{buildroot}%{_datadir}/clang/run-clang-tidy.py 
%{buildroot}%{_bindir}/run-clang-tidy
 
+install -d %{buildroot}%{python3_sitelib}
 mv %{buildroot}%{_datadir}/opt-viewer/opt-diff.py 
%{buildroot}%{_bindir}/opt-diff
 mv %{buildroot}%{_datadir}/opt-viewer/opt-stats.py 
%{buildroot}%{_bindir}/opt-stats
 mv %{buildroot}%{_datadir}/opt-viewer/opt-viewer.py 
%{buildroot}%{_bindir}/opt-viewer
@@ -1030,10 +996,8 @@
 %postun -n liblldb%{_sonum} -p /sbin/ldconfig
 %endif
 
-%if %{with gold}
 %post gold -p /sbin/ldconfig
 %postun gold -p /sbin/ldconfig
-%endif
 %post devel -p /sbin/ldconfig
 %postun devel -p /sbin/ldconfig
 %post LTO-devel -p /sbin/ldconfig
@@ -1600,16 +1564,12 @@
 %license CREDITS.TXT LICENSE.TXT
 %{_libdir}/libLTO.so.*
 
-%if %{with gold}
 %files gold
 %license CREDITS.TXT LICENSE.TXT
 %{_libdir}/LLVMgold.so
 # Note that bfd-plugins is always in /usr/lib/bfd-plugins, no matter what 
_libdir is.
 %dir /usr/lib/bfd-plugins/
 /usr/lib/bfd-plugins/LLVMgold.so
-%else
-%exclude %{_libdir}/LLVMgold.so
-%endif
 
 %if %{with openmp}
 %files -n libomp%{_sonum}-devel


Reply via email to