[arch-commits] Commit in ruby-metadata-json-lint/trunk (PKGBUILD)

Tim Meusel bastelfreak at gemini.archlinux.org
Sun Aug 22 11:27:50 UTC 2021


    Date: Sunday, August 22, 2021 @ 11:27:50
  Author: bastelfreak
Revision: 1004220

fix regex to also inlcude cli tools in /usr/bin/

Modified:
  ruby-metadata-json-lint/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-22 11:20:14 UTC (rev 1004219)
+++ PKGBUILD	2021-08-22 11:27:50 UTC (rev 1004220)
@@ -3,7 +3,7 @@
 _gemname='metadata-json-lint'
 pkgname="ruby-${_gemname}"
 pkgver=3.0.1
-pkgrel=1
+pkgrel=2
 pkgdesc='Tool to check the validity of Puppet metadata.json files'
 arch=('any')
 url="https://github.com/voxpupuli/${_gemname}"
@@ -29,6 +29,7 @@
 
   # we build with a release tar ball, not a git archive
   sed --in-place 's|`git ls-files -z`.split("\\x0")|`find`.split("\\n")|' "${_gemname}.gemspec"
+  sed --in-place 's|grep(%r{^bin/})|grep(%r{^./bin/})|' "${_gemname}.gemspec"
 
   # the tests work through bundle, which doesn't work during *our* build
   patch --forward --verbose --strip=1 --input=../dont_call_msl_via-bundler.patch



More information about the arch-commits mailing list