Compiling the template in recent fedora will lead to:
ld: note: 'sin@@GLIBC_2.2.5' is defined in DSO libm.so, so
try adding it to the linker command line
Hence we move -lm from Libs.private to Libs
Change-Id: I5e2c59bf62f950d06f3c708d22f6d2289babcacf
URL: http://www.gromacs.org
Version: @PROJECT_VERSION@
Requires:
-Libs.private: -lm @CMAKE_THREAD_LIBS_INIT@ @PKG_DL_LIBS@
-Libs: -L${libdir} -lgmx@GMX_LIBS_SUFFIX@
+Libs.private: @CMAKE_THREAD_LIBS_INIT@ @PKG_DL_LIBS@
+Libs: -L${libdir} -lgmx@GMX_LIBS_SUFFIX@ -lm
Cflags: -I${includedir} @PKG_CFLAGS@