Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package json-simple for openSUSE:Factory checked in at 2026-04-04 19:07:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/json-simple (Old) and /work/SRC/openSUSE:Factory/.json-simple.new.21863 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "json-simple" Sat Apr 4 19:07:44 2026 rev:3 rq:1344525 version:2.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/json-simple/json-simple.changes 2025-10-05 17:52:27.722627685 +0200 +++ /work/SRC/openSUSE:Factory/.json-simple.new.21863/json-simple.changes 2026-04-04 19:09:34.886448580 +0200 @@ -1,0 +2,5 @@ +Fri Apr 3 20:14:49 UTC 2026 - Fridrich Strba <[email protected]> + +- In order to avoid build cycles, rewrite to use ant for build. + +------------------------------------------------------------------- New: ---- json-simple-build.xml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ json-simple.spec ++++++ --- /var/tmp/diff_new_pack.bwN0U4/_old 2026-04-04 19:09:35.394469409 +0200 +++ /var/tmp/diff_new_pack.bwN0U4/_new 2026-04-04 19:09:35.394469409 +0200 @@ -1,7 +1,7 @@ # # spec file for package json-simple # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,8 +24,11 @@ Group: Development/Libraries/Java URL: https://code.google.com/p/json-simple/ Source0: https://github.com/cliftonlabs/%{name}/archive/refs/tags/%{name}-%{version}.tar.gz +Source1: %{name}-build.xml +BuildRequires: ant BuildRequires: fdupes -BuildRequires: maven-local +BuildRequires: java-devel >= 1.8 +BuildRequires: javapackages-local >= 6 BuildArch: noarch %description @@ -51,30 +54,28 @@ %prep %setup -q -n %{name}-%{name}-%{version} - -# Remove hard-coded compiler settings -%pom_remove_plugin :maven-compiler-plugin -# Do not regenerate the files -%pom_remove_plugin :maven-jflex-plugin -%pom_remove_plugin :nexus-staging-maven-plugin -%pom_remove_plugin :maven-javadoc-plugin - -%{mvn_file} : %{name} -%{mvn_alias} com.github.cliftonlabs: com.googlecode.json-simple: +cp %{SOURCE1} build.xml %build -%{mvn_build} -f -- \ - -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 +ant jar javadoc %install -%mvn_install - -%fdupes %{buildroot}%{datadir}/javadoc +install -dm 0755 %{buildroot}%{_javadir} +install -pm 0644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar +# pom +install -d -m 755 %{buildroot}%{_mavenpomdir} +%{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom +%add_maven_depmap %{name}.pom %{name}.jar -a com.googlecode.json-simple:%{name} +# javadoc +install -d -m 755 %{buildroot}%{_javadocdir}/%{name} +cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name} +%fdupes -s %{buildroot}%{_javadocdir} %files -f .mfiles %license LICENSE %doc CHANGELOG README -%files javadoc -f .mfiles-javadoc +%files javadoc +%{_javadocdir}/%{name} %license LICENSE ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.bwN0U4/_old 2026-04-04 19:09:35.430470885 +0200 +++ /var/tmp/diff_new_pack.bwN0U4/_new 2026-04-04 19:09:35.434471049 +0200 @@ -1,6 +1,6 @@ -mtime: 1759676375 -commit: 63c193cce22e27c9f8082ef46fd2db37b08be85fcdb0be43864777e2ef9dd7c3 +mtime: 1775247398 +commit: 229ac3c00ca6694edc513fcf57e406a16b38b2dff0a6a2d94247cf8e98556bb3 url: https://src.opensuse.org/java-packages/json-simple.git -revision: 63c193cce22e27c9f8082ef46fd2db37b08be85fcdb0be43864777e2ef9dd7c3 +revision: 229ac3c00ca6694edc513fcf57e406a16b38b2dff0a6a2d94247cf8e98556bb3 projectscmsync: https://src.opensuse.org/java-packages/_ObsPrj ++++++ build.specials.obscpio ++++++ ++++++ build.specials.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/.gitignore 2026-04-03 22:17:19.000000000 +0200 @@ -0,0 +1 @@ +.osc ++++++ json-simple-build.xml ++++++ <?xml version="1.0" encoding="UTF-8"?> <project name="json-simple" default="package" basedir="."> <!-- ====================================================================== --> <!-- Build environment properties --> <!-- ====================================================================== --> <property file="maven-build.properties"/> <property name="project.artifactId" value="json-simple"/> <property name="project.name" value="JSON.simple"/> <property name="spec.version" value="2.3"/> <property name="project.version" value="${spec.version}.1"/> <property name="compiler.release" value="8"/> <property name="compiler.source" value="1.${compiler.release}"/> <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="src/main/resources"/> <property name="reporting.outputDirectory" value="${build.dir}/site"/> <!-- ====================================================================== --> <!-- Defining classpaths --> <!-- ====================================================================== --> <path id="build.classpath"/> <!-- ====================================================================== --> <!-- 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="UTF-8" nowarn="false" debug="true" optimize="false" deprecation="true" target="${compiler.target}" release="${compiler.release}" verbose="false" fork="false" source="${compiler.source}"> <src> <pathelement location="${build.srcDir}"/> </src> <classpath refid="build.classpath"/> </javac> </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="UTF-8" version="true" use="true" author="true" splitindex="false" nodeprecated="false" nodeprecatedlist="false" notree="false" noindex="false" nohelp="false" nonavbar="false" serialwarn="false" docencoding="UTF-8" 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="Implementation-Title" value="${project.name}"/> <attribute name="Implementation-Version" value="${project.version}"/> <attribute name="Specification-Title" value="${project.name}"/> <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>
