Andreas Schleifer pushed to branch main at Arch Linux / Packaging / Packages /
ruby-observer
Commits:
6bec348f by Andreas Schleifer at 2025-03-22T23:35:10+01:00
upgpkg: 0.1.2-2: Ruby 3.4 rebuild
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = ruby-observer
pkgdesc = Implementation of the Observer object-oriented design pattern
pkgver = 0.1.2
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/ruby/observer
arch = any
license = Ruby
=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
_gemname='observer'
pkgname="ruby-${_gemname}"
pkgver=0.1.2
-pkgrel=1
+pkgrel=2
pkgdesc='Implementation of the Observer object-oriented design pattern'
arch=('any')
url="https://github.com/ruby/${_gemname}"
@@ -29,6 +29,9 @@ prepare() {
# update gemspec/Gemfile to allow newer version of the dependencies
sed --in-place --regexp-extended 's|~>|>=|g' "${_gemname}.gemspec"
+
+ # we don't build from a git checkout
+ sed --in-place --regexp-extended 's|`git ls-files -z
2>#\{IO::NULL\}`\.split\("\\x0"\)|`find . -type f -not -path "*/\.git*" -printf
"%P\\n"`\.split\("\\n"\)|' "${_gemname}.gemspec"
}
build() {
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/ruby-observer/-/commit/6bec348fbe453abfc12687bfce915c2728ea975a
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/ruby-observer/-/commit/6bec348fbe453abfc12687bfce915c2728ea975a
You're receiving this email because of your account on gitlab.archlinux.org.