upgrade to version 4.3.3

(cherry picked from commit 0ce4f634abff9d2667c2f1ef3a71d35067f487df)
This commit is contained in:
wang--ge 2022-05-20 17:02:52 +08:00 committed by openeuler-sync-bot
parent 9d6a9e3333
commit e724a4c786
3 changed files with 8 additions and 8 deletions

Binary file not shown.

BIN
4.3.3.tar.gz Normal file

Binary file not shown.

View File

@ -1,13 +1,12 @@
Name: stringtemplate4
Version: 4.0.8
Version: 4.3.3
Release: 1
Summary: A Java template engine
License: BSD
URL: http://www.stringtemplate.org/
Source0: https://github.com/antlr/stringtemplate4/archive/%{version}.tar.gz
Source0: https://github.com/antlr/stringtemplate4/archive/refs/tags/%{version}.tar.gz
BuildRequires: maven-local mvn(junit:junit) mvn(org.antlr:antlr-runtime) >= 3.5.2
BuildRequires: mvn(org.antlr:antlr3-maven-plugin) >= 3.5.2
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
BuildArch: noarch
%description
@ -24,10 +23,8 @@ Summary: Javadoc for %{name}
This package contains javadoc for %{name}.
%prep
%setup -q
%pom_remove_plugin :findbugs-maven-plugin
%pom_remove_plugin :maven-gpg-plugin
%pom_remove_plugin :maven-shade-plugin
%autosetup -p1
%pom_remove_parent
sed -i '/tmpdir =/s,;,+"/"&,' test/org/stringtemplate/v4/test/BaseTest.java
sed -i /testUnknownNamedArg/s/@Test// test/org/stringtemplate/v4/test/TestGroups.java
sed -i /testMissingImportString/s/@Test// test/org/stringtemplate/v4/test/TestGroupSyntaxErrors.java
@ -40,12 +37,15 @@ rm -r test/org/stringtemplate/v4/test/TestEarlyEvaluation.java
%mvn_install
%files -f .mfiles
%doc CHANGES.txt contributors.txt README.txt
%doc CHANGES.txt README.md
%license LICENSE.txt
%files javadoc -f .mfiles-javadoc
%license LICENSE.txt
%changelog
* Fri May 20 2022 Ge Wang <wangge20@h-partners.com> - 4.3.3-1
- Upgrade to version 4.3.3
* Wed Jul 29 2020 leiju <leiju4@huawei.com> - 4.0.8-1
- Package init