import re2c-2.2-1.el9

i9ce changed/i9ce/re2c-2.2-1.el9
Arkady L. Shane 2 months ago
parent 2800ae0b2a
commit 5600e26e66
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

2
.gitignore vendored

@ -1 +1 @@
SOURCES/re2c-0.14.3.tar.gz SOURCES/re2c-2.2.tar.xz

@ -1 +1 @@
d0394658ffcd6164de8cfb27e003bae5cd881af8 SOURCES/re2c-0.14.3.tar.gz 93ac87e82c02bc9136f74050767acaa890f3ae88 SOURCES/re2c-2.2.tar.xz

@ -1,11 +1,16 @@
Summary: Tool for generating C-based recognizers from regular expressions Summary: Tool for generating C, C++, and go recognizers from regular expressions
Name: re2c Name: re2c
Version: 0.14.3 Version: 2.2
Release: 2%{?dist} Release: 1%{?dist}
License: Public Domain License: Public Domain
Group: Development/Tools URL: https://re2c.org/
URL: http://re2c.org/ Source: https://github.com/skvadrik/re2c/releases/download/%{version}/re2c-%{version}.tar.xz
Source: http://downloads.sf.net/re2c/re2c-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: make
# For tests
BuildRequires: python3
%description %description
re2c is a tool for writing very fast and very flexible scanners. Unlike any re2c is a tool for writing very fast and very flexible scanners. Unlike any
@ -18,34 +23,85 @@ quality.
%prep %prep
%setup -q %setup -q
# Fix all those executable files, set executable only the ones that need to be
find . -type f -exec chmod -x {} \;
%{__chmod} +x configure depcomp install-sh missing
%build %build
%configure %configure --disable-silent-rules
# Build re2c, then our own scanner.cc, then rebuild the final re2c with it %make_build
%{__make} %{?_smp_mflags} re2c
%{__rm} -f scanner.cc
./re2c -b -o scanner.cc scanner.re
%{__rm} -f re2c scanner.o
%{__make} %{?_smp_mflags}
%install %install
%{__rm} -rf %{buildroot} %make_install
%{__install} -D -p -m 0755 re2c %{buildroot}%{_bindir}/re2c
%{__install} -D -p -m 0644 re2c.1 %{buildroot}%{_mandir}/man1/re2c.1
%check
make tests
%files %files
%doc CHANGELOG README examples/ doc/* lessons/ %license LICENSE
%doc CHANGELOG README.md examples/ doc/*
%{_bindir}/re2c %{_bindir}/re2c
%{_bindir}/re2go
%{_datadir}/re2c/
%{_mandir}/man1/re2c.1* %{_mandir}/man1/re2c.1*
%{_mandir}/man1/re2go.1*
%changelog %changelog
* Mon Nov 18 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 2.2-1
- Rebuilt for MSVSphere 9.5
* Wed Dec 22 2021 Orion Poplawski <orion@nwra.com> - 2.2-1
- Update to 2.2
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Sun Jun 13 2021 Kyle Lexmond <fedora@kyl191.net> - 2.1.1-1
- Update to 2.1.1
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Sep 9 21:15:59 MDT 2020 Orion Poplawski <orion@nwra.com> - 2.0.3-1
- Update to 2.0.3
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sun Oct 7 2018 Orion Poplawski <orion@nwra.com> - 1.1.1-1
- Update to 1.1.1 (bugz #1607177, 1606091)
- Run tests
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.16-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.16-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.16-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.16-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.16-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Wed Apr 13 2016 Ben Boeckel <mathstuf@gmail.com> - 0.16-1
- update to 0.16
- replace %%{__foo} usage
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.3-2 * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

Loading…
Cancel
Save