This commit is contained in:
gbenson 2005-05-26 17:06:22 +00:00
parent 1755d237b9
commit a86dbbfd70

View File

@ -134,7 +134,7 @@ ant \
gcj-dbtool -n build/%{name}-%{version}.db 2048 gcj-dbtool -n build/%{name}-%{version}.db 2048
aot-compile \ aot-compile \
build/xercesImpl.jar \ build/xercesImpl.jar \
build/lib%{name}.jar.so \ build/lib%{name}-%{version}.jar.so \
"$RPM_OPT_FLAGS -fPIC" "$RPM_OPT_FLAGS -fPIC"
gcj-dbtool -f \ gcj-dbtool -f \
build/%{name}-%{version}.db \ build/%{name}-%{version}.db \
@ -152,8 +152,8 @@ cp -p build/xercesImpl.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
# solibs # solibs
mkdir -p $RPM_BUILD_ROOT%{_libdir} mkdir -p $RPM_BUILD_ROOT%{_libdir}
cp -p build/lib%{name}.jar.so $RPM_BUILD_ROOT%{_libdir}/lib%{name}-%{version}.jar.so cp -p build/lib%{name}-%{version}.jar.so $RPM_BUILD_ROOT%{_libdir}
(cd $RPM_BUILD_ROOT%{_libdir} && for so in lib*-%{version}.jar.so; do ln -sf ${so} `echo $so| sed "s|-%{version}||g"`; done) ln -sf lib%{name}-%{version}.jar.so $RPM_BUILD_ROOT%{_libdir}/lib%{name}.jar.so
# gcjdb # gcjdb
gcjdbdir=`gcj-dbtool -p %{_libdir}`.d gcjdbdir=`gcj-dbtool -p %{_libdir}`.d