Fix service start

Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
This commit is contained in:
Sergio Arroutbi 2023-06-29 11:28:30 +02:00
parent 5b1f7c450e
commit 6bb373d4ea

View File

@ -1,6 +1,6 @@
Name: tang
Version: 14
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Network Presence Binding Daemon
License: GPLv3+
@ -52,7 +52,7 @@ Tang is a small daemon for binding data to the presence of a third party.
%install
%meson_install
install -p -D -m 0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/tang.conf
echo "User=%{name}" >> $RPM_BUILD_ROOT/%{_unitdir}/%{name}d@.service
grep "User=%{name}" $RPM_BUILD_ROOT/%{_unitdir}/%{name}d@.service || echo "User=%{name}" >> $RPM_BUILD_ROOT/%{_unitdir}/%{name}d@.service
%{__mkdir_p} $RPM_BUILD_ROOT/%{_localstatedir}/db/%{name}
%check
@ -100,6 +100,9 @@ fi
%{_sysusersdir}/tang.conf
%changelog
* Thu Jun 29 2023 Sergio Arroutbi <sarroutb@redhat.com> - 14-2
- Fix service start up
* Tue Jun 27 2023 Sergio Arroutbi <sarroutb@redhat.com> - 14-1
- New upstream release - v14.
Resolves: rhbz#2182411