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..0142e710c6e29f9f9a2082cc14c341ff13bed3f8 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 @@ -24,8 +24,7 @@ BuildArch: noarch Documentation for %{name}. %prep -%setup -q -c -T -%gem_install -n %{SOURCE0} +gem install -V --local --build-root . --force --document=ri,rdoc %{SOURCE0} %build @@ -36,7 +35,8 @@ 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命令的路径,确保路径正确且目录存在 +find %{buildroot}%{gem_instdir}/bin -type f 2>/dev/null | xargs chmod a+x %check pushd .%{gem_instdir} @@ -51,7 +51,7 @@ popd %files %dir %{gem_instdir} %{_bindir}/launchy -%license %{gem_instdir}/LICENSE +%license %{gem_instdir}/LICENSE.txt %{gem_instdir}/bin %{gem_libdir} %exclude %{gem_cache} @@ -68,8 +68,11 @@ popd %{gem_instdir}/tasks %changelog +* Thu Apr 03 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