[GRASS-SVN] r72178 - grass/branches/releasebranch_7_4/rpm

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jan 28 07:31:55 PST 2018


Author: neteler
Date: 2018-01-28 07:31:55 -0800 (Sun, 28 Jan 2018)
New Revision: 72178

Modified:
   grass/branches/releasebranch_7_4/rpm/grass.spec
Log:
rpm SPEC: update for mysql-devel/mariadb-connector-c-devel on Fedora27+

Modified: grass/branches/releasebranch_7_4/rpm/grass.spec
===================================================================
--- grass/branches/releasebranch_7_4/rpm/grass.spec	2018-01-28 15:30:18 UTC (rev 72177)
+++ grass/branches/releasebranch_7_4/rpm/grass.spec	2018-01-28 15:31:55 UTC (rev 72178)
@@ -36,7 +36,7 @@
 BuildRequires:	libXmu-devel
 BuildRequires:	mesa-libGL-devel
 BuildRequires:	mesa-libGLU-devel
-BuildRequires:	mysql-devel
+BuildRequires:	mariadb-connector-c-devel openssl-devel
 %if (0%{?rhel} > 6 || 0%{?fedora})
 BuildRequires:	netcdf-devel
 %endif
@@ -161,7 +161,7 @@
 	--with-liblas=%{_bindir}/liblas-config \
 %endif
 	--with-mysql-includes=%{_includedir}/mysql \
-%if (0%{?fedora} > 27)
+%if (0%{?fedora} >= 27)
 	--with-mysql-libs=%{_libdir} \
 %else
 	--with-mysql-libs=%{_libdir}/mysql \
@@ -253,7 +253,6 @@
 # rpm macro for version checking
 mkdir -p ${RPM_BUILD_ROOT}%{macrosdir}
 cat > ${RPM_BUILD_ROOT}%{macrosdir}/macros.%{name} <<EOF
-# %name version is
 %%%{name}_version %{version}
 EOF
 



More information about the grass-commit mailing list