[packages/rstudio] fix build when git is installed

atler atler at pld-linux.org
Wed Aug 11 10:31:06 CEST 2021


commit da1e9fa485c52ebe72f0e3293405b447cd0e8b69
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Aug 11 10:29:05 2021 +0200

    fix build when git is installed

 rstudio.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/rstudio.spec b/rstudio.spec
index afaa6b0..53cbdce 100644
--- a/rstudio.spec
+++ b/rstudio.spec
@@ -1,3 +1,5 @@
+%define		rstudio_hash	0260f9dc68869536e20a5c26334a81c96ae19cee
+
 Summary:	IDE for R
 Summary(pl.UTF-8):	IDE dla R
 Name:		rstudio
@@ -131,7 +133,8 @@ cd build
 	-DCMAKE_CXX_FLAGS_RELEASE="${CXXFLAGS:-%{rpmcxxflags} -DNDEBUG -DQT_NO_DEBUG}" \
 	-DCMAKE_INSTALL_PREFIX=%{_libdir}/%{name} \
 	-DQT_QMAKE_EXECUTABLE=/usr/bin/qt5-qmake \
-	-DRSTUDIO_TARGET=Desktop
+	-DRSTUDIO_TARGET=Desktop \
+	-DRSTUDIO_GIT_REVISION_HASH=%{rstudio_hash}
 
 %{__make}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rstudio.git/commitdiff/da1e9fa485c52ebe72f0e3293405b447cd0e8b69



More information about the pld-cvs-commit mailing list