From fe7bc33f81cb357fe38bc0260b769092b004bcd7 Mon Sep 17 00:00:00 2001 From: Aleksei Shpakovskii Date: Fri, 18 Aug 2023 13:01:05 +0200 Subject: [PATCH] Remove s/cfapi_log/syslog/ replacement It's not needed anymore, and takes 30 seconds on each build Ticket: ENT-10420 --- packaging/cfengine-nova-hub/cfengine-nova-hub.spec.in | 1 - 1 file changed, 1 deletion(-) diff --git a/packaging/cfengine-nova-hub/cfengine-nova-hub.spec.in b/packaging/cfengine-nova-hub/cfengine-nova-hub.spec.in index 46c473beb..1ac9f929c 100644 --- a/packaging/cfengine-nova-hub/cfengine-nova-hub.spec.in +++ b/packaging/cfengine-nova-hub/cfengine-nova-hub.spec.in @@ -127,7 +127,6 @@ sed "s/define('ENVIRONMENT', 'development')/define('ENVIRONMENT','production')/g mv $RPM_BUILD_ROOT%prefix/share/GUI/public/index.php.tmp $RPM_BUILD_ROOT%prefix/share/GUI/public/index.php rm -f $RPM_BUILD_ROOT%prefix/share/GUI/public/index.php.tmp -find $RPM_BUILD_ROOT%prefix/share/GUI -type f -exec sed -i 's/cfapi_log/syslog/' {} \; # NovaBase mkdir -p $RPM_BUILD_ROOT%prefix/share/NovaBase cp -R $RPM_BUILD_ROOT%prefix/masterfiles $RPM_BUILD_ROOT%prefix/share/NovaBase/masterfiles