This commit is contained in:
parent
788f0f731b
commit
bc8b67522f
@ -6,5 +6,5 @@
|
|||||||
ivy.deliver.revision=${project.version}
|
ivy.deliver.revision=${project.version}
|
||||||
-jdk.source=1.4
|
-jdk.source=1.4
|
||||||
-jdk.target=1.4
|
-jdk.target=1.4
|
||||||
+jdk.source=1.6
|
+jdk.source=8
|
||||||
+jdk.target=1.6
|
+jdk.target=8
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 15 05:45:46 UTC 2018 - fstrba@suse.com
|
||||||
|
|
||||||
|
- Build with source and target 8 to prepare for a possible removal
|
||||||
|
of 1.6 compatibility in OpenJDK 11
|
||||||
|
- Run fdupes on the documentation
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 6 18:17:00 UTC 2017 - fstrba@suse.com
|
Wed Sep 6 18:17:00 UTC 2017 - fstrba@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ant-contrib
|
# spec file for package ant-contrib
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -22,7 +22,7 @@ Release: 0
|
|||||||
Summary: Collection of tasks for Ant
|
Summary: Collection of tasks for Ant
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
Url: http://ant-contrib.sourceforge.net/
|
URL: http://ant-contrib.sourceforge.net/
|
||||||
Source0: http://prdownloads.sourceforge.net/ant-contrib/ant-contrib-%{version}-src.tar.gz
|
Source0: http://prdownloads.sourceforge.net/ant-contrib/ant-contrib-%{version}-src.tar.gz
|
||||||
Source1: http://mirrors.ibiblio.org/pub/mirrors/maven2/%{name}/%{name}/1.0b3/%{name}-1.0b3.pom
|
Source1: http://mirrors.ibiblio.org/pub/mirrors/maven2/%{name}/%{name}/1.0b3/%{name}-1.0b3.pom
|
||||||
# ASL 2.0 Licence text
|
# ASL 2.0 Licence text
|
||||||
@ -38,7 +38,8 @@ BuildRequires: apache-ivy
|
|||||||
BuildRequires: bcel >= 5.1
|
BuildRequires: bcel >= 5.1
|
||||||
BuildRequires: commons-httpclient
|
BuildRequires: commons-httpclient
|
||||||
BuildRequires: commons-logging
|
BuildRequires: commons-logging
|
||||||
BuildRequires: java-devel >= 1.6
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: java-devel >= 1.8
|
||||||
BuildRequires: javapackages-local
|
BuildRequires: javapackages-local
|
||||||
BuildRequires: javapackages-tools
|
BuildRequires: javapackages-tools
|
||||||
BuildRequires: junit
|
BuildRequires: junit
|
||||||
@ -46,7 +47,6 @@ BuildRequires: xerces-j2
|
|||||||
Requires: junit >= 3.8.1
|
Requires: junit >= 3.8.1
|
||||||
Requires: xerces-j2
|
Requires: xerces-j2
|
||||||
%requires_eq ant
|
%requires_eq ant
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -94,6 +94,7 @@ install -Dpm 644 target/%{name}.jar %{buildroot}%{_javadir}/ant/%{name}.jar
|
|||||||
# javadoc
|
# javadoc
|
||||||
install -dm 755 %{buildroot}%{_javadocdir}/%{name}
|
install -dm 755 %{buildroot}%{_javadocdir}/%{name}
|
||||||
cp -pr target/docs/api/* %{buildroot}%{_javadocdir}/%{name}
|
cp -pr target/docs/api/* %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
%fdupes -s %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/ant.d
|
mkdir -p %{buildroot}%{_sysconfdir}/ant.d
|
||||||
echo "ant/ant-contrib" > %{buildroot}%{_sysconfdir}/ant.d/ant-contrib
|
echo "ant/ant-contrib" > %{buildroot}%{_sysconfdir}/ant.d/ant-contrib
|
||||||
@ -106,19 +107,19 @@ echo "call add_maven_depmap JPP.ant-%{name}.pom ant/%{name}.jar"
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(0644,root,root,0755)
|
%defattr(0644,root,root,0755)
|
||||||
%doc target/docs/LICENSE.txt LICENSE-2.0.txt
|
%license target/docs/LICENSE.txt
|
||||||
|
%doc LICENSE-2.0.txt
|
||||||
%config %{_sysconfdir}/ant.d/%{name}
|
%config %{_sysconfdir}/ant.d/%{name}
|
||||||
%{_javadir}/ant/%{name}.jar
|
%{_javadir}/ant/%{name}.jar
|
||||||
%{_mavenpomdir}/JPP.ant-%{name}.pom
|
%{_mavenpomdir}/JPP.ant-%{name}.pom
|
||||||
%{_datadir}/maven-metadata/%{name}.xml
|
%{_datadir}/maven-metadata/%{name}.xml
|
||||||
|
|
||||||
%files manual
|
%files manual
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc target/docs/manual/tasks/*
|
%doc target/docs/manual/tasks/*
|
||||||
|
|
||||||
%files javadoc
|
%files javadoc
|
||||||
%defattr(-,root,root,-)
|
%license target/docs/LICENSE.txt
|
||||||
%doc target/docs/LICENSE.txt LICENSE-2.0.txt
|
%doc LICENSE-2.0.txt
|
||||||
%doc %{_javadocdir}/%{name}
|
%doc %{_javadocdir}/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user