avatar
mikhailnov has added 397dd8cbff
rpm4 expanded commented macro and gave an error:

$ rpmspec --parse --trace kdebase4-workspace.spec
<...>
1> %post-n kdm
1> %systemd_post^
2> %{expand:%%{?systemd_someargs_%#}}^
3> %#^
3> %{?
systemd_someargs_0}^
4> %{error:This macro requires some arguments}^
1> %{?_color_output}{!?_color_output:auto}
1> %{!?_color_output:auto}^
error: This macro requires some arguments

view file @ 397dd8cbff
... ... --- a/kdebase4-workspace.spec
... ... +++ b/kdebase4-workspace.spec
... ... @@ -12,7 +12,7 @@
12 12
Summary:	KDE 4 application workspace components
13 13
Name:		kdebase4-workspace
14 14
Version:	4.11.22
15
Release:	25
15
Release:	26
16 16
Epoch:		2
17 17
License:	GPLv2+
18 18
Group:		Graphical desktop/KDE
... ... @@ -755,7 +755,7 @@ KDE Desktop Login Manager.
755 755
756 756
%post -n kdm
757 757
chksession -K
758
# todo - use native %systemd_post
758
# todo - use native %%systemd_post
759 759
if [ ! -e /etc/systemd/system/display-manager.service ] ; then
760 760
  /bin/systemctl enable kdm.service 2>&1 || :
761 761
fi

Comments