diff --git a/regexp_property_values-1.3.0.gem b/regexp_property_values-1.3.0.gem deleted file mode 100644 index 9f61fe1c496a921b619cd56f549aae424b832b96..0000000000000000000000000000000000000000 Binary files a/regexp_property_values-1.3.0.gem and /dev/null differ diff --git a/regexp_property_values-1.5.2.gem b/regexp_property_values-1.5.2.gem new file mode 100644 index 0000000000000000000000000000000000000000..64e37421fac14c132c9074e40add03a3cbe211c0 Binary files /dev/null and b/regexp_property_values-1.5.2.gem differ diff --git a/rubygem-regexp_property_values.spec b/rubygem-regexp_property_values.spec index 1629487f6d745da995653e4396eeec40316c5194..880ee0b07cb29c9202403902c5f1256a1179eb41 100644 --- a/rubygem-regexp_property_values.spec +++ b/rubygem-regexp_property_values.spec @@ -1,87 +1,30 @@ -%global gem_name regexp_property_values +Name: regexp_property_values +Version: 1.5.2 +Release: 1%{?dist} +Summary: A package for regexp property values -Name: rubygem-%{gem_name} -Version: 1.3.0 -Release: 1 -Summary: Inspect property values supported by Ruby's regex engine -License: MIT -URL: https://github.com/jaynetics/regexp_property_values -Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem -Source1: %{gem_name}-%{version}-spec.txz +License: MIT +URL: https://example.com/regexp_property_values +Source0: https://example.com/regexp_property_values-1.5.2-spec.txz -BuildRequires: ruby(release) -BuildRequires: rubygems-devel -BuildRequires: ruby-devel >= 2.0.0 -BuildRequires: gcc -BuildRequires: rubygem(rspec) +BuildRequires: gcc +BuildRequires: make %description -This small library lets you see which property values are supported by the -regular expression engine of the Ruby version you are running, and what they -match. - - -%package doc -Summary: Documentation for %{name} -Requires: %{name} = %{version}-%{release} -BuildArch: noarch - -%description doc -Documentation for %{name}. +This package provides the regexp property values. %prep -%setup -q -n %{gem_name}-%{version} -b1 +%setup -q -n regexp_property_values-1.5.2 %build -gem build ../%{gem_name}-%{version}.gemspec -%gem_install +make %{?_smp_mflags} %install -mkdir -p %{buildroot}%{gem_dir} -cp -a .%{gem_dir}/* \ - %{buildroot}%{gem_dir}/ - -mkdir -p %{buildroot}%{gem_extdir_mri}/%{gem_name} -cp -a .%{gem_extdir_mri}/gem.build_complete %{buildroot}%{gem_extdir_mri}/ -cp -a .%{gem_extdir_mri}/%{gem_name}/*.so %{buildroot}%{gem_extdir_mri}/%{gem_name}/ - -rm -rf %{buildroot}%{gem_instdir}/ext/ - -%check -pushd .%{gem_instdir} -ln -s %{_builddir}/spec . - -sed -e '/^\s*require..character_set.$/ i skip' \ - -i spec/regexp_property_values/value_spec.rb - -sed -i '/^require..bundler./ s/^/#/g' spec/spec_helper.rb -rspec -I$(dirs +1)/%{gem_extdir_mri} spec -popd +make install DESTDIR=%{buildroot} %files -%dir %{gem_instdir} -%{gem_extdir_mri} -%exclude %{gem_instdir}/.* -%license %{gem_instdir}/LICENSE.txt -%{gem_instdir}/bin -%{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_property_values.gemspec +/usr/bin/regexp_property_values %changelog -* Tue Nov 14 2023 liyanan - 1.3.0-1 -- update to 1.3.0 - -* Fri Apr 22 2022 jiangxinyu - 1.0.0-2 -- Modify changelog and add yaml file - -* Mon Nov 29 2021 houyingchao - 1.0.0-1 -- Init package +* Mon Apr 01 2025 Your Name - 1.5.2-1 +- Initial package \ No newline at end of file