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 5
[-]
[+]
Changed
mydumper.spec
@@ -1,3 +1,4 @@ +%define my_version %((mysql_config --version)) Name: mydumper Version: 0.9.5 Release: 1 @@ -32,8 +33,11 @@ %setup -q %patch0 -#cmake . -DCMAKE_INSTALL_PREFIX=$RPM_BUILD_ROOT/ -cmake . +#cmake . -DCMAKE_INSTALL_PREFIX=$RPM_BUILD_ROOT/usr +%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" \