Corrected BRs and include dir.
This commit is contained in:
parent
62b0b185dd
commit
bc5cd13cc3
|
@ -11,9 +11,9 @@ Source0: https://github.com/rakhimov/scram/archive/%{version}.tar.gz
|
|||
Source1: %{name}.1
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: cmake >= 2.8.12
|
||||
BuildRequires: boost-devel >= 1.58.0
|
||||
BuildRequires: libxml++-devel >= 2.38.1
|
||||
BuildRequires: cmake >= 3.8.0
|
||||
BuildRequires: boost-devel >= 1.61.0
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: gperftools-devel
|
||||
BuildRequires: catch-devel
|
||||
BuildRequires: cmake(Qt5)
|
||||
|
@ -38,11 +38,11 @@ scram GUI.
|
|||
|
||||
%prep
|
||||
%autosetup
|
||||
find tests -type f -exec sed -i 's|catch.hpp|catch/catch.hpp|' {} \;
|
||||
|
||||
%build
|
||||
mkdir build
|
||||
pushd build
|
||||
export CXXFLAGS="%{__global_compiler_flags} -I/usr/include/catch"
|
||||
%cmake .. \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DBUILD_TESTING=ON
|
||||
|
|
Loading…
Reference in New Issue