[arch-commits] Commit in ruby27-rspec-core/trunk (PKGBUILD)

Tim Meusel bastelfreak at archlinux.org
Sun May 16 12:16:32 UTC 2021


    Date: Sunday, May 16, 2021 @ 12:16:31
  Author: bastelfreak
Revision: 935773

fix collision with ruby-rspec-core

Modified:
  ruby27-rspec-core/trunk/PKGBUILD

----------+
 PKGBUILD |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-16 12:13:40 UTC (rev 935772)
+++ PKGBUILD	2021-05-16 12:16:31 UTC (rev 935773)
@@ -5,7 +5,7 @@
 _gemname=rspec-core
 pkgname=ruby27-${_gemname}
 pkgver=3.10.1
-pkgrel=1
+pkgrel=2
 pkgdesc='RSpec runner and formatters'
 url='https://github.com/rspec/rspec-core'
 arch=('any')
@@ -22,6 +22,8 @@
   install -Dm 644 "${pkgdir}${_gemdir}/gems/${_gemname}-${pkgver}/LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
   install -Dm 644 "${pkgdir}${_gemdir}/gems/${_gemname}-${pkgver}/README.md" "${pkgdir}/usr/share/doc/${pkgname}/README"
   rm "${pkgdir}/${_gemdir}/cache/${_gemname}-${pkgver}.gem"
+  mv "${pkgdir}/usr/bin/rspec" "${pkgdir}/usr/bin/ruby27-rspec"
+
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list