!15 update cmake to 3.18.0
Merge pull request !15 from wangchen/wangchen
This commit is contained in:
commit
4fec38c2b2
BIN
cmake-3.17.2.tar.gz → cmake-3.18.0.tar.gz
Executable file → Normal file
BIN
cmake-3.17.2.tar.gz → cmake-3.18.0.tar.gz
Executable file → Normal file
Binary file not shown.
@ -3,19 +3,19 @@ Index: cmake-3.17.2/Modules/FindRuby.cmake
|
||||
--- cmake-3.17.2.orig/Modules/FindRuby.cmake
|
||||
+++ cmake-3.17.2/Modules/FindRuby.cmake
|
||||
@@ -110,14 +110,8 @@ if(RUBY_EXECUTABLE AND NOT RUBY_VERSIO
|
||||
_RUBY_CONFIG_VAR("sitearchdir" RUBY_SITEARCH_DIR)
|
||||
_RUBY_CONFIG_VAR("sitelibdir" RUBY_SITELIB_DIR)
|
||||
_RUBY_CONFIG_VAR("sitearchdir" Ruby_SITEARCH_DIR)
|
||||
_RUBY_CONFIG_VAR("sitelibdir" Ruby_SITELIB_DIR)
|
||||
|
||||
- # vendor_ruby available ?
|
||||
- execute_process(COMMAND ${RUBY_EXECUTABLE} -r vendor-specific -e "print 'true'"
|
||||
- OUTPUT_VARIABLE RUBY_HAS_VENDOR_RUBY ERROR_QUIET)
|
||||
- execute_process(COMMAND ${Ruby_EXECUTABLE} -r vendor-specific -e "print 'true'"
|
||||
- OUTPUT_VARIABLE Ruby_HAS_VENDOR_RUBY ERROR_QUIET)
|
||||
-
|
||||
- if(RUBY_HAS_VENDOR_RUBY)
|
||||
- _RUBY_CONFIG_VAR("vendorlibdir" RUBY_VENDORLIB_DIR)
|
||||
- _RUBY_CONFIG_VAR("vendorarchdir" RUBY_VENDORARCH_DIR)
|
||||
- if(Ruby_HAS_VENDOR_RUBY)
|
||||
- _RUBY_CONFIG_VAR("vendorlibdir" Ruby_VENDORLIB_DIR)
|
||||
- _RUBY_CONFIG_VAR("vendorarchdir" Ruby_VENDORARCH_DIR)
|
||||
- endif()
|
||||
+ _RUBY_CONFIG_VAR("vendorlibdir" RUBY_VENDORLIB_DIR)
|
||||
+ _RUBY_CONFIG_VAR("vendorarchdir" RUBY_VENDORARCH_DIR)
|
||||
+ _RUBY_CONFIG_VAR("vendorlibdir" Ruby_VENDORLIB_DIR)
|
||||
+ _RUBY_CONFIG_VAR("vendorarchdir" Ruby_VENDORARCH_DIR)
|
||||
|
||||
# save the results in the cache so we don't have to run ruby the next time again
|
||||
set(RUBY_VERSION_MAJOR ${RUBY_VERSION_MAJOR} CACHE PATH "The Ruby major version" FORCE)
|
||||
set(Ruby_VERSION_MAJOR ${Ruby_VERSION_MAJOR} CACHE PATH "The Ruby major version" FORCE)
|
||||
|
||||
16
cmake.spec
16
cmake.spec
@ -9,20 +9,20 @@
|
||||
%{?rcsuf:%global versuf -%{rcsuf}}
|
||||
|
||||
Name: cmake
|
||||
Version: 3.17.2
|
||||
Version: 3.18.0
|
||||
Release: 1
|
||||
Summary: Cross-platform make system
|
||||
License: BSD and MIT and zlib
|
||||
URL: http://www.cmake.org
|
||||
Source0: https://www.cmake.org/files/v3.17/cmake-%{version}.tar.gz
|
||||
Source0: https://www.cmake.org/files/v3.18/cmake-%{version}.tar.gz
|
||||
Source1: cmake-init.el
|
||||
Source2: macros.cmake
|
||||
Source3: cmake.attr
|
||||
Source4: cmake.prov
|
||||
Source5: cmake.req
|
||||
Patch0001: cmake-findruby.patch
|
||||
Patch0002: cmake-fedora-flag_release.patch
|
||||
Patch0003: cmake-mingw-dl.patch
|
||||
Patch0: cmake-findruby.patch
|
||||
Patch1: cmake-fedora-flag_release.patch
|
||||
Patch2: cmake-mingw-dl.patch
|
||||
|
||||
BuildRequires: coreutils findutils gcc-c++ gcc-gfortran sed gdb
|
||||
BuildRequires: emacs python3-devel pkgconfig(Qt5Widgets) desktop-file-utils
|
||||
@ -201,7 +201,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
%{_datadir}/aclocal/cmake.m4
|
||||
%{_datadir}/bash-completion
|
||||
%{_emacs_sitelispdir}/cmake
|
||||
%{_emacs_sitelispdir}/cmake-mode.el
|
||||
%{_emacs_sitestartdir}/cmake-init.el
|
||||
%{_datadir}/vim/vimfiles/indent/%{name}.vim
|
||||
%{_datadir}/vim/vimfiles//syntax/%{name}.vim
|
||||
|
||||
%files filesystem -f data_dirs.mf -f lib_dirs.mf
|
||||
|
||||
@ -230,6 +233,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
%exclude %{_pkgdocdir}/Copyright.txt
|
||||
|
||||
%changelog
|
||||
* Thu Jul 30 2020 wangchen <wangchen137@huawei.com> - 3.18.0-1
|
||||
- Update to cmake-3.18.0
|
||||
|
||||
* Mon May 25 2020 licihua <licihua@huawei.com> - 3.17.2-1
|
||||
- Update to cmake-3.17.2
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user