[arch-commits] Commit in ruby-rack-test/trunk (PKGBUILD)

Tim Meusel bastelfreak at archlinux.org
Wed Feb 24 19:21:00 UTC 2021


    Date: Wednesday, February 24, 2021 @ 19:21:00
  Author: bastelfreak
Revision: 871842

ruby-rack-test: Fix broken built

Modified:
  ruby-rack-test/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-24 19:20:36 UTC (rev 871841)
+++ PKGBUILD	2021-02-24 19:21:00 UTC (rev 871842)
@@ -3,7 +3,7 @@
 _gemname='rack-test'
 pkgname="ruby-${_gemname}"
 pkgver=1.1.0
-pkgrel=1
+pkgrel=2
 pkgdesc='small, simple testing API for Rack apps'
 arch=('any')
 url='https://github.com/rack/rack-test'
@@ -26,6 +26,8 @@
   patch -p1 -N -i "${srcdir}/disable-rubocop.patch"
   # drop coverage reporting. We don't have simplecov in our repos
   patch -p1 -N -i "${srcdir}/disable-simplecov.patch"
+  # we built based on an archive, not a git repo
+  sed --in-place 's/git ls-files/find/' "${_gemname}.gemspec"
 
 }
 


More information about the arch-commits mailing list