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

This commit is contained in:
Florent Le Coz
2014-07-31 15:26:47 +02:00
parent b39ed80dbb
commit 8030e5096e
-10
View File
@@ -15,8 +15,6 @@ BuildRequires: cmake
BuildRequires: systemd
BuildRequires: rubygem-ronn
%global biboumi_user %{name}
%global biboumi_group %{biboumi_user}
%global biboumi_confdir %{_sysconfdir}/%{name}
@@ -52,14 +50,6 @@ install -D -p -m 644 unit/%{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
make test_suite/fast VERBOSE=1