Date: Saturday, March 18, 2023 @ 19:20:39
  Author: bastelfreak
Revision: 1423032

purge date attribute from gemspec

Modified:
  ruby-rugged/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-03-18 19:02:17 UTC (rev 1423031)
+++ PKGBUILD    2023-03-18 19:20:39 UTC (rev 1423032)
@@ -7,7 +7,7 @@
 _libgit2_pkgver=1.6.2
 pkgname=ruby-rugged
 pkgver=1.5.1
-pkgrel=2
+pkgrel=3
 pkgdesc="A Ruby binding to the libgit2 linkable library"
 arch=(x86_64)
 url="https://github.com/libgit2/rugged";
@@ -52,6 +52,8 @@
   mv -v ../libgit2-$_libgit2_pkgver/* vendor/libgit2
   # remove all tests requiring an internet connection
   rm -rv test/online/*
+  # remove deprecated `date` element from gemspec. Removing it makes the 
package reproducible
+  sed --in-place '/s\.date/d' "${_name}.gemspec"
 }
 
 build() {

Reply via email to