File 0006-Skip-etc-os-release.patch of Package rstudio

From c2e9063cac945e51749590b3f61516424d543f41 Mon Sep 17 00:00:00 2001
From: haem <mixosaurus+obs@pm.me>
Date: Fri, 12 Sep 2025 17:17:01 +0200
Subject: [PATCH 06/12] Skip /etc/os-release

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.
---
 cmake/globals.cmake | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/cmake/globals.cmake b/cmake/globals.cmake
index 9a5afca2..0e279ac0 100644
--- a/cmake/globals.cmake
+++ b/cmake/globals.cmake
@@ -23,10 +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 "")
-- 
2.51.0

openSUSE Build Service is sponsored by