[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RPM spec file: using __cp with wildcards



Title: RPM spec file: using __cp with wildcards

Hello.

I'm trying to use the .spec file provided at http://freshrpms.net/docs/oracle/ in order to build RPMs for the Oracle Instant Client.

Running rpmbuild fails because it's escaping arguments passed to 'cp' -- instead of:
        cp sourcedir/*.ext /var/tmp/dest
It insists on attempting
        cp 'sourcedir/*.ext' /var/tmp/dest

Obviously cp isn't happy about this.

Is there an easy way to get rpmbuild to allow the use of wildcards in commands in the %install section without escaping everything it's asked to pass on to the command line? Is the spec file incorrect? Do I need to rewrite it to explicitly mention every file to be copied?

Thanks!

Chet


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]