+++ /dev/null
-# This file is part of systemd.
-#
-# systemd is free software; you can redistribute it and/or modify it
-# under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 2.1 of the License, or
-# (at your option) any later version.
-
-[Unit]
-Description=Default target
-Documentation=man:systemd.special(7)
-Requires=graphical.target
-After=multi-user.target
-Conflicts=rescue.target
-AllowIsolate=yes
Source0: http://www.freedesktop.org/software/systemd/%{name}-%{version}.tar.xz
Source1: pamconsole-tmp.conf
Source2: %{name}-rpmlintrc
-Source3: default.target
-Source4: default.target.ivi
+Source3: default.target.ivi
Source1001: systemd.manifest
BuildRequires: gperf
BuildRequires: hwdata
install -m644 %{SOURCE1} %{buildroot}%{_prefix}/lib/tmpfiles.d/
-rm -f %{buildroot}/%{_prefix}/lib/systemd/system/default.target
install -m 755 -d %{buildroot}/%{_prefix}/lib/systemd/system
-%if "%{profile}" != "ivi"
-install -m 644 %{SOURCE3} %{buildroot}/%{_prefix}/lib/systemd/system/
-%else
-install -m 644 %{SOURCE4} %{buildroot}/%{_prefix}/lib/systemd/system/default.target
+%if "%{profile}" == "ivi"
+rm -f %{buildroot}/%{_prefix}/lib/systemd/system/default.target
+install -m 644 %{SOURCE3} %{buildroot}/%{_prefix}/lib/systemd/system/default.target
%endif
rm -rf %{buildroot}/%{_docdir}/%{name}