- disable -Werror, release 2 auto/th/Pression-2.0.0-2
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 28 May 2019 03:39:46 +0000 (05:39 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Tue, 28 May 2019 03:39:46 +0000 (05:39 +0200)
Pression.spec

index 370b2a35a879d64eac6c15a1fe910f45cb3db8ad..96d2b69c887b647c94878777d75f86ec29070aee 100644 (file)
@@ -6,7 +6,7 @@ Summary:        C++ library for compression and CPU-GPU data transfer plugins
 Summary(pl.UTF-8):     Biblioteka C++ do wtyczek kompresji i przesyƂu danych CPU-GPU
 Name:          Pression
 Version:       2.0.0
-Release:       1
+Release:       2
 License:       LGPL v2.1
 Group:         Libraries
 #Source0Download: https://github.com/Eyescale/Pression/releases
@@ -19,6 +19,8 @@ Source2:      https://github.com/google/snappy/archive/32d6d7d/snappy-32d6d7d.tar.gz
 URL:           https://eyescale.github.io/
 BuildRequires: Eyescale-CMake >= 2017.05
 BuildRequires: Lunchbox-devel >= 1.16.0
+# just to satisfy cmake projects stupidity (FIXME)
+BuildRequires: Servus-qt-devel
 BuildRequires: boost-devel >= 1.41.0
 BuildRequires: cmake >= 2.8
 BuildRequires: gcc-c++ >= 6:4.2
@@ -76,8 +78,8 @@ ln -s %{_datadir}/Eyescale-CMake CMake/common
 %build
 install -d build
 cd build
-CXXFLAGS="%{rpmcxxflags} -Wno-unused-variable"
-%cmake ..
+%cmake .. \
+       -DCOMMON_DISABLE_WERROR=ON
 
 %{__make}
 
This page took 0.049167 seconds and 4 git commands to generate.