Changes of Revision 7
[-] | Changed | perl-DBD-Oracle.spec |
x 1
2 URL: http://search.cpan.org/dist/DBD-Oracle/ 3 Source0: http://www.cpan.org/modules/by-module/DBD/DBD-Oracle-%{version}.tar.gz 4 Source1: http://jeanchristophe.duber.free.fr/dbd_oracle_instantclient_linux/Makefile-instantclient.PL 5 +Patch0: %{name}-Makefile.patch 6 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root 7 BuildRequires: perl(DBI) 8 BuildRequires: oracle-instantclient-devel oracle-instantclient-config 9
10 11 %prep 12 %setup -q -n DBD-Oracle-%{version} 13 +%patch0 14 # All files in the archive are executable... (still as of 1.22) 15 find . -type f -exec chmod -x {} \; 16 %{__cp} -a %{SOURCE1} . 17 18 19 %build 20 +export ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server 21 ##%{__perl} Makefile-instantclient.PL \ 22 %{__perl} Makefile.PL \ 23 INSTALLDIRS="vendor" \ 24 |
||
[+] | Added | perl-DBD-Oracle-Makefile.patch ^ |
@@ -0,0 +1,11 @@ +--- Makefile.PL.orig 2008-10-02 07:40:55.000000000 +0200 ++++ Makefile.PL 2008-10-02 07:41:31.000000000 +0200 +@@ -18,7 +18,7 @@ + # For those not using Dynamic loading this means building a + # new static perl in the DBI directory by saying 'make perl' + # and then using _that_ perl to make this one. +-use DBI 1.51; ++use DBI 1.50; + use DBI::DBD; # DBD creation tools + + |