[users] spec file: conditional file inclusion

Donald Raikes don.raikes at oracle.com
Fri Mar 21 06:50:28 CET 2008


Hello,
I have a package which will build a variable set of files depending on whether any of a combination of other packages are installed.

For example, if package1 is installed when my package is installed, then package1_driver is compiled and installed.

None of the other packages is required for successful compilation of my package.

My problem occurs when I try to setup my %file section.

If package1 is present when I build the package, then package1_driver needs to be included in the %file list, however if package1 is not installed then package1_driver is not compiled, and if it is in the %file list, my package doesn't build properly.

Any suggestions would be appreciated.



  <file:///C:/Program%20Files/oracle/Oracle%20Business%20Signature/oracle_sig_logo.gif>
Donald Raikes | Accessibility Specialist
Phone: +1 602 824 6213 | Fax: +1 602 824 6213 | Mobile: +1 520 271 7608 
Oracle JDeveloper QA

  <file:///C:/Program%20Files/oracle/Oracle%20Business%20Signature/env-resp.gif>"Please consider your environmental responsibility before printing this e-mail"



More information about the users mailing list