Diff of /CMakeLists.txt [af1761] .. [6e9c75]  Maximize  Restore

Switch to side-by-side view

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -402,7 +402,11 @@
     STRING(REGEX REPLACE "\n" ";" LIBPANO_TIP_LINES ${LIBPANO_TIP_OUT})
     foreach(_v_l ${LIBPANO_TIP_LINES})
       if(_v_l MATCHES ".*:[ ]+\([0-9]+\):[0-9a-f]+ tip$")
-        set(CPACK_PACKAGE_VERSION_PATCH "${PANO_PATCH_VERSION}-${CMAKE_MATCH_1}hg")
+
+# tld for Fedora rpm source package, try leaving out 
+#        set(CPACK_PACKAGE_VERSION_PATCH "${PANO_PATCH_VERSION}-${CMAKE_MATCH_1}")
+        set(CPACK_PACKAGE_VERSION_PATCH "${PANO_PATCH_VERSION}")
+
         break()
       endif()
     endforeach()
@@ -411,7 +415,6 @@
 
 set(CPACK_SOURCE_PACKAGE_FILE_NAME "libpano13-${PANO_MAJOR_VERSION}.${PANO_MINOR_VERSION}.${CPACK_PACKAGE_VERSION_PATCH}")
 
-
 if(CPACK_BINARY_DEB)
   # Use dpkg-shlibdeps to get the needed dependences
   if (NOT DISABLE_DPKG)

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks