From 418ff8c2590b4203e8ce5e07facd99bfba2a284f073cdd88364c985ab4e940b9 Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Wed, 13 Dec 2017 11:06:40 +0000 Subject: [PATCH] - Enable more network devices to be shown on s390x [bsc#1071776] - Remove systemd require again, systemd-preset-branding is fixed. OBS-URL: https://build.opensuse.org/package/show/Base:System/issue-generator?expand=0&rev=13 --- issue-generator.changes | 6 ++++++ issue-generator.spec | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/issue-generator.changes b/issue-generator.changes index 67d814f..56bba33 100644 --- a/issue-generator.changes +++ b/issue-generator.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Dec 13 12:05:01 CET 2017 - kukuk@suse.de + +- Enable more network devices to be shown on s390x [bsc#1071776] +- Remove systemd require again, systemd-preset-branding is fixed. + ------------------------------------------------------------------- Fri Dec 8 07:22:42 UTC 2017 - kukuk@suse.com diff --git a/issue-generator.spec b/issue-generator.spec index c96ad8d..b674a5d 100644 --- a/issue-generator.spec +++ b/issue-generator.spec @@ -28,7 +28,6 @@ BuildRequires: fdupes Requires(post): %fillup_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch -%{?systemd_requires} %description issue-generator is a tool to create an issue file dynamically. @@ -39,6 +38,10 @@ issue-generator is a tool to create an issue file dynamically. %build %configure make %{?_smp_mflags} +%ifarch s390x +# Adjust regex in sysconfig/issue-generator for s390x +sed -i -e 's|NETWORK_INTERFACE_REGEX=.*|NETWORK_INTERFACE_REGEX="^[beqich]"|g' udev/sysconfig.issue-generator +%endif %install make %{?_smp_mflags} DESTDIR=%{buildroot} install