diff --git a/stratisd.spec b/stratisd.spec index b182749..e13a724 100644 --- a/stratisd.spec +++ b/stratisd.spec @@ -6,7 +6,7 @@ Name: stratisd Version: 0.9.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Daemon that manages block devices to create filesystems License: MPLv2.0 @@ -74,8 +74,8 @@ mkdir -p %{buildroot}%{_sbindir} mv %{buildroot}%{_bindir}/stratisd %{buildroot}%{_sbindir}/stratisd-init %{__install} -Dpm0644 -t %{buildroot}%{_datadir}/dbus-1/system.d stratisd.conf -%{__install} -Dpm0644 -t %{buildroot}%{_datadir}/dbus-1/system-services org.storage.stratis1.service %{__install} -Dpm0644 -t %{buildroot}%{_mandir}/man8 docs/stratisd.8 +%{__install} -Dpm0644 -t %{buildroot}%{_unitdir} %{name}.service %if %{with check} %check @@ -89,10 +89,14 @@ mv %{buildroot}%{_bindir}/stratisd %{buildroot}%{_sbindir}/stratisd-init %{_sbindir}/stratisd-init %dir %{_datadir}/dbus-1 %{_datadir}/dbus-1/system.d/stratisd.conf -%{_datadir}/dbus-1/system-services/org.storage.stratis1.service %{_mandir}/man8/stratisd.8* +%{_unitdir}/%{name}.service %changelog +* Wed Sep 19 2018 Tony Asleson - 0.9.0-3 +- Add systemd unit file +- Remove systemd activation file + * Tue Sep 18 2018 Igor Gnatenko - 0.9.0-2 - Rebuild to workaround pungi bug