Tweak
This commit is contained in:
parent
1755d237b9
commit
a86dbbfd70
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user