- Prefix swig python modules with _ to avoid clashes bnc#874885:

* cmake-prefix-swig.patch

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=185
This commit is contained in:
Tomáš Chvátal
2015-01-12 09:34:31 +00:00
committed by Git OBS Bridge
parent a87fd7baf9
commit adeb273de6
4 changed files with 24 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package cmake
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -28,6 +28,8 @@ Source0: http://www.cmake.org/files/v3.1/%{name}-%{rversion}.tar.gz
Source1: cmake.macros
Source2: opensuse_rules.cmake
Patch2: cmake-fix-ruby-test.patch
# PATCH-FIX-OPENSUSE: bnc#874885 contain the python swig namespace
Patch3: cmake-prefix-swig.patch
BuildRequires: curl-devel
BuildRequires: fdupes
BuildRequires: gcc-c++
@@ -49,6 +51,7 @@ CMake is a cross-platform, open-source build system
%prep
%setup -q -n %{name}-%{rversion}
%patch2 -p1
%patch3 -p1
%build
export CXXFLAGS="%{optflags}"