Hi, I have the following script on RHEL 7
--------------Script Start--------------------- OPENSSL="openssl-1.1.1k" NGINX_VERSION="1.19.10-1" rpm -ivh http://nginx.org/packages/mainline/centos/7/SRPMS/nginx-$NGINX_VERSION.el7.ngx.src.rpm sed -i "/Source12: .*/a Source100: https://www.openssl.org/source/$OPENSSL.tar.gz" /home/builder/rpmbuild/SPECS/nginx.spec sed -i "s|--with-http_ssl_module|--with-http_ssl_module --with-openssl=$OPENSSL |g" /home/builder/rpmbuild/SPECS/nginx.spec sed -i '/%setup -q/a tar zxf %{SOURCE100}' /home/builder/rpmbuild/SPECS/nginx.spec sed -i '/.*Requires: openssl.*/d' /home/builder/rpmbuild/SPECS/nginx.spec sed -i 's|%define WITH_LD_OPT .*|%define WITH_LD_OPT ""|g' /home/builder/rpmbuild/SPECS/nginx.spec sed -i 's| -fPIC||g' /home/builder/rpmbuild/SPECS/nginx.spec spectool -g -R /home/builder/rpmbuild/SPECS/nginx.spec rpmbuild -ba /home/builder/rpmbuild/SPECS/nginx.spec --------------Script End--------------------- This Script worked with NGINX_VERSION="1.19.9-1" but does not work with NGINX_VERSION="1.19.10-1" Can you please help me with what is wrong? I have been using this script which I got from GitHub, for the past two years. Thanks --- Lee _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx