Accepting request 360183 from home:olh:branches:devel:tools:building

- Remove cmake version from generated files
  cmake-version-in-generated-files.patch

OBS-URL: https://build.opensuse.org/request/show/360183
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=239
This commit is contained in:
Ismail Dönmez
2016-02-20 14:49:22 +00:00
committed by Git OBS Bridge
parent 4437bb7be6
commit f0f5b03a55
5 changed files with 113 additions and 0 deletions

View File

@@ -35,6 +35,8 @@ Patch2: cmake-fix-ruby-test.patch
Patch4: form.patch
# PATCH-FIX-UPSTREAM system-libs.patch -- allow choosing between bundled and system jsoncpp & form libs
Patch5: system-libs.patch
# PATCH-FIX-SUSE cmake-version-in-generated-files.patch -- version number to be found in OBS
Patch6: cmake-version-in-generated-files.patch
BuildRequires: curl-devel
BuildRequires: fdupes
BuildRequires: gcc-c++
@@ -64,6 +66,7 @@ echo "`grep %{name}-%{version}.tar.gz %{SOURCE5} | grep -Eo '^[0-9a-f]+'` %{SOU
%patch2 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%build
export CXXFLAGS="%{optflags}"