Compare commits
7 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
63fef2b494 | ||
|
|
4c81cc6ba3 | ||
|
|
5acf10abac | ||
|
|
6246b80abb | ||
|
|
7a0503d287 | ||
|
|
e6dc11a70e | ||
|
|
ec1ef67dde |
2 changed files with 23 additions and 7 deletions
|
|
@ -5,7 +5,7 @@
|
||||||
MathExpression me;
|
MathExpression me;
|
||||||
me = new MathExpression("sin(3/2)");
|
me = new MathExpression("sin(3/2)");
|
||||||
- Assertions.assertEquals("0.9974949866040544", me.solve());
|
- Assertions.assertEquals("0.9974949866040544", me.solve());
|
||||||
+ Assertions.assertEquals("0.9974949866040543", me.solve());
|
+ Assertions.assertEquals("0.9974949866040544", me.solve());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,9 @@ Summary: %{nice_name} is a powerful open-source tool that parses and evaluates a
|
||||||
%global nice_name ParserNG
|
%global nice_name ParserNG
|
||||||
Name: parserng
|
Name: parserng
|
||||||
Version: 0.1.9
|
Version: 0.1.9
|
||||||
Release: 6%{?dist}
|
Release: 11%{?dist}
|
||||||
License: ASL 2.0
|
# Automatically converted from old format: ASL 2.0 - review is highly recommended.
|
||||||
|
License: Apache-2.0
|
||||||
URL: https://github.com/gbenroscience/ParserNG
|
URL: https://github.com/gbenroscience/ParserNG
|
||||||
# tarred cloned repo without hidden files and without idea iml
|
# tarred cloned repo without hidden files and without idea iml
|
||||||
# usptream do not tag, but uses maven versionining
|
# usptream do not tag, but uses maven versionining
|
||||||
|
|
@ -17,7 +18,7 @@ Patch1: jdk21rounding.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
ExclusiveArch: %{java_arches} noarch
|
ExclusiveArch: %{java_arches} noarch
|
||||||
|
|
||||||
BuildRequires: maven-local
|
BuildRequires: maven-local-openjdk25
|
||||||
BuildRequires: junit5
|
BuildRequires: junit5
|
||||||
BuildRequires: ant-junit5
|
BuildRequires: ant-junit5
|
||||||
BuildRequires: junit
|
BuildRequires: junit
|
||||||
|
|
@ -27,8 +28,8 @@ BuildRequires: maven-surefire-provider-junit5
|
||||||
BuildRequires: maven-surefire
|
BuildRequires: maven-surefire
|
||||||
BuildRequires: maven-surefire-plugin
|
BuildRequires: maven-surefire-plugin
|
||||||
BuildRequires: maven-clean-plugin
|
BuildRequires: maven-clean-plugin
|
||||||
BuildRequires: java-devel
|
BuildRequires: java-25-devel
|
||||||
Requires: java-headless
|
Requires: java-25-headless
|
||||||
Provides: ParserNG
|
Provides: ParserNG
|
||||||
Provides: parser-ng
|
Provides: parser-ng
|
||||||
|
|
||||||
|
|
@ -47,7 +48,7 @@ This package contains the API documentation for %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -c %{name}-%{version}
|
%setup -c %{name}-%{version}
|
||||||
%patch1 -p1
|
%patch -P1 -p1
|
||||||
for x in `find | grep pom.xml` ; do
|
for x in `find | grep pom.xml` ; do
|
||||||
sed "s;<maven.compiler.source>.*7.*;<maven.compiler.source>8</maven.compiler.source>;g" -i $x;
|
sed "s;<maven.compiler.source>.*7.*;<maven.compiler.source>8</maven.compiler.source>;g" -i $x;
|
||||||
sed "s;<maven.compiler.target>.*7.*;<maven.compiler.target>8</maven.compiler.target>;g" -i $x;
|
sed "s;<maven.compiler.target>.*7.*;<maven.compiler.target>8</maven.compiler.target>;g" -i $x;
|
||||||
|
|
@ -75,6 +76,21 @@ install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 28 2025 jiri vanek <jvanek@redhat.com> - 0.1.9-11
|
||||||
|
- Rebuilt for java-25-openjdk as preffered jdk
|
||||||
|
|
||||||
|
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.9-10
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.9-9
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 24 2024 Miroslav Suchý <msuchy@redhat.com> - 0.1.9-8
|
||||||
|
- convert license to SPDX
|
||||||
|
|
||||||
|
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.9-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||||
|
|
||||||
* Tue Feb 27 2024 Jiri Vanek <jvanek@redhat.com> - 0.1.9-6
|
* Tue Feb 27 2024 Jiri Vanek <jvanek@redhat.com> - 0.1.9-6
|
||||||
- Rebuilt for java-21-openjdk as system jdk
|
- Rebuilt for java-21-openjdk as system jdk
|
||||||
- fixed source/target
|
- fixed source/target
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue