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..8fe5505a83216da8191a3ef81ad9a194dc4c0d02 100644 --- a/rubygem-launchy.spec +++ b/rubygem-launchy.spec @@ -1,12 +1,12 @@ %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: ruby(release) rubygems-devel ruby rubygem(minitest) >= 5.0 rubygem(addressable) rubygem(childprocess) BuildArch: noarch %description Launchy is helper class for launching cross-platform applications in a fire @@ -31,10 +31,10 @@ Documentation for %{name}. %install mkdir -p %{buildroot}%{gem_dir} -cp -a .%{gem_dir}/* \ +cp -a .%{gem_dir}/gems/%{gem_name}-%{version}/* \ %{buildroot}%{gem_dir}/ mkdir -p %{buildroot}%{_bindir} -cp -a .%{_bindir}/* \ +cp -a .%{_bindir}/launchy \ %{buildroot}%{_bindir}/ find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x @@ -45,6 +45,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 @@ -52,7 +53,6 @@ popd %dir %{gem_instdir} %{_bindir}/launchy %license %{gem_instdir}/LICENSE -%{gem_instdir}/bin %{gem_libdir} %exclude %{gem_cache} %{gem_spec} @@ -68,8 +68,11 @@ popd %{gem_instdir}/tasks %changelog +* Tue Jun 03 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