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
This commit is contained in:
2022-01-10 09:05:11 +00:00
committed by Git OBS Bridge
parent 0b94d49d8d
commit c85ef87b98
2 changed files with 11 additions and 2 deletions

View File

@@ -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