forked from pool/cmake
Accepting request 487174 from home:mathletic:branches:devel:tools:building
update to 3.8.0 OBS-URL: https://build.opensuse.org/request/show/487174 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=286
This commit is contained in:
committed by
Git OBS Bridge
parent
1a73e46376
commit
e8008af226
16
cmake.spec
16
cmake.spec
@@ -16,20 +16,21 @@
|
||||
#
|
||||
|
||||
|
||||
%define shortver 3.8
|
||||
Name: cmake
|
||||
Version: 3.7.2
|
||||
Version: 3.8.0
|
||||
Release: 0
|
||||
Summary: Cross-platform, open-source make system
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Tools/Building
|
||||
Url: http://www.cmake.org/
|
||||
Source0: http://www.cmake.org/files/v3.7/%{name}-%{version}.tar.gz
|
||||
Source0: http://www.cmake.org/files/v%{shortversion}/%{name}-%{version}.tar.gz
|
||||
Source1: cmake.macros
|
||||
# bnc#947585 - Let CMake produces automatic RPM provides
|
||||
Source3: cmake.attr
|
||||
Source4: cmake.prov
|
||||
Source5: http://www.cmake.org/files/v3.7/%{name}-%{version}-SHA-256.txt
|
||||
Source6: http://www.cmake.org/files/v3.7/%{name}-%{version}-SHA-256.txt.asc
|
||||
Source5: http://www.cmake.org/files/v%{shortversion}/%{name}-%{version}-SHA-256.txt
|
||||
Source6: http://www.cmake.org/files/v%{shortversion}/%{name}-%{version}-SHA-256.txt.asc
|
||||
Source7: cmake.keyring
|
||||
Patch2: cmake-fix-ruby-test.patch
|
||||
# PATCH-FIX-UPSTREAM form.patch -- set the correct include path for the ncurses includes
|
||||
@@ -38,10 +39,6 @@ Patch4: form.patch
|
||||
Patch5: system-libs.patch
|
||||
# PATCH-FIX-UPSTREAM cmake-ImageMagick7.patch -- find also ImageMagick 7
|
||||
Patch6: cmake-ImageMagick7.patch
|
||||
# PATCH-FIX-UPSTREAM reproducible.patch -- https://gitlab.kitware.com/cmake/cmake/merge_requests/432
|
||||
Patch7: reproducible.patch
|
||||
# PATCH-FIX-UPSTREAM reproducible2.patch -- https://gitlab.kitware.com/cmake/cmake/merge_requests/446
|
||||
Patch8: reproducible2.patch
|
||||
BuildRequires: curl-devel
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
@@ -82,8 +79,6 @@ echo "`grep %{name}-%{version}.tar.gz %{SOURCE5} | grep -Eo '^[0-9a-f]+'` %{SOU
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
%patch6 -p1
|
||||
%patch7 -p1
|
||||
%patch8 -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
@@ -95,6 +90,7 @@ export CXXFLAGS="%{optflags}"
|
||||
--docdir=/share/doc/packages/%{name} \
|
||||
--mandir=/share/man \
|
||||
--system-libs \
|
||||
--no-system-librhash \
|
||||
--no-system-jsoncpp \
|
||||
--parallel=0%{jobs} \
|
||||
--verbose \
|
||||
|
Reference in New Issue
Block a user