Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
fc2360c0de
!8 update to 2.7.0
From: @lyn1001 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-11-15 02:18:38 +00:00
lyn1001
392f6a1505 update to 2.7.0 2023-11-14 17:38:54 +08:00
openeuler-ci-bot
dca6c6f32e
!7 升级master rubygem-regexp_parser 2.6.1
From: @cherry530 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
2023-01-18 06:26:05 +00:00
cherry530
48043d80c3 Upgrade 2.6.1
Signed-off-by: cherry530 <xuping33@huawei.com>
2023-01-17 14:53:27 +08:00
openeuler-ci-bot
fd1a9b8af3
!6 Add yaml file
From: @jxy_git 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
2022-04-29 06:50:06 +00:00
jxy_git
2ba270f8d8 Add yaml file 2022-04-22 09:58:36 +08:00
openeuler-ci-bot
91b34dcd09
!3 update to 2.0.0
From: @lyn1001 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
2022-02-24 02:55:26 +00:00
lyn1001
13337b704e update to 2.0.0 2022-02-24 10:42:34 +08:00
openeuler-ci-bot
f6edaa6b3c !2 init rubygem-regexp_parser
From: @houyingchao
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2021-12-02 06:08:42 +00:00
houyingchao
b88a0c15fb init rubygem-regexp_parser 2021-12-02 10:24:36 +08:00
4 changed files with 84 additions and 0 deletions

Binary file not shown.

BIN
regexp_parser-2.7.0.gem Normal file

Binary file not shown.

View File

@ -0,0 +1,80 @@
%global gem_name regexp_parser
Name: rubygem-%{gem_name}
Version: 2.7.0
Release: 1
Summary: Scanner, lexer, parser for ruby's regular expressions
License: MIT
URL: https://github.com/ammar/regexp_parser
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
# git clone https://github.com/ammar/regexp_parser.git && cd regexp_parser \
# git archive -v -o regexp_parser-2.7.0-specs.tar.gz v2.7.0 spec/
Source1: %{gem_name}-%{version}-specs.tar.gz
BuildRequires: ruby(release)
BuildRequires: rubygems-devel
BuildRequires: rubygem(rspec)
BuildRequires: rubygem(regexp_property_values)
BuildRequires: ruby >= 2.0.0
BuildRequires: rubygem(did_you_mean)
BuildArch: noarch
%description
A library for tokenizing, lexing, and parsing Ruby regular expressions.
%package doc
Summary: Documentation for %{name}
Requires: %{name} = %{version}-%{release}
BuildArch: noarch
%description doc
Documentation for %{name}.
%prep
%setup -q -n %{gem_name}-%{version} -b 1
%build
gem build ../%{gem_name}-%{version}.gemspec
%gem_install
%install
mkdir -p %{buildroot}%{gem_dir}
cp -a .%{gem_dir}/* \
%{buildroot}%{gem_dir}/
%check
pushd .%{gem_instdir}
ln -s %{_builddir}/spec spec
sed -i '/ice_nine/ s/^/#/' spec/spec_helper.rb
sed -i -r '/IceNine/ s/IceNine.deep_freeze\((.*)\)/\1/' spec/expression/to_s_spec.rb
rspec spec
popd
%files
%dir %{gem_instdir}
%license %{gem_instdir}/LICENSE
%{gem_libdir}
%exclude %{gem_cache}
%{gem_spec}
%files doc
%doc %{gem_docdir}
%doc %{gem_instdir}/CHANGELOG.md
%{gem_instdir}/Gemfile
%doc %{gem_instdir}/README.md
%{gem_instdir}/Rakefile
%{gem_instdir}/regexp_parser.gemspec
%changelog
* Tue Nov 14 2023 liyanan <liyanan61@h-partners.com> - 2.7.0-1
- update to 2.7.0
* Wed Jan 04 2023 xu_ping <xuping33@h-partners.com> - 2.6.1-1
- update to 2.6.1
* Thu Feb 24 2022 liyanan <liyanan32@huawei.com> - 2.0.0-1
- update to 2.0.0
* Thu Dec 02 2021 houyingchao <houyingchao@huawei.com> - 1.7.1-1
- Init package

View File

@ -0,0 +1,4 @@
version_control: rubygems
src_repo: regexp_parser
tag_prefix: "^v"
separator: "."