Hello community, here is the log from the commit of package gradle for openSUSE:Factory checked in at 2015-04-16 14:14:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gradle (Old) and /work/SRC/openSUSE:Factory/.gradle.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gradle" Changes: -------- --- /work/SRC/openSUSE:Factory/gradle/gradle.changes 2014-07-18 14:03:59.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.gradle.new/gradle.changes 2015-04-16 14:14:13.000000000 +0200 @@ -1,0 +2,5 @@ +Tue Apr 14 19:21:36 UTC 2015 - [email protected] + +- Update to 2.3 + +------------------------------------------------------------------- Old: ---- gradle.tar.gz New: ---- gradle-2.3-src.zip ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gradle.spec ++++++ --- /var/tmp/diff_new_pack.KhWAFM/_old 2015-04-16 14:14:14.000000000 +0200 +++ /var/tmp/diff_new_pack.KhWAFM/_new 2015-04-16 14:14:14.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package gradle # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -17,18 +17,16 @@ Name: gradle -Version: 0.9 +Version: 2.3 Release: 0 Summary: Groovy-based build system License: Apache-2.0 Group: Development/Tools Url: http://www.gradle.org/ -# git clone git://github.com/gradle/gradle.git -# (cd gradle; git checkout 72ffff) -# tar czf gradle.tar.gz gradle --exclude .git -Source0: gradle.tar.gz +Source0: https://services.gradle.org/distributions/gradle-%{version}-src.zip BuildRequires: java-devel BuildRequires: javapackages-tools +BuildRequires: unzip BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -50,32 +48,30 @@ gradle home directory and the open API jar. %prep -%setup -q -n %{name} - +%setup -q %build # Build Open API subpackage -pushd subprojects/gradle-open-api/src/main/groovy +pushd subprojects/open-api/src/main/java find -name '*.java' |xargs javac -source 1.5 -target 1.5 find -name '*.class' |xargs jar cf gradle-open-api.jar popd - %install install -d %{buildroot}%{_javadir} # Open API -pushd subprojects/gradle-open-api/src/main/groovy +pushd subprojects/open-api/src/main/java install -p -m644 gradle-open-api.jar \ %{buildroot}%{_javadir}/gradle-open-api-%{version}.jar ln -s gradle-open-api-%{version}.jar \ %{buildroot}%{_javadir}/gradle-open-api.jar popd - %files open-api %defattr(-,root,root,-) %{_javadir}/gradle-open-api-%{version}.jar %{_javadir}/gradle-open-api.jar -%doc website/src/content/license.html +%doc subprojects/distributions/src/toplevel/LICENSE +%doc subprojects/distributions/src/toplevel/NOTICE %changelog
