Use apache-commons-* instead of jakarta-commons-*.
- Drop xml-commons-apis-13 BR/R since it's no longer needed.
This commit is contained in:
parent
d74a2cd399
commit
7399143ab8
25
ant.spec
25
ant.spec
@ -49,7 +49,7 @@
|
|||||||
|
|
||||||
Name: ant
|
Name: ant
|
||||||
Version: 1.8.3
|
Version: 1.8.3
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Epoch: 0
|
Epoch: 0
|
||||||
Summary: Build tool for java
|
Summary: Build tool for java
|
||||||
Summary(it): Tool per la compilazione di programmi java
|
Summary(it): Tool per la compilazione di programmi java
|
||||||
@ -67,11 +67,9 @@ Patch4: apache-ant-class-path-in-manifest.patch
|
|||||||
|
|
||||||
BuildRequires: jpackage-utils >= 0:1.7.5
|
BuildRequires: jpackage-utils >= 0:1.7.5
|
||||||
BuildRequires: java-devel >= 0:1.5.0
|
BuildRequires: java-devel >= 0:1.5.0
|
||||||
BuildRequires: jaxp_transform_impl
|
|
||||||
%if %without bootstrap
|
%if %without bootstrap
|
||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
BuildRequires: junit
|
BuildRequires: junit
|
||||||
BuildRequires: xml-commons-jaxp-1.3-apis
|
|
||||||
BuildRequires: xalan-j2
|
BuildRequires: xalan-j2
|
||||||
BuildRequires: xerces-j2
|
BuildRequires: xerces-j2
|
||||||
%endif
|
%endif
|
||||||
@ -80,7 +78,6 @@ Requires: jpackage-utils >= 0:1.7.5
|
|||||||
Requires: java-devel >= 0:1.5.0
|
Requires: java-devel >= 0:1.5.0
|
||||||
%if %without bootstrap
|
%if %without bootstrap
|
||||||
Requires: xerces-j2
|
Requires: xerces-j2
|
||||||
Requires: xml-commons-jaxp-1.3-apis
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -198,8 +195,8 @@ Taches apache resolver optionelles pour %{name}.
|
|||||||
Summary: Optional commons logging tasks for %{name}
|
Summary: Optional commons logging tasks for %{name}
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Requires: %{name} = %{epoch}:%{version}-%{release}
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
||||||
Requires: jakarta-commons-logging
|
Requires: apache-commons-logging
|
||||||
BuildRequires: jakarta-commons-logging
|
BuildRequires: apache-commons-logging
|
||||||
Provides: ant-commons-logging = %{epoch}:%{version}-%{release}
|
Provides: ant-commons-logging = %{epoch}:%{version}-%{release}
|
||||||
|
|
||||||
%description commons-logging
|
%description commons-logging
|
||||||
@ -212,8 +209,8 @@ Taches commons logging optionelles pour %{name}.
|
|||||||
Summary: Optional commons net tasks for %{name}
|
Summary: Optional commons net tasks for %{name}
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Requires: %{name} = %{epoch}:%{version}-%{release}
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
||||||
Requires: jakarta-commons-net
|
Requires: apache-commons-net
|
||||||
BuildRequires: jakarta-commons-net
|
BuildRequires: apache-commons-net
|
||||||
Provides: ant-commons-net = %{epoch}:%{version}-%{release}
|
Provides: ant-commons-net = %{epoch}:%{version}-%{release}
|
||||||
|
|
||||||
%description commons-net
|
%description commons-net
|
||||||
@ -444,7 +441,7 @@ find . -name "*.jar" | %{_bindir}/xargs -t rm
|
|||||||
|
|
||||||
#install jars
|
#install jars
|
||||||
%if %without bootstrap
|
%if %without bootstrap
|
||||||
build-jar-repository -s -p lib/optional xerces-j2 xml-commons-jaxp-1.3-apis antlr bcel javamail/mailapi jdepend junit log4j oro regexp bsf commons-logging commons-net jsch xalan-j2 xml-commons-resolver
|
build-jar-repository -s -p lib/optional xerces-j2 antlr bcel javamail/mailapi jdepend junit log4j oro regexp bsf commons-logging commons-net jsch xalan-j2 xml-commons-resolver
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Fix file-not-utf8 rpmlint warning
|
# Fix file-not-utf8 rpmlint warning
|
||||||
@ -457,7 +454,7 @@ mv LICENSE.utf8 LICENSE
|
|||||||
%if %without bootstrap
|
%if %without bootstrap
|
||||||
%{ant} jars test-jar
|
%{ant} jars test-jar
|
||||||
%if %{build_javadoc}
|
%if %{build_javadoc}
|
||||||
export CLASSPATH=$(build-classpath xerces-j2 xml-commons-jaxp-1.3-apis antlr bcel jaf javamail/mailapi jdepend junit log4j oro regexp bsf commons-logging commons-net jsch xalan-j2 xml-commons-resolver)
|
export CLASSPATH=$(build-classpath xerces-j2 antlr bcel javamail/mailapi jdepend junit log4j oro regexp bsf commons-logging commons-net jsch xalan-j2 xml-commons-resolver)
|
||||||
%{ant} javadocs
|
%{ant} javadocs
|
||||||
%endif
|
%endif
|
||||||
%else
|
%else
|
||||||
@ -543,8 +540,8 @@ echo "ant/ant-swing" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/swing
|
|||||||
echo "antlr ant/ant-antlr" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/antlr
|
echo "antlr ant/ant-antlr" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/antlr
|
||||||
echo "bsf ant/ant-apache-bsf" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-bsf
|
echo "bsf ant/ant-apache-bsf" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-bsf
|
||||||
echo "xml-commons-resolver ant/ant-apache-resolver" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-resolver
|
echo "xml-commons-resolver ant/ant-apache-resolver" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-resolver
|
||||||
echo "jakarta-commons-logging ant/ant-commons-logging" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/commons-logging
|
echo "apache-commons-logging ant/ant-commons-logging" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/commons-logging
|
||||||
echo "jakarta-commons-net ant/ant-commons-net" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/commons-net
|
echo "apache-commons-net ant/ant-commons-net" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/commons-net
|
||||||
#echo "jai ant/ant-jai" > $RPM_BUILD_ROOT%%{_sysconfdir}/%%{name}.d/jai
|
#echo "jai ant/ant-jai" > $RPM_BUILD_ROOT%%{_sysconfdir}/%%{name}.d/jai
|
||||||
echo "bcel ant/ant-apache-bcel" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-bcel
|
echo "bcel ant/ant-apache-bcel" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-bcel
|
||||||
echo "log4j ant/ant-apache-log4j" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-log4j
|
echo "log4j ant/ant-apache-log4j" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-log4j
|
||||||
@ -741,6 +738,10 @@ find $RPM_BUILD_ROOT%{_datadir}/ant/etc -type f -name "*.xsl" \
|
|||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed May 2 2012 Alexander Kurtakov <akurtako@redhat.com> 0:1.8.3-2
|
||||||
|
- Use apache-commons-* instead of jakarta-commons-*.
|
||||||
|
- Drop xml-commons-apis-13 BR/R since it's no longer needed.
|
||||||
|
|
||||||
* Wed Feb 29 2012 Alexander Kurtakov <akurtako@redhat.com> 0:1.8.3-1
|
* Wed Feb 29 2012 Alexander Kurtakov <akurtako@redhat.com> 0:1.8.3-1
|
||||||
- Update to upstream 1.8.3 release.
|
- Update to upstream 1.8.3 release.
|
||||||
- Drop old stuff.
|
- Drop old stuff.
|
||||||
|
Loading…
Reference in New Issue
Block a user