forked from pool/cmake
Accepting request 423027 from home:scarabeus_iv:branches:devel:tools:building
- Remove wrong FIXME from spec - Require qt5 gui everywhere as it on all supported platforms - Respect CFLAGS while bootstraping - Remove wrong FIXME from the spec - Add relwithdebinfo as default target to ease living of sci packages - Add possibility to switch between ninja and cmake by defining %__builder ninja prior %cmake call bnc#995752 OBS-URL: https://build.opensuse.org/request/show/423027 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=262
This commit is contained in:
committed by
Git OBS Bridge
parent
dae1684bd1
commit
6d9b1150cb
@@ -51,7 +51,7 @@ BuildRequires: ncurses-devel
|
||||
#if 0%{?suse_version} > 1320
|
||||
#BuildRequires: pkgconfig(jsoncpp)
|
||||
#endif
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: pkgconfig(liblzma)
|
||||
Requires: make
|
||||
@@ -75,7 +75,9 @@ echo "`grep %{name}-%{version}.tar.gz %{SOURCE5} | grep -Eo '^[0-9a-f]+'` %{SOU
|
||||
%patch7 -p1
|
||||
|
||||
%build
|
||||
# FIXME: you should use the %%configure macro
|
||||
export CFLAGS="%{optflags}"
|
||||
export CXXFLAGS="%{optflags}"
|
||||
# This is not autotools configure
|
||||
./configure \
|
||||
--prefix=%{_prefix} \
|
||||
--datadir=/share/%{name} \
|
||||
|
Reference in New Issue
Block a user