Andreas Schleifer pushed to branch main at Arch Linux / Packaging / Packages /
ruby-patron
Commits:
2b390d33 by Andreas Schleifer at 2024-11-18T22:02:06+01:00
upgpkg: 0.13.3-5; remove unreproducible files
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = ruby-patron
pkgdesc = Ruby HTTP client library based on libcurl
pkgver = 0.13.3
- pkgrel = 4
+ pkgrel = 5
url = https://github.com/toland/patron
arch = x86_64
license = MIT
=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
pkgname=ruby-patron
pkgver=0.13.3
_commit=6828083e8db2d2c5f7ea1db7143a9e1a9d13ef78
-pkgrel=4
+pkgrel=5
pkgdesc='Ruby HTTP client library based on libcurl'
arch=(x86_64)
url='https://github.com/toland/patron'
@@ -46,15 +46,30 @@ build() {
--install-dir "tmp_install/$_gemdir" \
--bindir "tmp_install/usr/bin" \
pkg/patron-$pkgver.gem
- find "tmp_install/$_gemdir/gems/" \
+
+ # remove unreproducible files
+ rm --force --recursive --verbose \
+ "tmp_install${_gemdir}/cache/" \
+ "tmp_install${_gemdir}/gems/${_gemname}-${pkgver}/vendor/" \
+ "tmp_install${_gemdir}/doc/${_gemname}-${pkgver}/ri/ext/"
+
+ find "tmp_install${_gemdir}/gems/" \
+ -type f \
+ \( \
+ -iname "*.o" -o \
+ -iname "*.c" -o \
+ -iname "*.so" -o \
+ -iname "*.time" -o \
+ -iname "gem.build_complete" -o \
+ -iname "Makefile" \
+ \) \
+ -delete
+
+ find "tmp_install${_gemdir}/extensions/" \
-type f \
\( \
- -iname "*.o" -o \
- -iname "*.c" -o \
- -iname "*.so" -o \
- -iname "*.time" -o \
- -iname "gem.build_complete" -o \
- -iname "Makefile" \
+ -iname "mkmf.log" -o \
+ -iname "gem_make.out" \
\) \
-delete
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/ruby-patron/-/commit/2b390d331ed5073091607bcbe06474434fa59314
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/ruby-patron/-/commit/2b390d331ed5073091607bcbe06474434fa59314
You're receiving this email because of your account on gitlab.archlinux.org.