Hello community, here is the log from the commit of package jsr-305 for openSUSE:Leap:15.2 checked in at 2020-02-05 07:28:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/jsr-305 (Old) and /work/SRC/openSUSE:Leap:15.2/.jsr-305.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "jsr-305" Wed Feb 5 07:28:50 2020 rev:12 rq:764422 version:0.1+20130910 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/jsr-305/jsr-305.changes 2020-01-15 15:13:41.402183786 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.jsr-305.new.26092/jsr-305.changes 2020-02-05 07:28:54.866733952 +0100 @@ -1,0 +2,28 @@ +Sat Oct 5 12:51:38 UTC 2019 - Fridrich Strba <fst...@suse.com> + +- Remove references to parent from all pom files + +------------------------------------------------------------------- +Wed Mar 13 17:57:20 UTC 2019 - Fridrich Strba <fst...@suse.com> + +- Fix a broken link + +------------------------------------------------------------------- +Wed Feb 6 18:36:28 UTC 2019 - Fridrich Strba <fst...@suse.com> + +- Cleanup of spec file +- Do not distribute sampleUses as documentation +- Fix javadoc group + +------------------------------------------------------------------- +Wed Oct 31 02:14:05 UTC 2018 - Fridrich Strba <fst...@suse.com> + +- Package also the parent pom + +------------------------------------------------------------------- +Thu Oct 25 06:58:50 UTC 2018 - Fridrich Strba <fst...@suse.com> + +- 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.zHm1qb/_old 2020-02-05 07:28:55.178734083 +0100 +++ /var/tmp/diff_new_pack.zHm1qb/_new 2020-02-05 07:28:55.178734083 +0100 @@ -1,7 +1,7 @@ # # spec file for package jsr-305 # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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,60 @@ # 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 +URL: http://code.google.com/p/jsr-305/ +# 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} +Summary: Javadoc documentation for %{name} Group: Documentation/HTML +%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 + +for module in ri tcl sampleUses proposedAnnotations; do + %pom_remove_parent ${module} +done %build export OPT_JAR_LIST=: @@ -71,30 +77,26 @@ %install # jars -mkdir -p %{buildroot}%{_javadir} -cp -a ri/jsr-305-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar -ln -s %{name}-%{version}.jar %{buildroot}%{_javadir}/jsr305.jar +install -dm 0755 %{buildroot}%{_javadir} +install -pm 0644 ri/jsr-305-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar +ln -s %{name}.jar %{buildroot}%{_javadir}/jsr305.jar # poms -mkdir -p %{buildroot}%{_mavenpomdir} -cp -a ri/pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom -%add_maven_depmap +install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name} +install -pm 0644 ri/pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom +%add_maven_depmap %{name}.pom %{name}.jar -a com.google.code.findbugs:jsr305 # javadoc -mkdir -p %{buildroot}%{_javadocdir}/%{name} -cp -a ri/javadoc/* %{buildroot}%{_javadocdir}/%{name} -%fdupes -s %{buildroot}%{_javadocdir}/%{name} - -%files -%defattr(0644,root,root,0755) -%doc license -%{_javadir}/%{name}.jar +install -dm 0755 %{buildroot}%{_javadocdir}/%{name} +cp -pr ri/javadoc/* %{buildroot}%{_javadocdir}/%{name} +%fdupes -s %{buildroot}%{_javadocdir} + +%files -f .mfiles +%license ri/LICENSE NOTICE-CC-BY %{_javadir}/jsr305.jar -%{_mavenpomdir}/* -%{_datadir}/maven-metadata/%{name}.xml* %files javadoc -%defattr(0644,root,root,0755) +%license 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 ++++++ jsr-305-ri-build.xml ++++++ --- /var/tmp/diff_new_pack.zHm1qb/_old 2020-02-05 07:28:55.214734098 +0100 +++ /var/tmp/diff_new_pack.zHm1qb/_new 2020-02-05 07:28:55.218734100 +0100 @@ -24,7 +24,6 @@ version="true" use="true" windowtitle="JSR 305: Annotations for Software Defect Detection in Java"> - <link href="${java.javadoc}"/> </javadoc> </target>