Tomáš Chvátal 2016-09-29 11:23:44 +00:00 committed by Git OBS Bridge
parent 9883427bc6
commit 82c68fbc01

View File

@ -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