]> git.pld-linux.org Git - packages/rstudio.git/commitdiff
fix build when git is installed
authorJan Palus <atler@pld-linux.org>
Wed, 11 Aug 2021 08:29:05 +0000 (10:29 +0200)
committerJan Palus <atler@pld-linux.org>
Wed, 11 Aug 2021 08:29:05 +0000 (10:29 +0200)
rstudio.spec

index afaa6b074fde94d47287e4437c1e3ce0838dd229..53cbdcec0ff9939e6c3adb998bee1b286c1a1078 100644 (file)
@@ -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}
 
This page took 0.110209 seconds and 4 git commands to generate.