Dominique Leuenberger 2017-08-29 09:35:32 +00:00 committed by Git OBS Bridge
commit bfb26d5a23
2 changed files with 8 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Aug 10 10:26:00 CEST 2017 - behlert@suse.de
- update version, drop /etc/SuSE-release
-------------------------------------------------------------------
Tue Jul 18 05:06:58 UTC 2017 - jimmy@boombatower.com

View File

@ -17,17 +17,17 @@
Name: dummy-release
Version: 12
Version: 15
Release: 0
Provides: distribution-release
Conflicts: otherproviders(distribution-release)
Summary: SuSE release version files
Summary: SUSE release version files
License: BSD-3-Clause
Group: System/Fhs
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This package contains the files: /etc/SuSE-release, /etc/issue,
This package contains the files: /etc/issue,
/etc/issue.net and /etc/os-release
%prep
@ -38,7 +38,6 @@ This package contains the files: /etc/SuSE-release, /etc/issue,
mkdir -p $RPM_BUILD_ROOT/etc
echo -e "\nWelcome to Dummy Product - Kernel \\\r (\\\l).\n\n" > $RPM_BUILD_ROOT/etc/issue
echo -e "Welcome to Dummy Product (%{_target_cpu}) - Kernel %%r (%%t)." > $RPM_BUILD_ROOT/etc/issue.net
echo "Dummy Product (%{_target_cpu})" > $RPM_BUILD_ROOT/etc/SuSE-release
touch $RPM_BUILD_ROOT/etc/motd
echo 'NAME=Dummy' > $RPM_BUILD_ROOT/etc/os-release
@ -46,7 +45,6 @@ echo 'ID_LIKE="suse"' >> $RPM_BUILD_ROOT/etc/os-release
%files
%defattr(644,root,root,755)
/etc/SuSE-release
/etc/os-release
%config(noreplace) /etc/motd
%config(noreplace) /etc/issue