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

Tim Meusel bastelfreak at gemini.archlinux.org
Mon Jun 27 15:28:13 UTC 2022


    Date: Monday, June 27, 2022 @ 15:28:13
  Author: bastelfreak
Revision: 1239696

Purge builddate from gemspec to be repro

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

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-27 15:22:05 UTC (rev 1239695)
+++ PKGBUILD	2022-06-27 15:28:13 UTC (rev 1239696)
@@ -3,7 +3,7 @@
 _gemname='metadata-json-lint'
 pkgname="ruby-${_gemname}"
 pkgver=3.0.2
-pkgrel=1
+pkgrel=2
 pkgdesc='Tool to check the validity of Puppet metadata.json files'
 arch=('any')
 url="https://github.com/voxpupuli/${_gemname}"
@@ -33,6 +33,9 @@
 
   # the tests work through bundle, which doesn't work during *our* build
   patch --forward --verbose --strip=1 --input=../dont_call_msl_via-bundler.patch
+
+  # remove the builbdate from the gemspec to be reproducible
+  sed --in-place '/s.date/d' "${_gemname}.gemspec"
 }
 
 build() {



More information about the arch-commits mailing list