Hello community, here is the log from the commit of package cpptasks for openSUSE:Factory checked in at 2017-09-20 17:08:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cpptasks (Old) and /work/SRC/openSUSE:Factory/.cpptasks.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cpptasks" Wed Sep 20 17:08:18 2017 rev:3 rq:526942 version:1.0b5 Changes: -------- --- /work/SRC/openSUSE:Factory/cpptasks/cpptasks.changes 2014-05-06 17:40:02.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.cpptasks.new/cpptasks.changes 2017-09-20 17:08:22.214048804 +0200 @@ -1,0 +2,8 @@ +Mon Sep 18 06:44:19 UTC 2017 - [email protected] + +- Specify java source and target version 1.6 in order to allow + building with jdk9 +- Fix rpmlint errors +- Clean spec file + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cpptasks.spec ++++++ --- /var/tmp/diff_new_pack.rsU9jW/_old 2017-09-20 17:08:22.837960976 +0200 +++ /var/tmp/diff_new_pack.rsU9jW/_new 2017-09-20 17:08:22.841960413 +0200 @@ -1,7 +1,7 @@ # # spec file for package cpptasks # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,17 +24,14 @@ Group: Development/Libraries/Java Url: http://ant-contrib.sourceforge.net/ Source0: http://downloads.sourceforge.net/ant-contrib/%{name}-%{version}.tar.gz - BuildRequires: ant BuildRequires: ant-junit +BuildRequires: fdupes BuildRequires: jpackage-utils BuildRequires: junit - Requires: ant Requires: java - BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This ant task can compile various source languages and produce @@ -50,13 +47,15 @@ Javadoc documentation for %{summary}. %prep -%setup -q -n %{name}-%{version} +%setup -q find . -name '*.jar' -type f -delete -print %build export OPT_JAR_LIST="ant/ant-junit junit" export CLASSPATH="" -%ant jars javadocs +%{ant} \ + -Djavac.source=1.6 -Djavac.target=1.6 \ + jars javadocs %install # jars @@ -65,14 +64,13 @@ # javadoc install -dm 755 %{buildroot}%{_javadocdir}/%{name}-%{version} cp -pr target/javadocs/* %{buildroot}%{_javadocdir}/%{name}-%{version} +%fdupes -s %{buildroot}%{_javadocdir}/%{name}-%{version} ln -s %{name}-%{version} %{buildroot}%{_javadocdir}/%{name} # ghost symlink %files -%defattr(-,root,root,-) %{_javadir}/*.jar %files javadoc -%defattr(-,root,root,-) %doc %{_javadocdir}/%{name}-%{version} %doc %{_javadocdir}/%{name}
