diff --git a/portreserve.spec b/portreserve.spec index 13427e9..b226029 100644 --- a/portreserve.spec +++ b/portreserve.spec @@ -8,6 +8,8 @@ URL: http://cyberelk.net/tim/portreserve/ Source0: http://cyberelk.net/tim/data/portreserve/stable/%{name}-%{version}.tar.bz2 Source1: portreserve.service BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Conflicts: filesystem < 3 +Conflicts: systemd < 38 Requires(post): systemd-units Requires(preun): systemd-units Requires(postun): systemd-units @@ -31,7 +33,7 @@ port (generally in the init script). %setup -q %build -%configure --sbindir=/sbin +%configure make %install @@ -86,7 +88,7 @@ fi %dir %{_sysconfdir}/portreserve %config %{_sysconfdir}/tmpfiles.d/portreserve.conf %{_unitdir}/portreserve.service -/sbin/* +%{_sbindir}/* %{_mandir}/*/* %changelog