diff --git a/autoyast2.spec b/autoyast2.spec index c387bc4..844c765 100644 --- a/autoyast2.spec +++ b/autoyast2.spec @@ -1,7 +1,7 @@ # # spec file for package autoyast2 # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -31,6 +31,13 @@ BuildRequires: yast2-installation-control # xmllint BuildRequires: libxml2-tools +# %%{_unitdir} macro definition is in a separate package since 13.1 +%if 0%{?suse_version} >= 1310 +BuildRequires: systemd-rpm-macros +%else +BuildRequires: systemd +%endif + Requires: autoyast2-installation = %{version} Requires: libxslt Requires: yast2