Search
j0ke.net Open Build Service
>
Projects
>
server:backup
>
mydumper
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 7
[-]
[+]
Changed
mydumper.spec
@@ -1,4 +1,4 @@ -%define my_version %(mysql_config --version) +%global my_version %(/usr/bin/mysql_config --version) Name: mydumper Version: 0.9.5 Release: 1 @@ -33,14 +33,13 @@ %setup -q %patch0 -#cmake . -DCMAKE_INSTALL_PREFIX=$RPM_BUILD_ROOT/usr -%if %{my_version} < 5.7 + +%if "%{my_version}" < "5.7" CMAKE_ARG="-DWITH_SSL=OFF" %endif cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} $CMAKE_ARG %build -#CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" \ make -j 8