summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-07-31 15:26:47 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-07-31 15:26:47 +0200
commit8030e5096e1a73e0623bf0d0fd65b25530a318e9 (patch)
tree638d3b7b0cf462f18beb82b65dc0f41ee334d9eb
parentb39ed80dbbaabed9647b727fa3348147c2fbae2b (diff)
downloadbiboumi-8030e5096e1a73e0623bf0d0fd65b25530a318e9.tar.gz
biboumi-8030e5096e1a73e0623bf0d0fd65b25530a318e9.tar.bz2
biboumi-8030e5096e1a73e0623bf0d0fd65b25530a318e9.tar.xz
biboumi-8030e5096e1a73e0623bf0d0fd65b25530a318e9.zip
Do not create a useless biboumi unix user with the RPM package
-rw-r--r--packaging/biboumi.spec10
1 files changed, 0 insertions, 10 deletions
diff --git a/packaging/biboumi.spec b/packaging/biboumi.spec
index 33464c6..dac4a6d 100644
--- a/packaging/biboumi.spec
+++ b/packaging/biboumi.spec
@@ -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