Tweak
This commit is contained in:
parent
1755d237b9
commit
a86dbbfd70
@ -134,7 +134,7 @@ ant \
|
||||
gcj-dbtool -n build/%{name}-%{version}.db 2048
|
||||
aot-compile \
|
||||
build/xercesImpl.jar \
|
||||
build/lib%{name}.jar.so \
|
||||
build/lib%{name}-%{version}.jar.so \
|
||||
"$RPM_OPT_FLAGS -fPIC"
|
||||
gcj-dbtool -f \
|
||||
build/%{name}-%{version}.db \
|
||||
@ -152,8 +152,8 @@ cp -p build/xercesImpl.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
|
||||
|
||||
# solibs
|
||||
mkdir -p $RPM_BUILD_ROOT%{_libdir}
|
||||
cp -p build/lib%{name}.jar.so $RPM_BUILD_ROOT%{_libdir}/lib%{name}-%{version}.jar.so
|
||||
(cd $RPM_BUILD_ROOT%{_libdir} && for so in lib*-%{version}.jar.so; do ln -sf ${so} `echo $so| sed "s|-%{version}||g"`; done)
|
||||
cp -p build/lib%{name}-%{version}.jar.so $RPM_BUILD_ROOT%{_libdir}
|
||||
ln -sf lib%{name}-%{version}.jar.so $RPM_BUILD_ROOT%{_libdir}/lib%{name}.jar.so
|
||||
|
||||
# gcjdb
|
||||
gcjdbdir=`gcj-dbtool -p %{_libdir}`.d
|
||||
|
Loading…
Reference in New Issue
Block a user