This commit is contained in:
parent
9883427bc6
commit
82c68fbc01
@ -66,12 +66,13 @@ find . -name "*.jar" -exec rm -f {} \;
|
||||
%patch0
|
||||
|
||||
%build
|
||||
export CLASSPATH=$(build-classpath cglib)
|
||||
ant -Djava.io.tmpdir=. clean dist
|
||||
|
||||
%install
|
||||
# jars
|
||||
install -d -m 755 %{buildroot}%{_javadir}
|
||||
install -m 644 dist/%{short_name}-%{version}-SNAPSHOT.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar
|
||||
install -m 644 dist/%{short_name}-%{version}.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar
|
||||
(cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|apache-||g"`; done)
|
||||
(cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
|
||||
# javadoc
|
||||
|
Loading…
Reference in New Issue
Block a user