From cc85b17fae9e07f8af0c04684fc45fc444f0c1bc Mon Sep 17 00:00:00 2001 From: Harald Musum Date: Wed, 26 Feb 2020 13:26:36 +0100 Subject: Remove duplicate pre section This RPM depends on vespa-base which does everything in this section already --- standalone-container/vespa-standalone-container.spec | 9 --------- 1 file changed, 9 deletions(-) (limited to 'standalone-container') diff --git a/standalone-container/vespa-standalone-container.spec b/standalone-container/vespa-standalone-container.spec index 571b8b0ff4c..99e42ccee10 100644 --- a/standalone-container/vespa-standalone-container.spec +++ b/standalone-container/vespa-standalone-container.spec @@ -99,15 +99,6 @@ done %clean rm -rf %buildroot -%pre -getent group vespa >/dev/null || groupadd -r vespa -getent passwd vespa >/dev/null || \ - useradd -r -g vespa -d %_prefix -s /sbin/nologin \ - -c "Create owner of all Vespa data files" vespa -echo "pathmunge %_prefix/bin" > /etc/profile.d/vespa.sh -echo "export VESPA_HOME=%_prefix" >> /etc/profile.d/vespa.sh -chmod +x /etc/profile.d/vespa.sh - %postun if [ $1 -eq 0 ]; then # this is an uninstallation rm -f /etc/profile.d/vespa.sh -- cgit v1.2.3