Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
ruby-public_suffix


Commits:
96338d80 by Antonio Rojas at 2024-05-09T18:03:34+02:00
Fix missing files

Fixes 
https://gitlab.archlinux.org/archlinux/packaging/packages/ruby-public_suffix/-/issues/1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = ruby-public_suffix
        pkgdesc = Domain name parser based on the Public Suffix List
        pkgver = 5.0.5
-       pkgrel = 1
+       pkgrel = 2
        url = https://simonecarletti.com/code/publicsuffix-ruby
        arch = any
        license = MIT


=====================================
PKGBUILD
=====================================
@@ -6,7 +6,7 @@
 _gemname='public_suffix'
 pkgname="ruby-${_gemname}"
 pkgver=5.0.5
-pkgrel=1
+pkgrel=2
 pkgdesc='Domain name parser based on the Public Suffix List'
 arch=('any')
 url='https://simonecarletti.com/code/publicsuffix-ruby'
@@ -21,8 +21,8 @@ 
sha512sums=('4b785474b7fb726dbfe66b6c1c801eb9a75d5e555c69e678cf8253112facd9dc98f
 prepare() {
   cd "${srcdir}/publicsuffix-ruby-${pkgver}"
 
-  sed --in-place 's|git ls-files|find|' "${_gemname}.gemspec"
-  sed --in-place '/test_files/d' "${_gemname}.gemspec"
+  sed --in-place "s,git ls-files -z,find . | sed -e 's|^./||'," 
"${_gemname}.gemspec"
+  sed --in-place 's/x0/n/' "${_gemname}.gemspec"
   sed --in-place '/rubocop/Id' Rakefile
   sed --in-place '/reporters/Id' test/test_helper.rb
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/ruby-public_suffix/-/commit/96338d80d68ef5fcae2e6876637bd9aaaa0f2122

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/ruby-public_suffix/-/commit/96338d80d68ef5fcae2e6876637bd9aaaa0f2122
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to