From 64be0ee91854aec522a1110d40389b5e2c307674 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Vr=C3=A1til?= Date: Wed, 29 Apr 2015 15:32:54 +0200 Subject: [PATCH] Requires plasmashell plasmashell is virtual provides for packages that provide Plasma shells, like plasma-desktop --- plasma-workspace.spec | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/plasma-workspace.spec b/plasma-workspace.spec index 9a72973..05f0183 100644 --- a/plasma-workspace.spec +++ b/plasma-workspace.spec @@ -1,3 +1,7 @@ +# Enable bootstrap when building plasma-workspace on a new repo +# or arch where there's no package that would provide plasmashell +%define bootstrap 1 + Name: plasma-workspace Version: 5.3.0 Release: 1%{?dist} @@ -161,7 +165,14 @@ Requires: oxygen-sound-theme Requires: oxygen-fonts # PolicyKit authentication agent -Requires: polkit-kde +Requires: polkit-kde + +# Require any plasmashell (plasma-desktop provides plasmashell(desktop)) +%if 0%{?bootstrap} +Provides: plasmashell = %{version} +%else +Requires: plasmashell >= %{version} +%endif %description Plasma 5 libraries and runtime components @@ -286,6 +297,9 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/{plasma-windowed,org %changelog +* Wed Apr 29 2015 Daniel Vrátil - 5.3.0-2 +- Requires plasmashell (virtual provides for packages that provide Plasma shells, like plasma-desktop) + * Mon Apr 27 2015 Daniel Vrátil - 5.3.0-1 - Plasma 5.3.0