Name: livesys-scripts Version: 0.3.6^3.ge821795 Release: 1%{?dist} Summary: Scripts for auto-configuring live media during boot License: GPLv3+ URL: https://gitlab.com/fedora/sigs/sway/livesys-scripts Source0: livesys-scripts-e8217956.tar.gz BuildRequires: systemd-rpm-macros BuildRequires: make BuildArch: noarch %description %{summary}. %prep %setup -T -b 0 -q -n livesys-scripts %build # Nothing to do %install %make_install # Make ghost files mkdir -p %{buildroot}%{_sharedstatedir}/livesys touch %{buildroot}%{_sharedstatedir}/livesys/livesys-session-extra touch %{buildroot}%{_sharedstatedir}/livesys/livesys-session-late-extra %preun %systemd_preun livesys.service livesys-late.service %post %systemd_post livesys.service livesys-late.service %postun %systemd_postun livesys.service livesys-late.service %files %license COPYING %doc README.md %config(noreplace) %{_sysconfdir}/sysconfig/livesys %{_libexecdir}/livesys/ %{_unitdir}/livesys* %dir %{_sharedstatedir}/livesys %ghost %{_sharedstatedir}/livesys/livesys-session-extra %ghost %{_sharedstatedir}/livesys/livesys-session-late-extra %changelog