Hello community, here is the log from the commit of package findbugs-bcel for openSUSE:Leap:15.2 checked in at 2020-02-05 07:29:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/findbugs-bcel (Old) and /work/SRC/openSUSE:Leap:15.2/.findbugs-bcel.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "findbugs-bcel" Wed Feb 5 07:29:13 2020 rev:10 rq:764759 version:6.0~20140707svn1547656 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/findbugs-bcel/findbugs-bcel.changes 2020-01-15 14:55:04.989577276 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.findbugs-bcel.new.26092/findbugs-bcel.changes 2020-02-05 07:29:19.586744361 +0100 @@ -1,0 +2,17 @@ +Wed Dec 19 06:50:44 UTC 2018 - Fridrich Strba <fst...@suse.com> + +- Upgrade to svn revision 1547656 from 2014-07-07 +- Add maven pom file +- Removed patch: + * bcel.diff + + changes already integrated in tarball +- Use fdupes +- Clean spec file with spec-cleaner + +------------------------------------------------------------------- +Thu May 17 05:57:40 UTC 2018 - fst...@suse.com + +- Build with source and target 8 to prepare for a possible removal + of 1.6 compatibility + +------------------------------------------------------------------- Old: ---- bcel-5.2-src.tar.gz bcel-5.2-src.tar.gz.asc bcel.diff findbugs-bcel.keyring New: ---- bcel-20140707svn1547656.tar.xz bcel-findbugs-6.0.pom ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ findbugs-bcel.spec ++++++ --- /var/tmp/diff_new_pack.PcQY1Q/_old 2020-02-05 07:29:20.074744567 +0100 +++ /var/tmp/diff_new_pack.PcQY1Q/_new 2020-02-05 07:29:20.074744567 +0100 @@ -1,7 +1,7 @@ # # spec file for package findbugs-bcel # -# 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,11 +12,12 @@ # 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 findbugsver 1.3.8 +%global basever 6.0 +%global findbugsver 20140707svn1547656 # This is a version of BCEL that has been modified by the findbugs team. They # added some new functionality and also did some performance optimizations of # the base code. I am not producing a new manual, since we already have a @@ -24,22 +25,23 @@ # the javadoc package is necessary to show the changes in the API created by # the findbug team's work. Name: findbugs-bcel -Version: 5.2 +Version: %{basever}~%{findbugsver} Release: 0 Summary: Byte Code Engineering Library with findbugs extensions License: Apache-2.0 Group: Development/Libraries/Java -Url: http://commons.apache.org/proper/commons-bcel/ -Source0: http://www.apache.org/dist/commons/bcel/source/bcel-%{version}-src.tar.gz -Source1: http://www.apache.org/dist/commons/bcel/source/bcel-%{version}-src.tar.gz.asc -Source2: findbugs-bcel.keyring -# This patch is available in the findbugs release, in src/patches/bcel.diff. -Source3: bcel.diff -BuildRequires: java-devel -BuildRequires: javapackages-tools -Requires: java +URL: http://commons.apache.org/proper/commons-bcel/ +# This archive was created with: +# $ svn export http://svn.apache.org/repos/asf/commons/proper/bcel/trunk -r 1547656 bcel-6.0 +# $ tar -Jcf bcel-20140707svn1547656.tar.xz bcel-6.0 +Source0: bcel-%{findbugsver}.tar.xz +Source1: http://central.maven.org/maven2/com/google/code/findbugs/bcel-findbugs/%{basever}/bcel-findbugs-%{basever}.pom +BuildRequires: fdupes +BuildRequires: java-devel >= 1.8 +BuildRequires: javapackages-local +BuildRequires: xz +Requires: java >= 1.8 Requires: javapackages-tools -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description @@ -53,46 +55,41 @@ %package javadoc Summary: Javadoc for %{name} Group: Documentation/HTML -Requires: javapackages-tools %description javadoc %{summary} package. %prep -%setup -q -n bcel-%{version} -patch -p7 -s < %{SOURCE3} +%setup -q -n bcel-%{basever} %build -# The ant and maven builds both try to download unneeded jars mkdir classes -find src/java -type f -name '*.java' | \ -xargs javac -g -d classes -source 1.6 -target 1.6 -encoding ISO8859-1 -cd classes -jar cf findbugs-bcel-%{findbugsver}.jar org -cd .. +javac -g -d classes -source 8 -target 8 -encoding ISO8859-1 $(find src/main/java -type f -name '*.java' | xargs) +jar cf findbugs-bcel.jar -C classes org mkdir javadoc -find src/java -type f -name '*.java' | xargs javadoc -sourcepath src/java \ - -classpath classes -source 1.6 -encoding ISO8859-1 -d javadoc +javadoc -notimestamp -classpath classes -source 8 -encoding ISO8859-1 -d javadoc \ + $(find src/main/java -type f -name '*.java' | xargs) %install - +# jar and pom mkdir -p %{buildroot}%{_javadir} -cp -p classes/findbugs-bcel-%{findbugsver}.jar %{buildroot}%{_javadir} -ln -s findbugs-bcel-%{findbugsver}.jar %{buildroot}%{_javadir}/findbugs-bcel.jar - +install -d -m 755 %{buildroot}%{_mavenpomdir} +install -pm 644 findbugs-bcel.jar %{buildroot}%{_javadir} +install -pm 644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom +%add_maven_depmap JPP-%{name}.pom %{name}.jar -a "com.google.code.findbugs:bcel" +# javadoc mkdir -p %{buildroot}%{_javadocdir} -cp -a javadoc %{buildroot}%{_javadocdir}/findbugs-bcel-%{findbugsver} -ln -s findbugs-bcel-%{findbugsver} %{buildroot}%{_javadocdir}/findbugs-bcel +cp -a javadoc %{buildroot}%{_javadocdir}/findbugs-bcel +%fdupes -s %{buildroot}%{_javadocdir}/findbugs-bcel -%files -%defattr(-,root,root,-) -%doc LICENSE.txt NOTICE.txt README.txt -%{_javadir}/findbugs-bcel* +%files -f .mfiles +%license LICENSE.txt +%doc NOTICE.txt README.txt %files javadoc -%defattr(-,root,root,-) -%doc LICENSE.txt NOTICE.txt +%license LICENSE.txt +%doc NOTICE.txt %{_javadocdir}/findbugs-bcel* %changelog ++++++ bcel-findbugs-6.0.pom ++++++ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.google.code.findbugs</groupId> <artifactId>bcel-findbugs</artifactId> <version>6.0</version> <packaging>jar</packaging> <url>http://findbugs.sourceforge.net/</url> <name>FindBugs-bcel</name> <description>Modified BCEL for Findbugs</description> <licenses> <license> <name>The Apache Software License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> </license> </licenses> <scm> <connection>scm:git:http://code.google.com/p/findbugs/</connection> <developerConnection>scm:git:https://code.google.com/p/findbugs/</developerConnection> <url>https://code.google.com/p/findbugs/</url> </scm> <developers> <developer> <id>bp</id> <name>Bill Pugh</name> <email>pugh at cs.umd.edu</email> <url>http://www.cs.umd.edu/~pugh/</url> <roles> <role>Project Lead</role> <role>Primary Developer</role> </roles> <timezone>-5</timezone> </developer> <developer> <id>al</id> <name>Andrey Loskutov</name> <email>losku...@gmx.de</email> <url>http://andrei.gmxhome.de/privat.html</url> <roles> <role>Eclipse plugin</role> </roles> <timezone>+1</timezone> </developer> <developer> <id>bp</id> <name>Keith Lea</name> <email></email> <url>http://keithlea.com/</url> <roles> <role>web cloud</role> </roles> <timezone>-5</timezone> </developer> </developers> <contributors> <contributor> <name>Garvin LeClaire</name> <email>garvin.lecla...@gmail.com</email> <url></url> <roles> <role>Maven</role> </roles> <timezone>-5</timezone> </contributor> <contributor> <name>David H. Hovemeyer</name> <email>dhove...@ycp.edu</email> <url>http://goose.ycp.edu/~dhovemey/</url> <roles> <role>project founder</role> </roles> <timezone>-5</timezone> </contributor> <contributor> <name>Nay Ayewah</name> <email></email> <url></url> <roles> <role></role> </roles> <timezone>-5</timezone> </contributor> <contributor> <name>Ben Langmead</name> <email></email> <url></url> <roles> <role></role> </roles> <timezone>-5</timezone> </contributor> <contributor> <name>Tomas Pollak</name> <email></email> <url></url> <roles> <role>Eclipse plugin tests</role> </roles> <timezone>-5</timezone> </contributor> <contributor> <name>Phil Crosby</name> <email></email> <url></url> <roles> <role></role> </roles> <timezone>-5</timezone> </contributor> <contributor> <name>Peter Friese</name> <email></email> <url></url> <roles> <role>Eclipse plugin</role> </roles> <timezone>-5</timezone> </contributor> <contributor> <name>Dave Brosius</name> <email></email> <url></url> <roles> <role></role> </roles> <timezone>-5</timezone> </contributor> <contributor> <name>Brian Goetz</name> <email></email> <url></url> <roles> <role></role> </roles> <timezone>-5</timezone> </contributor> <contributor> <name>Rohan Lloyd</name> <email></email> <url></url> <roles> <role></role> </roles> <timezone>-5</timezone> </contributor> </contributors> </project>