Logoj0ke.net Open Build Service > Projects > devel > perl-DBD-Oracle > Changes
Sign Up | Log In

Changes of Revision 7

[-] Changed perl-DBD-Oracle.spec
x
 
1
@@ -8,6 +8,7 @@
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
@@ -19,12 +20,14 @@
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 ^