6
0
forked from pool/json-java
Files
json-java/json-java.spec

69 lines
1.9 KiB
RPMSpec
Raw Permalink Normal View History

#
# spec file for package jmulticard
#
- Update to v20240303 * #875 20240303-pre-release-updates * #874 Deployment and Pipeline action updates * #869 Revert recent obj long get long changes * #860 Added missing Javadocs for Java 21 * #858 cleanup-after-commit for #854 and #856 * #856 add ability for custom delimiters - Update to v20240205 * #855 Fix JSONArrayTest testRecursiveDepthArrayFor1000Levels() * #846 Cleanup warnings and merge new unit tests * #845 improved annotation search performance * #835 Delete redundant .toString() call in README * #832 Add a config flag to disable whitespace trimming * #831 Refactor NumberConversionUtil and toString() of CookieList & XML Classes * #830 Upgrade json-path's version to 2.4.0 to avoid dependency conflict * #828 Fixed flaky tests in XMLTest.java * #824 Ignore tests that fail due to resource differences * #823 JSON parsing self reference object and array * #820 Close XML tag explicitly for empty tags with configuration * #815 Ensure java 6 compatable * #814 Refactor duplicate code for stringToNumber() in JSONObject, JSONArray, and XML * #812 docs: use syntax highlighting * #808 Fix compiler warnings * #806 Add new deployment pipeline * #803 ci: test with Java 21 * #801 Updates the pipeline to validate that packaging a jar works properly * #798 fix: flakiness in org.json.junit.XMLTest#testIndentComplicatedJsonObjectWithArrayAndWithConfig * #794 XML optLong/getLong equivalent updates for string to number conversion. - Update to v20231013 * #793 Reverted #761 * #792 update the docs for release 20231013 * #783 optLong vs getLong inconsistencies * #782 Fix XMLTest.testIndentComplicatedJsonObjectWithArrayAndWithConfig() for Windows * #779 add validity check for JSONObject constructors * #778 Fix XMLTest.testIndentComplicatedJsonObjectWithArrayAndWithConfig() for Windows * #776 Update [JUnit to version 4.13.2 * #774 Removing unneeded synchronization * #773 Add optJSONArray method to JSONObject with a default value * #772 Disallow nested objects and arrays as keys in objects * #779 Unit test cleanup * #769 Addressed Java 17 compile warnings * #764 Update CodeQL action version * #761 Add module-info * #759 JSON parsing should detect embedded * #753 Updated new object methods * #752 Fixes possible unit test bug when compiling/testing on Windows - Update to v20230618 * #749 Prep for release 20230618 * #740 Fixed Flaky Tests Caused by JSON permutations * #734 Fixed Flaky Tests Caused by JSON permutations * #733 JSONTokener implemented java.io.Closeable * #731 Removing commented out code in JSONObject optDouble() * #729 Refactor ParserConfiguration class hierarchy - Update to v20230227 * #723 Protect JSONML from stack overflow exceptions caused by recursion * #720 Limit the XML nesting depth for CVE-2022-45688 * #711 Revert pull 707 - interviewbit spam * #704 Move javadoc comments above the interface definition to make it visible * #703 Update Releases.md for JSONObject(Map): Throws NPE if key is null * #696 Update JSONPointerTest for NonDex compatibility * #694 Pretty print XML * #692 Example.md syntax highlight and indentation * #691 Create unit tests for various number formats - Update to v20220924 * #688 Update copyright to Public Domain * #687 Fix a typo * #685 JSONObject map type unit tests * #684 Remove v7 build from pipeline * #682 JSONString similarity * #675 #675 - Update to v20220320 * #660 Wrap StackOverflow with JSONException - Add build dependency on mvn(org.moditect:moditect-maven-plugin) OBS-URL: https://build.opensuse.org/package/show/Java:packages/json-java?expand=0&rev=5
2024-09-08 12:02:10 +00:00
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: json-java
- Update to v20240303 * #875 20240303-pre-release-updates * #874 Deployment and Pipeline action updates * #869 Revert recent obj long get long changes * #860 Added missing Javadocs for Java 21 * #858 cleanup-after-commit for #854 and #856 * #856 add ability for custom delimiters - Update to v20240205 * #855 Fix JSONArrayTest testRecursiveDepthArrayFor1000Levels() * #846 Cleanup warnings and merge new unit tests * #845 improved annotation search performance * #835 Delete redundant .toString() call in README * #832 Add a config flag to disable whitespace trimming * #831 Refactor NumberConversionUtil and toString() of CookieList & XML Classes * #830 Upgrade json-path's version to 2.4.0 to avoid dependency conflict * #828 Fixed flaky tests in XMLTest.java * #824 Ignore tests that fail due to resource differences * #823 JSON parsing self reference object and array * #820 Close XML tag explicitly for empty tags with configuration * #815 Ensure java 6 compatable * #814 Refactor duplicate code for stringToNumber() in JSONObject, JSONArray, and XML * #812 docs: use syntax highlighting * #808 Fix compiler warnings * #806 Add new deployment pipeline * #803 ci: test with Java 21 * #801 Updates the pipeline to validate that packaging a jar works properly * #798 fix: flakiness in org.json.junit.XMLTest#testIndentComplicatedJsonObjectWithArrayAndWithConfig * #794 XML optLong/getLong equivalent updates for string to number conversion. - Update to v20231013 * #793 Reverted #761 * #792 update the docs for release 20231013 * #783 optLong vs getLong inconsistencies * #782 Fix XMLTest.testIndentComplicatedJsonObjectWithArrayAndWithConfig() for Windows * #779 add validity check for JSONObject constructors * #778 Fix XMLTest.testIndentComplicatedJsonObjectWithArrayAndWithConfig() for Windows * #776 Update [JUnit to version 4.13.2 * #774 Removing unneeded synchronization * #773 Add optJSONArray method to JSONObject with a default value * #772 Disallow nested objects and arrays as keys in objects * #779 Unit test cleanup * #769 Addressed Java 17 compile warnings * #764 Update CodeQL action version * #761 Add module-info * #759 JSON parsing should detect embedded * #753 Updated new object methods * #752 Fixes possible unit test bug when compiling/testing on Windows - Update to v20230618 * #749 Prep for release 20230618 * #740 Fixed Flaky Tests Caused by JSON permutations * #734 Fixed Flaky Tests Caused by JSON permutations * #733 JSONTokener implemented java.io.Closeable * #731 Removing commented out code in JSONObject optDouble() * #729 Refactor ParserConfiguration class hierarchy - Update to v20230227 * #723 Protect JSONML from stack overflow exceptions caused by recursion * #720 Limit the XML nesting depth for CVE-2022-45688 * #711 Revert pull 707 - interviewbit spam * #704 Move javadoc comments above the interface definition to make it visible * #703 Update Releases.md for JSONObject(Map): Throws NPE if key is null * #696 Update JSONPointerTest for NonDex compatibility * #694 Pretty print XML * #692 Example.md syntax highlight and indentation * #691 Create unit tests for various number formats - Update to v20220924 * #688 Update copyright to Public Domain * #687 Fix a typo * #685 JSONObject map type unit tests * #684 Remove v7 build from pipeline * #682 JSONString similarity * #675 #675 - Update to v20220320 * #660 Wrap StackOverflow with JSONException - Add build dependency on mvn(org.moditect:moditect-maven-plugin) OBS-URL: https://build.opensuse.org/package/show/Java:packages/json-java?expand=0&rev=5
2024-09-08 12:02:10 +00:00
Version: 20240303
Release: 0
Summary: JSON in Java
License: JSON
URL: https://github.com/stleary/JSON-java
Source0: %{name}-%{version}.tar.xz
BuildRequires: fdupes
BuildRequires: maven-local
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
- Update to v20240303 * #875 20240303-pre-release-updates * #874 Deployment and Pipeline action updates * #869 Revert recent obj long get long changes * #860 Added missing Javadocs for Java 21 * #858 cleanup-after-commit for #854 and #856 * #856 add ability for custom delimiters - Update to v20240205 * #855 Fix JSONArrayTest testRecursiveDepthArrayFor1000Levels() * #846 Cleanup warnings and merge new unit tests * #845 improved annotation search performance * #835 Delete redundant .toString() call in README * #832 Add a config flag to disable whitespace trimming * #831 Refactor NumberConversionUtil and toString() of CookieList & XML Classes * #830 Upgrade json-path's version to 2.4.0 to avoid dependency conflict * #828 Fixed flaky tests in XMLTest.java * #824 Ignore tests that fail due to resource differences * #823 JSON parsing self reference object and array * #820 Close XML tag explicitly for empty tags with configuration * #815 Ensure java 6 compatable * #814 Refactor duplicate code for stringToNumber() in JSONObject, JSONArray, and XML * #812 docs: use syntax highlighting * #808 Fix compiler warnings * #806 Add new deployment pipeline * #803 ci: test with Java 21 * #801 Updates the pipeline to validate that packaging a jar works properly * #798 fix: flakiness in org.json.junit.XMLTest#testIndentComplicatedJsonObjectWithArrayAndWithConfig * #794 XML optLong/getLong equivalent updates for string to number conversion. - Update to v20231013 * #793 Reverted #761 * #792 update the docs for release 20231013 * #783 optLong vs getLong inconsistencies * #782 Fix XMLTest.testIndentComplicatedJsonObjectWithArrayAndWithConfig() for Windows * #779 add validity check for JSONObject constructors * #778 Fix XMLTest.testIndentComplicatedJsonObjectWithArrayAndWithConfig() for Windows * #776 Update [JUnit to version 4.13.2 * #774 Removing unneeded synchronization * #773 Add optJSONArray method to JSONObject with a default value * #772 Disallow nested objects and arrays as keys in objects * #779 Unit test cleanup * #769 Addressed Java 17 compile warnings * #764 Update CodeQL action version * #761 Add module-info * #759 JSON parsing should detect embedded * #753 Updated new object methods * #752 Fixes possible unit test bug when compiling/testing on Windows - Update to v20230618 * #749 Prep for release 20230618 * #740 Fixed Flaky Tests Caused by JSON permutations * #734 Fixed Flaky Tests Caused by JSON permutations * #733 JSONTokener implemented java.io.Closeable * #731 Removing commented out code in JSONObject optDouble() * #729 Refactor ParserConfiguration class hierarchy - Update to v20230227 * #723 Protect JSONML from stack overflow exceptions caused by recursion * #720 Limit the XML nesting depth for CVE-2022-45688 * #711 Revert pull 707 - interviewbit spam * #704 Move javadoc comments above the interface definition to make it visible * #703 Update Releases.md for JSONObject(Map): Throws NPE if key is null * #696 Update JSONPointerTest for NonDex compatibility * #694 Pretty print XML * #692 Example.md syntax highlight and indentation * #691 Create unit tests for various number formats - Update to v20220924 * #688 Update copyright to Public Domain * #687 Fix a typo * #685 JSONObject map type unit tests * #684 Remove v7 build from pipeline * #682 JSONString similarity * #675 #675 - Update to v20220320 * #660 Wrap StackOverflow with JSONException - Add build dependency on mvn(org.moditect:moditect-maven-plugin) OBS-URL: https://build.opensuse.org/package/show/Java:packages/json-java?expand=0&rev=5
2024-09-08 12:02:10 +00:00
BuildRequires: mvn(org.moditect:moditect-maven-plugin)
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
BuildArch: noarch
%description
Capa abstracta de acceso a tarjetas inteligentes 100% java
%package javadoc
Summary: Javadoc for %{name}
Group: Documentation/HTML
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q
%pom_remove_plugin :nexus-staging-maven-plugin
%pom_remove_plugin :maven-source-plugin
%pom_remove_plugin :maven-javadoc-plugin
%build
%{mvn_build} -f -- \
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
-Dmaven.compiler.release=8 \
%endif
-Dproject.build.outputTimestamp=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ) \
-Dsource=8
%install
%mvn_install
%fdupes -s %{buildroot}%{_javadocdir}
%files -f .mfiles
%license LICENSE
%doc README.md
%files javadoc -f .mfiles-javadoc
%license LICENSE
%changelog