File skip-osrelease.patch of Package rstudio
We don't want do depend on /etc/os-release, because that changes
frequently in Tumbleweed. And it doesn't seem right that the package
depends on the distribution it is a part of.
diff --git a/cmake/globals.cmake b/cmake/globals.cmake
index 3601ee4..c0c4ed3 100644
--- a/cmake/globals.cmake
+++ b/cmake/globals.cmake
@@ -23,11 +23,6 @@ if(CMAKE_SYSTEM_NAME STREQUAL Linux)
set(LINUX TRUE CACHE INTERNAL "")
endif()
-# read /etc/os-release
-if(LINUX)
- include(OsRelease)
-endif()
-
# version info
if ("$ENV{RSTUDIO_VERSION_MAJOR}" STREQUAL "")
string(TIMESTAMP CPACK_PACKAGE_VERSION_MAJOR "%Y")