Hello community,
here is the log from the commit of package jsr-305 for openSUSE:Factory checked in at 2018-12-04 20:56:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/jsr-305 (Old)
and /work/SRC/openSUSE:Factory/.jsr-305.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "jsr-305"
Tue Dec 4 20:56:03 2018 rev:15 rq:653647 version:0.1+20130910
Changes:
--------
--- /work/SRC/openSUSE:Factory/jsr-305/jsr-305.changes 2017-09-20 17:11:46.509290237 +0200
+++ /work/SRC/openSUSE:Factory/.jsr-305.new.19453/jsr-305.changes 2018-12-04 20:56:23.404715300 +0100
@@ -1,0 +2,11 @@
+Wed Oct 31 02:14:05 UTC 2018 - Fridrich Strba
+
+- Package also the parent pom
+
+-------------------------------------------------------------------
+Thu Oct 25 06:58:50 UTC 2018 - Fridrich Strba
+
+- Update to newer snapshot (svn revision 51)
+- Add com.google.code.findbugs:jsr305 alias to the maven provides
+
+-------------------------------------------------------------------
Old:
----
jsr-305-0.1.tar.bz2
license
New:
----
NOTICE-CC-BY.txt
jsr-305-20130910svn.tgz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ jsr-305.spec ++++++
--- /var/tmp/diff_new_pack.Fvqua9/_old 2018-12-04 20:56:23.904714748 +0100
+++ /var/tmp/diff_new_pack.Fvqua9/_new 2018-12-04 20:56:23.908714744 +0100
@@ -1,7 +1,7 @@
#
# spec file for package jsr-305
#
-# 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
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,54 +12,58 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
+%global svn_revision 51
+%global svn_date 20130910
Name: jsr-305
-Version: 0.1
+Version: 0.1+%{svn_date}
Release: 0
-Summary: JSR 305: Annotations for Software Defect Detection in Java
-# http://groups.google.com/group/jsr-305/browse_thread/thread/8105869a258c8c4f
+Summary: Correctness annotations for Java code
+# The majority of code is BSD-licensed, but some Java sources
+# are licensed under CC-BY license, see: $ grep -r Creative .
License: BSD-3-Clause
Group: Development/Libraries/Java
Url: http://code.google.com/p/jsr-305/
-# svn export -r20080806 http://jsr-305.googlecode.com/svn/trunk/ jsr-305-0.1
-# tar cjf jsr-305-0.1.bz2 jsr-305-0.1
-Source0: jsr-305-0.1.tar.bz2
+# There has been no official release yet. This is a snapshot of the Subversion
+# repository as of 10 Sep 2013. Use the following commands to generate the
+# tarball:
+# svn export -r %{svn_revision} http://%{name}.googlecode.com/svn/trunk %{name}
+# tar -czvf %{name}-%{svn_date}svn.tgz %{name}
+Source0: jsr-305-%{svn_date}svn.tgz
Source1: jsr-305-ri-build.xml
-# bnc#653551
-# The URL reffers to New BSD License - used <OWNER> == Bill Pugh, <YEAR> == 2008
-Source2: license
+# File containing URL to CC-BY license text
+Source2: NOTICE-CC-BY.txt
BuildRequires: ant
+BuildRequires: dos2unix
BuildRequires: fdupes
BuildRequires: java-devel
BuildRequires: javapackages-local
BuildRequires: javapackages-tools
-Provides: jsr305 = %{version}-%{release}
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
-%description
-This project contains reference implementations, test cases, and other
-documents under source code control for Java Specification Request 305:
-Annotations for Software Defect Detection. More information at the Google
-group: http://groups.google.com/group/jsr-305.
-
%package javadoc
-Summary: Javadoc for %{name}
-Group: Documentation/HTML
+Summary: Javadoc documentation for %{name}
+Group: Development/Libraries/Java
+
+%description
+This package contains reference implementations, test cases, and other
+documents for Java Specification Request 305: Annotations for Software Defect
+Detection.
%description javadoc
-This project contains reference implementations, test cases, and other
-documents under source code control for Java Specification Request 305:
-Annotations for Software Defect Detection. More information at the Google
-group: http://groups.google.com/group/jsr-305.
+This package contains the API documentation for %{name}.
%prep
-%setup -q
+%setup -q -n %{name}
cp -a %{SOURCE1} ri/build.xml
-cp %{SOURCE2} .
+cp %{SOURCE2} NOTICE-CC-BY
+dos2unix sampleUses/pom.xml
+
+# do not build sampleUses module - it causes Javadoc generation to fail
+%pom_disable_module sampleUses
%build
export OPT_JAR_LIST=:
@@ -77,8 +81,11 @@
# poms
mkdir -p %{buildroot}%{_mavenpomdir}
-cp -a ri/pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
-%add_maven_depmap
+cp -a ri/pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom
+%add_maven_depmap %{name}.pom %{name}.jar -a com.google.code.findbugs:jsr305
+mkdir -p %{buildroot}%{_mavenpomdir}/%{name}
+cp -a pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{name}.pom
+%add_maven_depmap %{name}/%{name}.pom
# javadoc
mkdir -p %{buildroot}%{_javadocdir}/%{name}
@@ -87,14 +94,19 @@
%files
%defattr(0644,root,root,0755)
-%doc license
+%doc ri/LICENSE NOTICE-CC-BY sampleUses
%{_javadir}/%{name}.jar
%{_javadir}/jsr305.jar
%{_mavenpomdir}/*
+%if %{defined _maven_repository}
+%{_mavendepmapfragdir}/%{name}
+%else
%{_datadir}/maven-metadata/%{name}.xml*
+%endif
%files javadoc
%defattr(0644,root,root,0755)
+%doc ri/LICENSE NOTICE-CC-BY
%{_javadocdir}/%{name}
%changelog
++++++ NOTICE-CC-BY.txt ++++++
Copyright (c) 2005 Brian Goetz
Released under the Creative Commons Attribution License
(http://creativecommons.org/licenses/by/2.5)
Official home: http://www.jcip.net