Hello community,

here is the log from the commit of package jsr-305 for openSUSE:Factory checked 
in at 2019-02-24 17:13:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/jsr-305 (Old)
 and      /work/SRC/openSUSE:Factory/.jsr-305.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "jsr-305"

Sun Feb 24 17:13:07 2019 rev:16 rq:672371 version:0.1+20130910

Changes:
--------
--- /work/SRC/openSUSE:Factory/jsr-305/jsr-305.changes  2018-12-04 
20:56:23.404715300 +0100
+++ /work/SRC/openSUSE:Factory/.jsr-305.new.28833/jsr-305.changes       
2019-02-24 17:13:10.252474381 +0100
@@ -1,0 +2,7 @@
+Wed Feb  6 18:36:28 UTC 2019 - Fridrich Strba <[email protected]>
+
+- Cleanup of spec file
+- Do not distribute sampleUses as documentation
+- Fix javadoc group
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ jsr-305.spec ++++++
--- /var/tmp/diff_new_pack.JL2395/_old  2019-02-24 17:13:11.536474152 +0100
+++ /var/tmp/diff_new_pack.JL2395/_new  2019-02-24 17:13:11.536474152 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package jsr-305
 #
-# Copyright (c) 2018 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
@@ -26,7 +26,7 @@
 # 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/
+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:
@@ -39,14 +39,12 @@
 BuildRequires:  ant
 BuildRequires:  dos2unix
 BuildRequires:  fdupes
-BuildRequires:  java-devel
 BuildRequires:  javapackages-local
-BuildRequires:  javapackages-tools
 BuildArch:      noarch
 
 %package javadoc
 Summary:        Javadoc documentation for %{name}
-Group:          Development/Libraries/Java
+Group:          Documentation/HTML
 
 %description
 This package contains reference implementations, test cases, and other
@@ -75,38 +73,28 @@
 
 %install
 # jars
-mkdir -p %{buildroot}%{_javadir}
-cp -a ri/jsr-305-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
+install -dm 0755 %{buildroot}%{_javadir}
+install -pm 0644 ri/jsr-305-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
 ln -s %{name}-%{version}.jar %{buildroot}%{_javadir}/jsr305.jar
 
 # poms
-mkdir -p %{buildroot}%{_mavenpomdir}
-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
+install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name}
+install -pm 0644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{name}.pom
 %add_maven_depmap %{name}/%{name}.pom
+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 ri/LICENSE NOTICE-CC-BY sampleUses
-%{_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}/*
-%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
+%license ri/LICENSE NOTICE-CC-BY
 %{_javadocdir}/%{name}
 
 %changelog

++++++ jsr-305-ri-build.xml ++++++
--- /var/tmp/diff_new_pack.JL2395/_old  2019-02-24 17:13:11.568474146 +0100
+++ /var/tmp/diff_new_pack.JL2395/_new  2019-02-24 17:13:11.568474146 +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>
 


Reply via email to