Hi @DemiMarie, thanks for the reply, this is already the spec file, I removed 
all files since there are a lot and they pollute the spec file. I don't really 
have a backtrace, the only response on the command is 'Segmentation fault: 11'. 
As for your other questions, how should we approach rebuilding with those tools?

```
%define   _topdir /project/project/temp

Name: aem-provision
Version: 89.0.0.beta
Release: 1
Summary: No summary
License: MIT
BuildArch: x86_64
Vendor: Amplexor
Group: Development/Tools
Requires: aem-toolbox

%description
No description

%pre
set -euo pipefail
mkdir -p /var/log/deploy
export LOG_FILE=/dev/stdout
export LOG_LEVEL=INFO
#!/usr/bin/env bash

set +u
source /etc/profile
set -ueo pipefail

if [ "${PILLAR}" == LOCAL ] || [ "${HOSTNAME}" == hostname ]; then
  rm -rf /opt/aem/provision
fi


%post
set -euo pipefail
mkdir -p /var/log/deploy
export LOG_FILE=/dev/stdout
export LOG_LEVEL=INFO
#!/usr/bin/env bash

set +u
source /etc/profile
set -ueo pipefail

source /opt/aem/provision/lib/bootstrap.sh

# shellcheck source=/opt/aem-toolbox/lib/aem.sh
source "${LIB_DIR}/aem.sh"

CHECK_ROOT

rm -rf /opt/aem/tmp/*.dat
rm -rf /opt/aem/tmp/fonts.*
rm -rf /opt/aem/tmp/*.hprof
rm -f /opt/aem/aem_*.dev.kbc.be.jks
rm -f /opt/aem/*.log
rm -rf /opt/aem/crx-quickstart/archived-versions

chmod -v u+x "${PROVISION_BASEDIR}"/bin/*


%files

```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1637#issuecomment-819634927
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to