Browse Source

llvm-7.0.1-1

Tomohiro "Tomo-p" KATO 5 years ago
parent
commit
086123b49c
1 changed files with 13 additions and 4 deletions
  1. 13 4
      l/llvm/llvm-vl.spec

+ 13 - 4
l/llvm/llvm-vl.spec

@@ -18,7 +18,7 @@
 %define _unpackaged_files_terminate_build 1
 
 Name:           llvm
-Version:        7.0.0
+Version:        7.0.1
 Release:        1%{?_dist_release}
 Summary:        The Low Level Virtual Machine
 Summary(ja):    LLVM - 低レベルバーチャルマシン
@@ -35,7 +35,9 @@ Source1:        http://llvm.org/releases/%{version}/cfe-%{version}.src.tar.xz
 Source2:        http://llvm.org/releases/%{version}/compiler-rt-%{version}.src.tar.xz
 Source3:        http://llvm.org/releases/%{version}/lldb-%{version}.src.tar.xz
 Source4:        http://llvm.org/releases/%{version}/lld-%{version}.src.tar.xz
+%if %{with clang_tools_extra}
 Source5:        http://llvm.org/releases/%{version}/clang-tools-extra-%{version}.src.tar.xz
+%endif
 
 # multilib fixes
 Source10:        llvm-config.h
@@ -142,6 +144,7 @@ Summary:        LLVM shared libraries
 Summary(ja):    LLVM 共有ライブラリ
 Group:          System Environment/Libraries
 Provides:       llvm-libs = %{version}-%{release}
+Obsoletes:      llvm-libs <= 7.0.0
 
 %description -n llvm%{ver_suffix}-libs
 Shared libraries for the LLVM compiler infrastructure.
@@ -661,7 +664,10 @@ exit 0
 %{_bindir}/llvm-config-%{__isa_bits}
 %{_includedir}/%{name}
 %{_includedir}/%{name}-c
+%{_libdir}/BugpointPasses.so
+%{_libdir}/LLVMgold.so
 %{_libdir}/libLLVM.so
+%{_libdir}/libLTO.so*
 %{_libdir}/cmake/llvm
 %exclude %{_libdir}/cmake/llvm/LLVMStaticExports.cmake
 
@@ -670,10 +676,7 @@ exit 0
 %doc LICENSE.TXT
 #config(noreplace) %{_sysconfdir}/ld.so.conf.d/llvm-%{_arch}.conf
 #dir %{_libdir}/%{name}
-%{_libdir}/BugpointPasses.so
 %{_libdir}/libLLVM-*.so
-%{_libdir}/libLTO.so*
-%{_libdir}/LLVMgold.so
 %exclude %{_libdir}/LLVMHello.so
 
 %files static
@@ -787,14 +790,20 @@ exit 0
 %defattr(-,root,root)
 %doc LICENSE.TXT
 #config(noreplace) %{_sysconfdir}/ld.so.conf.d/llvm-%{_arch}.conf
+%exclude %{_libdir}/libLTO.so
+%exclude %{_libdir}/BugpointPasses.so
 %exclude %{_libdir}/libclang.so
 %exclude %{_libdir}/liblld*.so
+%exclude %{_libdir}/LLVMGold.so
 %exclude %{_libdir}/LLVMHello.so
 %{_libdir}/*.so
 %{_libdir}/libLTO.so.*
 %endif
 
 %changelog
+* Sun Dec 16 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7.0.1-1
+- fixed %%files.
+
 * Wed Dec 05 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7.0.0-1
 - new upstream release.
 - dropped Patch0, 4, 5, 100 and 200.