|
|
|
@ -4,7 +4,7 @@
|
|
|
|
|
Summary: ANother Tool for Language Recognition
|
|
|
|
|
Name: antlr
|
|
|
|
|
Version: 2.7.7
|
|
|
|
|
Release: 68%{?dist}
|
|
|
|
|
Release: 70%{?dist}
|
|
|
|
|
License: ANTLR-PD
|
|
|
|
|
URL: http://www.antlr2.org/
|
|
|
|
|
# ./generate-tarball.sh
|
|
|
|
@ -16,10 +16,11 @@ Source3: http://repo2.maven.org/maven2/antlr/antlr/%{version}/%{name}-%{ve
|
|
|
|
|
Source4: generate-tarball.sh
|
|
|
|
|
Patch1: %{name}-%{version}-newgcc.patch
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: aarch64 ppc64le s390x x86_64
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: ant
|
|
|
|
|
BuildRequires: java-devel
|
|
|
|
|
BuildRequires: javapackages-local
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -70,7 +71,7 @@ This package provides a static C++ library for parsers generated by ANTLR2.
|
|
|
|
|
# remove all binary libs
|
|
|
|
|
find . -name "*.jar" -exec rm -f {} \;
|
|
|
|
|
cp -p %{SOURCE1} build.xml
|
|
|
|
|
%patch1
|
|
|
|
|
%patch -P 1
|
|
|
|
|
# CRLF->LF
|
|
|
|
|
sed -i 's/\r//' LICENSE.txt
|
|
|
|
|
|
|
|
|
@ -127,6 +128,12 @@ install -p -m 755 scripts/antlr-config $RPM_BUILD_ROOT%{_bindir}
|
|
|
|
|
%license LICENSE.txt
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Nov 21 2024 Marián Konček <mkoncek@redhat.com> - 2.7.7-70
|
|
|
|
|
- Fix patch usage
|
|
|
|
|
|
|
|
|
|
* Tue Nov 19 2024 Marián Konček <mkoncek@redhat.com> - 2.7.7-69
|
|
|
|
|
- Rebuild with regenerated Requires on Java
|
|
|
|
|
|
|
|
|
|
* Wed Mar 15 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 2.7.7-68
|
|
|
|
|
- Rebuilt for MSVSphere 9.1.
|
|
|
|
|
|
|
|
|
|