Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bcel for openSUSE:Factory checked in at 2023-09-01 14:18:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bcel (Old) and /work/SRC/openSUSE:Factory/.bcel.new.1766 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bcel" Fri Sep 1 14:18:48 2023 rev:32 rq:1108225 version:6.7.0 Changes: -------- --- /work/SRC/openSUSE:Factory/bcel/bcel.changes 2022-11-22 16:09:27.181807559 +0100 +++ /work/SRC/openSUSE:Factory/.bcel.new.1766/bcel.changes 2023-09-01 14:18:58.975743950 +0200 @@ -1,0 +2,60 @@ +Thu Aug 31 08:38:22 UTC 2023 - Fridrich Strba <[email protected]> + +- Update to version 6.7.0 + * 6.7.0 (2022-11-28) Maintenance and bug fix release. + * 6.6.1 (2022-10-29) Maintenance and bug fix release. + * 6.6.0 (2022-10-08) Minor feature and bug fix release. + * 6.5.0 (2020-06-05) Minor feature and bug fix release. + * 6.4.1 (2019-09-26) Bug fix release. + * 6.4.0 (2019-09-20) Feature and bug fix release. + * 6.3.1 (2019-03-20) Bug fix release + * 6.3 (2019-01-23) Experimental Java 9, 10, 11, 12-EA, and 13-EA + Support + * 6.2 (2017-12-08) Experimental Java 9 Support + * 6.1 (2017-09-14) Experimental Java 9 Support + * 6.0 (2016-07-10) Apache Commons BCEL 6.0 is a major release + supporting the new features introduced in Java 6, 7 and 8. It + requires Java 7 or higher to run. + COMPATIBILITY with 5.2 + + Binary compatible + - not strictly compatible + - The constant interface org.apache.bcel.Constants has been + deprecated. Classes which implemented this interface in 5.2 + now use the constants defined in the org.apache.bcel.Const + class. + - The constant interface + org.apache.bcel.generic.InstructionConstants has been + deprecated. Classes which implemented this interface in 5.2 + now use the constants defined in the + org.apache.bcel.generic.InstructionConsts class. + - Return type of method 'public java.lang.Object + getElementAt(int)' in org.apache.bcel.verifier + .VerifierFactoryListModel has been changed to + java.lang.String. + - The BCEL classes do no longer implement java.io.Serializable. + + Source compatible + - Yes, sort of; + - The org.apache.bcel.classfile.Visitor interface has been + enhanced with additional methods. If you implemented it + directly instead of extending the EmptyVisitor class you'll + have to implement the new methods. + - The org.apache.bcel.generic.Visitor interface has been + enhanced with an additional method. If you implemented it + directly instead of extending the EmptyVisitor class you'll + have to implement the new methods. + + Semantic compatible + - Yes, except: + - BCEL 6.0 handles new attributes such as code annotations + that could only be processed by implementing a custom + AttributeReader in the previous versions. Code relying on + this behavior will have to be adjusted since the + AttributeReader will no longer be called in these cases. + + For full information about API changes please see the extended + Clirr report: https://commons.apache.org/bcel/clirr-report.html +- Removed patches: + * bcel-5.2-encoding.patch + + part of our own build.xml file generated to build with ant + * bcel-CVE-2022-42920.patch + + integrated upstrea + +------------------------------------------------------------------- Old: ---- bcel-5.2-encoding.patch bcel-5.2-src.tar.gz bcel-5.2-src.tar.gz.asc bcel-5.2.pom bcel-CVE-2022-42920.patch bcel.keyring New: ---- bcel-6.7.0-src.tar.gz bcel-build.xml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bcel.spec ++++++ --- /var/tmp/diff_new_pack.EjmKGp/_old 2023-09-01 14:19:00.275790350 +0200 +++ /var/tmp/diff_new_pack.EjmKGp/_new 2023-09-01 14:19:00.283790635 +0200 @@ -1,7 +1,7 @@ # # spec file for package bcel # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,25 +17,20 @@ Name: bcel -Version: 5.2 +Version: 6.7.0 Release: 0 Summary: Byte Code Engineering Library License: Apache-2.0 Group: Development/Libraries/Java -URL: http://commons.apache.org/proper/commons-bcel/ -Source0: http://archive.apache.org/dist/commons/bcel/source/%{name}-%{version}-src.tar.gz -Source1: http://archive.apache.org/dist/commons/bcel/source/%{name}-%{version}-src.tar.gz.asc -Source2: http://repo.maven.apache.org/maven2/org/apache/%{name}/%{name}/%{version}/%{name}-%{version}.pom -Source3: bcel.keyring -Patch0: bcel-5.2-encoding.patch -#PATCH-FIX-UPSTREAM bsc#1205125 CVE-2022-42920 Out-of-bounds writing issue -Patch1: bcel-CVE-2022-42920.patch +URL: https://commons.apache.org/proper/commons-bcel/ +Source0: https://archive.apache.org/dist/commons/bcel/source/%{name}-%{version}-src.tar.gz +Source1: %{name}-build.xml BuildRequires: ant +BuildRequires: apache-commons-lang3 +BuildRequires: fdupes BuildRequires: java-devel >= 1.8 -BuildRequires: javapackages-local -BuildRequires: regexp +BuildRequires: javapackages-local >= 6 #!BuildIgnore: xalan-j2 xerces-j2 xml-apis xml-resolver -Requires: regexp BuildArch: noarch %description @@ -60,36 +55,39 @@ much better information about what is wrong with your code than the standard JVM message. -%prep -%autosetup -p1 +%package javadoc +Summary: Javadoc for %{name} +Group: Documentation/HTML + +%description javadoc +This package contains the API documentation for %{name}. -# remove all binary libs -find . -name "*.jar" -exec rm -f {} \; -# very broken build -perl -p -i -e 's| depends=\"examples\"||g;' build.xml -touch manifest.txt +%prep +%setup -q -n %{name}-%{version}-src +cp %{SOURCE1} build.xml %build -export CLASSPATH=%(build-classpath regexp) -export OPT_JAR_LIST="ant/ant-nodeps" -ant \ - -Dant.build.javac.target=8 -Dant.build.javac.source=8 \ - -Dbuild.dest=./build -Dbuild.dir=./build -Dname=%{name} \ - compile jar +mkdir -p lib +build-jar-repository -s lib apache-commons-lang3 +%ant jar javadoc %install -# jars +# jar mkdir -p %{buildroot}%{_javadir} -install -m 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar -(cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do ln -s ${jar} `echo $jar| sed "s|-%{version}||g"`; done) - +install -m 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar +# pom mkdir -p %{buildroot}%{_mavenpomdir} -install -m 644 %{SOURCE2} %{buildroot}%{_mavenpomdir}/%{name}-%{version}.pom - -%add_maven_depmap %{name}-%{version}.pom %{name}-%{version}.jar -a "bcel:bcel" +%mvn_install_pom pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom +%add_maven_depmap %{name}.pom %{name}.jar -a "bcel:bcel" +# javadoc +mkdir -p %{buildroot}%{_javadocdir}/%{name} +cp -a target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name} +%fdupes -s %{buildroot}%{_javadocdir}/%{name} %files -f .mfiles %license LICENSE.txt -%{_javadir}/* + +%files javadoc +%{_javadocdir}/%{name} %changelog ++++++ bcel-5.2-src.tar.gz -> bcel-6.7.0-src.tar.gz ++++++ ++++ 220181 lines of diff (skipped) ++++++ bcel-build.xml ++++++ <?xml version="1.0" encoding="UTF-8"?> <project name="bcel" default="package" basedir="."> <!-- ====================================================================== --> <!-- Build environment properties --> <!-- ====================================================================== --> <property file="build.properties"/> <property name="project.groupId" value="org.apache.bcel"/> <property name="project.artifactId" value="bcel"/> <property name="project.version" value="6.7.0"/> <property name="spec.version" value="6.7"/> <property name="compiler.source" value="1.8"/> <property name="compiler.target" value="${compiler.source}"/> <property name="build.finalName" value="${project.artifactId}-${project.version}"/> <property name="build.dir" value="target"/> <property name="build.outputDir" value="${build.dir}/classes"/> <property name="build.srcDir" value="src/main/java"/> <property name="build.resourceDir" value="."/> <property name="reporting.outputDirectory" value="${build.dir}/site"/> <!-- ====================================================================== --> <!-- Defining classpaths --> <!-- ====================================================================== --> <path id="build.classpath"> <fileset dir="lib"> <include name="**/*"/> </fileset> </path> <!-- ====================================================================== --> <!-- Cleaning up target --> <!-- ====================================================================== --> <target name="clean" description="Clean the output directory"> <delete dir="${build.dir}"/> </target> <!-- ====================================================================== --> <!-- Compilation target --> <!-- ====================================================================== --> <target name="compile" description="Compile the code"> <mkdir dir="${build.outputDir}"/> <javac destdir="${build.outputDir}" encoding="iso-8859-1" nowarn="false" debug="true" optimize="false" deprecation="true" target="${compiler.target}" verbose="false" fork="false" source="${compiler.source}"> <src> <pathelement location="${build.srcDir}"/> </src> <classpath refid="build.classpath"/> </javac> <mkdir dir="${build.outputDir}/META-INF"/> <copy todir="${build.outputDir}/META-INF"> <fileset dir="${build.resourceDir}"> <include name="NOTICE.txt"/> <include name="LICENSE.txt"/> <include name="NOTICE"/> <include name="LICENSE"/> </fileset> </copy> </target> <!-- ====================================================================== --> <!-- Javadoc target --> <!-- ====================================================================== --> <target name="javadoc" description="Generates the Javadoc of the application"> <javadoc sourcepath="${build.srcDir}" packagenames="*" destdir="${reporting.outputDirectory}/apidocs" access="protected" verbose="false" encoding="iso-8859-1" version="true" use="true" author="true" splitindex="false" nodeprecated="false" nodeprecatedlist="false" notree="false" noindex="false" nohelp="false" nonavbar="false" serialwarn="false" docencoding="iso-8859-1" source="${compiler.source}" linksource="true" breakiterator="false"> <classpath refid="build.classpath"/> </javadoc> </target> <!-- ====================================================================== --> <!-- Package target --> <!-- ====================================================================== --> <target name="package" depends="compile" description="Package the application"> <jar jarfile="${build.dir}/${build.finalName}.jar" compress="true" index="false" basedir="${build.outputDir}" excludes="**/package.html"> <manifest> <attribute name="Automatic-Module-Name" value="org.apache.bcel"/> <attribute name="Bundle-Description" value="Apache Commons Bytecode Engineering Library"/> <attribute name="Bundle-DocURL" value="https://commons.apache.org/proper/commons-bcel"/> <attribute name="Bundle-License" value="https://www.apache.org/licenses/LICENSE-2.0.txt"/> <attribute name="Bundle-ManifestVersion" value="2"/> <attribute name="Bundle-Name" value="Apache Commons BCEL"/> <attribute name="Bundle-SymbolicName" value="org.apache.bcel"/> <attribute name="Bundle-Vendor" value="The Apache Software Foundation"/> <attribute name="Bundle-Version" value="${project.version}"/> <attribute name="Export-Package" value="org.apache.bcel.classfile;version="${project.version}",org.apache.bcel.generic;version="${project.version}",org.apache.bcel.util;version="${project.version}",org.apache.bcel.verifier.exc;version="${project.version}",org.apache.bcel.verifier.statics;version="${project.version}",org.apache.bcel.verifier.structurals;version="${project.version}",org.apache.bcel.verifier;version="${project.version}",org.apache.bcel;version="${project.version}""/> <attribute name="Implementation-Title" value="Apache Commons BCEL"/> <attribute name="Implementation-Vendor" value="The Apache Software Foundation"/> <attribute name="Implementation-Version" value="${project.version}"/> <attribute name="Import-Package" value="javax.swing,javax.swing.border,javax.swing.event,org.apache.commons.lang3"/> <attribute name="Include-Resource" value="META-INF/NOTICE.txt=NOTICE.txt,META-INF/LICENSE.txt=LICENSE.txt"/> <attribute name="Require-Capability" value="osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=${compiler.target}))""/> <attribute name="Specification-Title" value="Apache Commons BCEL"/> <attribute name="Specification-Vendor" value="The Apache Software Foundation"/> <attribute name="Specification-Version" value="${spec.version}"/> </manifest> </jar> </target> <!-- ====================================================================== --> <!-- A dummy target for the package named after the type it creates --> <!-- ====================================================================== --> <target name="jar" depends="package" description="Builds the jar for the application"/> </project>
