Commit 8030e509 authored by louiz’'s avatar louiz’

Do not create a useless biboumi unix user with the RPM package

parent b39ed80d
...@@ -15,8 +15,6 @@ BuildRequires: cmake ...@@ -15,8 +15,6 @@ BuildRequires: cmake
BuildRequires: systemd BuildRequires: systemd
BuildRequires: rubygem-ronn BuildRequires: rubygem-ronn
%global biboumi_user %{name}
%global biboumi_group %{biboumi_user}
%global biboumi_confdir %{_sysconfdir}/%{name} %global biboumi_confdir %{_sysconfdir}/%{name}
...@@ -52,14 +50,6 @@ install -D -p -m 644 unit/%{name}.service \ ...@@ -52,14 +50,6 @@ install -D -p -m 644 unit/%{name}.service \
%{buildroot}%{_unitdir}/%{name}.service %{buildroot}%{_unitdir}/%{name}.service
%pre
getent group %{biboumi_group} > /dev/null || groupadd -r %{biboumi_group}
getent passwd %{biboumi_user} > /dev/null || \
useradd -r -g %{biboumi_group} \
-s /sbin/nologin -c "Biboumi XMPP to IRC gateway" %{biboumi_user}
exit 0
%check %check
make test_suite/fast VERBOSE=1 make test_suite/fast VERBOSE=1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment