Add aliases for ant:ant and apache:ant

This commit is contained in:
Mikolaj Izdebski 2014-08-11 14:54:39 +02:00
parent 902b01a8c9
commit 06baad47bd

View File

@ -36,7 +36,7 @@
Name: ant
Version: 1.9.4
Release: 3%{?dist}
Release: 4%{?dist}
Epoch: 0
Summary: Build tool for java
Summary(it): Tool per la compilazione di programmi java
@ -383,7 +383,7 @@ do
# add backward compatibility for nodeps jar that is now part of main
# jar
alias=
[ $jarname == ant ] && alias=org.apache.ant:ant-nodeps
[ $jarname == ant ] && alias=org.apache.ant:ant-nodeps,apache:ant,ant:ant
#install pom
install -p -m 644 src/etc/poms/${jarname}/pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/${pomname}
@ -580,6 +580,9 @@ cp -pr build/javadocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
# -----------------------------------------------------------------------------
%changelog
* Mon Aug 11 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.9.4-4
- Add aliases for ant:ant and apache:ant
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.9.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild