Rearrange how BC-compiled stuff is built and installed
This commit is contained in:
parent
6a03cc1032
commit
1755d237b9
@ -131,10 +131,16 @@ ant \
|
|||||||
-Djar.resolver=xml-commons-resolver.jar \
|
-Djar.resolver=xml-commons-resolver.jar \
|
||||||
clean jars javadocs
|
clean jars javadocs
|
||||||
|
|
||||||
|
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}.jar.so \
|
||||||
"$RPM_OPT_FLAGS -fPIC"
|
"$RPM_OPT_FLAGS -fPIC"
|
||||||
|
gcj-dbtool -f \
|
||||||
|
build/%{name}-%{version}.db \
|
||||||
|
build/xercesImpl.jar \
|
||||||
|
%{_libdir}/lib%{name}-%{version}.jar.so
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -152,10 +158,7 @@ cp -p build/lib%{name}.jar.so $RPM_BUILD_ROOT%{_libdir}/lib%{name}-%{version}.ja
|
|||||||
# gcjdb
|
# gcjdb
|
||||||
gcjdbdir=`gcj-dbtool -p %{_libdir}`.d
|
gcjdbdir=`gcj-dbtool -p %{_libdir}`.d
|
||||||
mkdir -p $RPM_BUILD_ROOT$gcjdbdir
|
mkdir -p $RPM_BUILD_ROOT$gcjdbdir
|
||||||
gcj-dbtool -n $RPM_BUILD_ROOT$gcjdbdir/%{name}-%{version}.db 80000
|
cp -p build/%{name}-%{version}.db $RPM_BUILD_ROOT$gcjdbdir
|
||||||
gcj-dbtool -f $RPM_BUILD_ROOT$gcjdbdir/%{name}-%{version}.db \
|
|
||||||
$RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar \
|
|
||||||
%{_libdir}/lib%{name}-%{version}.jar.so
|
|
||||||
|
|
||||||
# javadoc
|
# javadoc
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}-impl-%{version}
|
mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}-impl-%{version}
|
||||||
@ -284,6 +287,9 @@ update-alternatives --install %{_javadir}/jaxp_parser_impl.jar \
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu May 26 2005 Gary Benson <gbenson@redhat.com>
|
||||||
|
- Rearrange how BC-compiled stuff is built and installed.
|
||||||
|
|
||||||
* Mon May 23 2005 Gary Benson <gbenson@redhat.com> 0:2.6.2-4jpp_6fc
|
* Mon May 23 2005 Gary Benson <gbenson@redhat.com> 0:2.6.2-4jpp_6fc
|
||||||
- Add alpha to the list of build architectures (#157522).
|
- Add alpha to the list of build architectures (#157522).
|
||||||
- Use absolute paths for rebuild-gcj-db.
|
- Use absolute paths for rebuild-gcj-db.
|
||||||
|
Loading…
Reference in New Issue
Block a user