diff --git a/linux-sgx.spec b/linux-sgx.spec index b3d178a8029ce4a5122c366b393eb4a4d6d8da17..706274221d0cd30e9cc778d28d2931b794ed9092 100644 --- a/linux-sgx.spec +++ b/linux-sgx.spec @@ -1,6 +1,6 @@ Name: linux-sgx Version: 2.11.100 -Release: 5 +Release: 6 Summary: Intel(R) Software Guard Extensions for Linux* OS ExclusiveArch: x86_64 License: BSD-3-Clause @@ -698,7 +698,7 @@ install -D ./linux/installer/bin/sgx_linux_x64_sdk_2.11.100.2.bin $RPM_BUILD_ROO source /opt/intel/sgxsdk/environment %post -n sgx-aesm-service -if [ -x %{_install_path}/startup.sh ]; then %{_install_path}/startup.sh; fi +if [ -x /opt/intel/sgx-aesm-service/startup.sh ]; then /opt/intel/sgx-aesm-service/startup.sh; fi %post -n libsgx-enclave-common udevadm trigger &>/dev/null || true @@ -814,7 +814,7 @@ rm -f /usr/local/bin/PCKIDRetrievalTool echo -e "Uninstallation succeed!" %preun -n sgx-aesm-service -if [ -x %{_install_path}/cleanup.sh ]; then %{_install_path}/cleanup.sh; fi +if [ -x /opt/intel/sgx-aesm-service/cleanup.sh ]; then /opt/intel/sgx-aesm-service/cleanup.sh; fi %postun -n sgx-dcap-pccs if which pm2 > /dev/null; then @@ -907,6 +907,9 @@ fi %files -n sgx-ra-service -f %{TOOLS_INSTALLER_RPM_DIR}/sgx-ra-service/build/list-sgx-ra-service %changelog +* Tue Mar 9 2021 chenmaodong - 2.11.100-6 +- rewrite spec + * Mon Mar 8 2021 chenmaodong - 2.11.100-5 - rewrite spec