Fix build failing when oracle support is disabled
The scheduled Job #41384757 failed for b0ea9378. This job has oracle support disabled which results in the following error:
Processing files: cta-lib-catalogue-occi-5-7780409gitb0ea9378.el9.x86_64
error: File not found: /builds/cta/CTA/build_rpm/RPM/tmp/usr/lib64/libctacatalogueocci.so*
error: File not found: /builds/cta/CTA/build_rpm/RPM/tmp/usr/lib64/libctardbmsocci.so*
RPM build errors:
File not found: /builds/cta/CTA/build_rpm/RPM/tmp/usr/lib64/libctacatalogueocci.so*
File not found: /builds/cta/CTA/build_rpm/RPM/tmp/usr/lib64/libctardbmsocci.so*
gmake[3]: *** [CMakeFiles/cta_rpm.dir/build.make:72: CMakeFiles/cta_rpm] Error 1
gmake[2]: *** [CMakeFiles/Makefile2:1077: CMakeFiles/cta_rpm.dir/all] Error 2
gmake[1]: *** [CMakeFiles/Makefile2:1084: CMakeFiles/cta_rpm.dir/rule] Error 2
gmake: *** [Makefile:202: cta_rpm] Error 2