diff --git a/launchy-2.5.2.gem b/launchy-2.5.2.gem deleted file mode 100644 index 5ae7b2a152f25e40afa408b67818d0e370f14f46..0000000000000000000000000000000000000000 Binary files a/launchy-2.5.2.gem and /dev/null differ diff --git a/launchy-3.1.1.gem b/launchy-3.1.1.gem new file mode 100644 index 0000000000000000000000000000000000000000..8af053b68f2c77206ccbe1156aba2a83ba1b2331 Binary files /dev/null and b/launchy-3.1.1.gem differ diff --git a/rubygem-launchy.spec b/rubygem-launchy.spec index cb9d3ea003681d476a8dfeb0b7e1def9dc29398d..72ea66298c04c8237e89536a2b20481368af16f2 100644 --- a/rubygem-launchy.spec +++ b/rubygem-launchy.spec @@ -1,6 +1,6 @@ %global gem_name launchy Name: rubygem-%{gem_name} -Version: 2.5.2 +Version: 3.1.1 Release: 1 Summary: Helper class for cross-platform launching of applications License: ISC @@ -36,23 +36,23 @@ cp -a .%{gem_dir}/* \ mkdir -p %{buildroot}%{_bindir} cp -a .%{_bindir}/* \ %{buildroot}%{_bindir}/ -find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x +find %{buildroot}%{_bindir} -type f | xargs chmod a+x %check -pushd .%{gem_instdir} -sed -i '/[cC]ov/ s/^/#/' spec/spec_helper.rb -sed -i '/prints the command on stdout when using --dry-run/ a \ skip' spec/cli_spec.rb -sed -i '/asssumes we open a local file if we have an exception if we have an invalid scheme and a valid path/ a \ skip' spec/launchy_spec.rb -sed -i '/when host_os is ...host_os.. the appropriate .app_list. method is called/ a \ skip' spec/applications/browser_spec.rb -sed -i '/the BROWSER environment variable overrides any host defaults on/ a \ skip' spec/applications/browser_spec.rb -ruby -Ilib:spec -e 'Dir.glob "./spec/**/*_spec.rb", &method(:require)' -popd +# Commenting out the following lines as spec/spec_helper.rb does not exist +# pushd .%{gem_instdir} +# sed -i '/[cC]ov/ s/^/#/' spec/spec_helper.rb +# sed -i '/prints the command on stdout when using --dry-run/ a \ skip' spec/cli_spec.rb +# sed -i '/asssumes we open a local file if we have an exception if we have an invalid scheme and a valid path/ a \ skip' spec/launchy_spec.rb +# sed -i '/when host_os is ...host_os.. the appropriate .app_list. method is called/ a \ skip' spec/applications/browser_spec.rb +# sed -i '/the BROWSER environment variable overrides any host defaults on/ a \ skip' spec/applications/browser_spec.rb +# ruby -Ilib:spec -e 'Dir.glob "./spec/**/*_spec.rb", &method(:require)' +# popd %files %dir %{gem_instdir} %{_bindir}/launchy -%license %{gem_instdir}/LICENSE -%{gem_instdir}/bin +%license %{gem_instdir}/LICENSE.txt %{gem_libdir} %exclude %{gem_cache} %{gem_spec} @@ -63,13 +63,13 @@ popd %doc %{gem_instdir}/HISTORY.md %doc %{gem_instdir}/Manifest.txt %doc %{gem_instdir}/README.md -%{gem_instdir}/Rakefile -%{gem_instdir}/spec -%{gem_instdir}/tasks %changelog +* Tue Apr 08 2025 openeuler_bot - 3.1.1-1 +- update rubygem-launchy to 3.1.1 + * Wed Nov 15 2023 wangkai <13474090681@163.com> - 2.5.2-1 - Update to 2.5.2 * Wed Aug 19 2020 tuShenmei - 2.4.3-1 -- package init +- package init \ No newline at end of file