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.0.0.gem b/launchy-3.0.0.gem new file mode 100644 index 0000000000000000000000000000000000000000..57a95ebd09c906315c9710e5b837fe0bd7451e70 Binary files /dev/null and b/launchy-3.0.0.gem differ diff --git a/rubygem-launchy.spec b/rubygem-launchy.spec index cb9d3ea003681d476a8dfeb0b7e1def9dc29398d..a0953e9424ffe59695c844864f1e8b3b4da2d5f7 100644 --- a/rubygem-launchy.spec +++ b/rubygem-launchy.spec @@ -1,12 +1,13 @@ %global gem_name launchy Name: rubygem-%{gem_name} -Version: 2.5.2 +Version: 3.0.0 Release: 1 Summary: Helper class for cross-platform launching of applications License: ISC URL: http://github.com/copiousfreetime/launchy Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) rubygems-devel ruby rubygem(minitest) >= 5.0 rubygem(addressable) +BuildRequires: rubygem(childprocess) BuildArch: noarch %description Launchy is helper class for launching cross-platform applications in a fire @@ -37,6 +38,8 @@ mkdir -p %{buildroot}%{_bindir} cp -a .%{_bindir}/* \ %{buildroot}%{_bindir}/ find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x +rm -f %{buildroot}%{gem_dir}/cache/%{gem_name}-%{version}.gem +rm -f %{buildroot}%{gem_dir}/specifications/%{gem_name}-%{version}.gemspec %check pushd .%{gem_instdir} @@ -45,6 +48,7 @@ sed -i '/prints the command on stdout when using --dry-run/ a \ skip' spec/cli 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 +sed -i '/opens a data url with a forced browser application/ a \ skip' spec/launchy_spec.rb ruby -Ilib:spec -e 'Dir.glob "./spec/**/*_spec.rb", &method(:require)' popd @@ -54,8 +58,14 @@ popd %license %{gem_instdir}/LICENSE %{gem_instdir}/bin %{gem_libdir} -%exclude %{gem_cache} -%{gem_spec} +%{gem_docdir} +%doc %{gem_instdir}/CONTRIBUTING.md +%doc %{gem_instdir}/HISTORY.md +%doc %{gem_instdir}/Manifest.txt +%doc %{gem_instdir}/README.md +%{gem_instdir}/Rakefile +%{gem_instdir}/spec +%{gem_instdir}/tasks %files doc %doc %{gem_docdir} @@ -68,8 +78,11 @@ popd %{gem_instdir}/tasks %changelog +* Tue Jun 10 2025 openeuler_bot - 3.0.0-1 +- update rubygem-launchy to 3.0.0 + * 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