From c85ef87b983018278aad70c9c9e9fe7ce64bc545de7b8b523e5d5ed4a5c05088 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 10 Jan 2022 09:05:11 +0000 Subject: [PATCH] Accepting request 945233 from home:dimstar:Factory - Add ID="suse" to etc/os-release; there is at least one test suite (python-Nuitka) that expects an ID= field. Without it, we're forced to use the more expensive openSUSE-release for the test suite. - update version, drop /etc/SuSE-release OBS-URL: https://build.opensuse.org/request/show/945233 OBS-URL: https://build.opensuse.org/package/show/Base:System/dummy-release?expand=0&rev=16 --- dummy-release.changes | 10 +++++++++- dummy-release.spec | 3 ++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/dummy-release.changes b/dummy-release.changes index 316b643..87ada06 100644 --- a/dummy-release.changes +++ b/dummy-release.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Jan 10 08:42:47 UTC 2022 - Dominique Leuenberger + +- Add ID="suse" to etc/os-release; there is at least one test + suite (python-Nuitka) that expects an ID= field. Without it, + we're forced to use the more expensive openSUSE-release for the + test suite. + ------------------------------------------------------------------- Fri Dec 11 09:26:31 UTC 2020 - Christian Goll @@ -13,7 +21,7 @@ Tue Mar 19 12:44:26 UTC 2019 - Stephan Kulow ------------------------------------------------------------------- Thu Aug 10 10:26:00 CEST 2017 - behlert@suse.de -- update version, drop /etc/SuSE-release +- update version, drop /etc/SuSE-release ------------------------------------------------------------------- Tue Jul 18 05:06:58 UTC 2017 - jimmy@boombatower.com diff --git a/dummy-release.spec b/dummy-release.spec index 4bd30c5..73d08e6 100644 --- a/dummy-release.spec +++ b/dummy-release.spec @@ -1,7 +1,7 @@ # # spec file for package dummy-release # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -42,6 +42,7 @@ echo -e "Welcome to Dummy Product (%{_target_cpu}) - Kernel %%r (%%t)." > $RPM_B touch $RPM_BUILD_ROOT/etc/motd echo 'NAME=Dummy' > $RPM_BUILD_ROOT/etc/os-release +echo 'ID="suse"' >> $RPM_BUILD_ROOT/etc/os-release echo 'ID_LIKE="suse"' >> $RPM_BUILD_ROOT/etc/os-release echo 'VERSION_ID="Dummy"' >> $RPM_BUILD_ROOT/etc/os-release