Files
jsqlparser/jsqlparser.spec

75 lines
2.3 KiB
RPMSpec
Raw Permalink Normal View History

#
# spec file for package jsqlparser
#
Accepting request 1238181 from home:urbic:branches:Java:packages - Update to v5.1 * Changes and new Features + Avoid private tokens to be white listed and allow any word character in token value + Resolve parsing error for CHARACTER SET and COLLATE in MySQL ALTER TABLE (issue 2027) + fix truncate parsing to capture multiple tables + fix insert default values statements not parsing + chore adding extra details to unit test scenarios + feature/fix: parsing inserts/updates/delete within CTEs + chore removing system.out.println lines + minor clean up of unit test scripts + Exasol support + Unparenthesized SubSelect as FromItem + Skyline syntax (preferring clause) + Failure to parse query with PRIOR in select list + Fix parsing ALTER TABLE ... ADD COLUMNS (...) + Fix issue 2090: Correctly parse LOCK clause in ALTER TABLE statements + Fix issue 2089: Add parsing functionality for MySQL CONVERT TO statement + Fix issue 2106: Add parsing functionality for MySQL ADD PARTITION and DROP PARTITION clauses in ALTER TABLE statements + Fix issue 2106: Add parsing functionality for MySQL ADD PARTITION and DROP PARTITION clauses in ALTER TABLE statements(2) + fix: Issue #2109 true and false value parsed as column instead of BooleanValue + Fix issue 2106: Add parsing functionality for MySQL ALTER Table option statements + Fix issue 2089: Enhance MySQL CONVERT Statement Parsing + Fix issue 2118: Enhance MySQL ALTER TABLE Parsing + fix: [FEATURE] TablesNamesFinder does not support CREATE VIEW #2123 + add support for MATERIALIZED in WITH clause + feat: add support MATCH_ANY MATCH_ALL MATCH_PHRASE MATCH_PHRASE_PREFIX MATCH_REGEXP + build(deps): bump org.junit.jupiter:junit-jupiter-engine from 5.11.3 to 5.11.4 + Fix null exception in ExpressionVisitorAdapter with simple INTERVAL expression OBS-URL: https://build.opensuse.org/request/show/1238181 OBS-URL: https://build.opensuse.org/package/show/Java:packages/jsqlparser?expand=0&rev=10
2025-01-16 08:49:29 +00:00
# Copyright (c) 2025 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: jsqlparser
Accepting request 1238181 from home:urbic:branches:Java:packages - Update to v5.1 * Changes and new Features + Avoid private tokens to be white listed and allow any word character in token value + Resolve parsing error for CHARACTER SET and COLLATE in MySQL ALTER TABLE (issue 2027) + fix truncate parsing to capture multiple tables + fix insert default values statements not parsing + chore adding extra details to unit test scenarios + feature/fix: parsing inserts/updates/delete within CTEs + chore removing system.out.println lines + minor clean up of unit test scripts + Exasol support + Unparenthesized SubSelect as FromItem + Skyline syntax (preferring clause) + Failure to parse query with PRIOR in select list + Fix parsing ALTER TABLE ... ADD COLUMNS (...) + Fix issue 2090: Correctly parse LOCK clause in ALTER TABLE statements + Fix issue 2089: Add parsing functionality for MySQL CONVERT TO statement + Fix issue 2106: Add parsing functionality for MySQL ADD PARTITION and DROP PARTITION clauses in ALTER TABLE statements + Fix issue 2106: Add parsing functionality for MySQL ADD PARTITION and DROP PARTITION clauses in ALTER TABLE statements(2) + fix: Issue #2109 true and false value parsed as column instead of BooleanValue + Fix issue 2106: Add parsing functionality for MySQL ALTER Table option statements + Fix issue 2089: Enhance MySQL CONVERT Statement Parsing + Fix issue 2118: Enhance MySQL ALTER TABLE Parsing + fix: [FEATURE] TablesNamesFinder does not support CREATE VIEW #2123 + add support for MATERIALIZED in WITH clause + feat: add support MATCH_ANY MATCH_ALL MATCH_PHRASE MATCH_PHRASE_PREFIX MATCH_REGEXP + build(deps): bump org.junit.jupiter:junit-jupiter-engine from 5.11.3 to 5.11.4 + Fix null exception in ExpressionVisitorAdapter with simple INTERVAL expression OBS-URL: https://build.opensuse.org/request/show/1238181 OBS-URL: https://build.opensuse.org/package/show/Java:packages/jsqlparser?expand=0&rev=10
2025-01-16 08:49:29 +00:00
Version: 5.1
Release: 0
Summary: An SQL statement parser
License: Apache-2.0 OR LGPL-2.1-only
Group: Development/Libraries/Java
URL: https://github.com/JSQLParser/JSqlParser/wiki
Source0: https://github.com/JSQLParser/JSqlParser/archive/refs/tags/%{name}-%{version}.tar.gz
BuildRequires: java-devel >= 9
BuildRequires: maven-local
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
BuildRequires: mvn(org.codehaus.mojo:javacc-maven-plugin)
BuildArch: noarch
%description
JSqlParser parses an SQL statement and translate it into a hierarchy of Java
classes. The generated hierarchy can be navigated using the Visitor Pattern.
%package javadoc
Summary: API documentation for %{name}
Group: Documentation/HTML
%description javadoc
API documentation for %{name}.
%prep
%setup -q -n JSqlParser-%{name}-%{version}
%pom_remove_plugin :maven-source-plugin
%pom_remove_plugin :maven-javadoc-plugin
%pom_remove_plugin org.jacoco:jacoco-maven-plugin
%pom_remove_plugin :maven-pmd-plugin
%pom_remove_plugin org.codehaus.mojo:license-maven-plugin
%pom_remove_plugin :maven-checkstyle-plugin
%pom_remove_plugin :maven-compiler-plugin
Accepting request 1238181 from home:urbic:branches:Java:packages - Update to v5.1 * Changes and new Features + Avoid private tokens to be white listed and allow any word character in token value + Resolve parsing error for CHARACTER SET and COLLATE in MySQL ALTER TABLE (issue 2027) + fix truncate parsing to capture multiple tables + fix insert default values statements not parsing + chore adding extra details to unit test scenarios + feature/fix: parsing inserts/updates/delete within CTEs + chore removing system.out.println lines + minor clean up of unit test scripts + Exasol support + Unparenthesized SubSelect as FromItem + Skyline syntax (preferring clause) + Failure to parse query with PRIOR in select list + Fix parsing ALTER TABLE ... ADD COLUMNS (...) + Fix issue 2090: Correctly parse LOCK clause in ALTER TABLE statements + Fix issue 2089: Add parsing functionality for MySQL CONVERT TO statement + Fix issue 2106: Add parsing functionality for MySQL ADD PARTITION and DROP PARTITION clauses in ALTER TABLE statements + Fix issue 2106: Add parsing functionality for MySQL ADD PARTITION and DROP PARTITION clauses in ALTER TABLE statements(2) + fix: Issue #2109 true and false value parsed as column instead of BooleanValue + Fix issue 2106: Add parsing functionality for MySQL ALTER Table option statements + Fix issue 2089: Enhance MySQL CONVERT Statement Parsing + Fix issue 2118: Enhance MySQL ALTER TABLE Parsing + fix: [FEATURE] TablesNamesFinder does not support CREATE VIEW #2123 + add support for MATERIALIZED in WITH clause + feat: add support MATCH_ANY MATCH_ALL MATCH_PHRASE MATCH_PHRASE_PREFIX MATCH_REGEXP + build(deps): bump org.junit.jupiter:junit-jupiter-engine from 5.11.3 to 5.11.4 + Fix null exception in ExpressionVisitorAdapter with simple INTERVAL expression OBS-URL: https://build.opensuse.org/request/show/1238181 OBS-URL: https://build.opensuse.org/package/show/Java:packages/jsqlparser?expand=0&rev=10
2025-01-16 08:49:29 +00:00
%pom_change_dep net.java.dev.javacc:javacc ::ANY
%pom_xpath_remove 'pom:project/pom:reporting'
%{mvn_file} : %{name}
%build
export MAVEN_OPTS='-Xmx1024m -Xms1024m -Xss64m'
%{mvn_build} -f -j -- \
-Dmaven.compiler.release=9
%install
%mvn_install
%files -f .mfiles
%license LICENSE*
%doc README.md
%changelog