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

Andreas Schleifer segaja at gemini.archlinux.org
Sun Aug 7 14:48:07 UTC 2022


    Date: Sunday, August 7, 2022 @ 14:48:06
  Author: segaja
Revision: 1260553

upgpkg: ruby-time 0.2.0-2; fix file list sed

Modified:
  ruby-time/trunk/PKGBUILD

----------+
 PKGBUILD |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-07 14:45:24 UTC (rev 1260552)
+++ PKGBUILD	2022-08-07 14:48:06 UTC (rev 1260553)
@@ -3,7 +3,7 @@
 _gemname='time'
 pkgname="ruby-${_gemname}"
 pkgver=0.2.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Extends the Time class with methods for parsing and conversion'
 arch=('any')
 url='https://github.com/ruby/time'
@@ -22,7 +22,7 @@
   sed --in-place --regexp-extended 's|~>|>=|g' "${_gemname}.gemspec"
 
   # we build based on a tar archive, not a git repo
-  sed --in-place --regexp-extended 's|git ls-files -z|find . -type f -not -path "*/\.git/*" -printf "%P\\n"|' "${_gemname}.gemspec"
+  sed --in-place --regexp-extended 's|git ls-files -z|find . -type f -not -path "*/\.git/*" -printf "%P\\\\0"|' "${_gemname}.gemspec"
 }
 
 build() {



More information about the arch-commits mailing list