Topic: Building packages against /opt/remi/php56
I'm trying to rebuild the php-oci8 package, because there is no php56-php-oci8 variant.
I'm using the following command with the spec file now:
rpmbuild -bb php-pecl-oci8.spec --define 'scl php56'
This allows the dependencies to be resolved correctly, but still gives problems because the build process is looking in /opt/rh instead of /opt/remi.
What should I do so that it looks in /opt/remi? Is that an extra define? I haven't built packages for a software collection before and the only define I found mentioned around was the scl one.
Thanks in advance for any response.