summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlarchunix2020-02-14 13:42:32 +0100
committerlarchunix2020-02-14 13:42:32 +0100
commit963cdbc173ec8ca5b8520343ed1b0ac3ae5eea4f (patch)
tree67968152778e6e38c68ab4291a9bf92a87aec5e6
parentb1347c540512c7189e9ae392ff66882c52c1f0c7 (diff)
downloadaur-963cdbc173ec8ca5b8520343ed1b0ac3ae5eea4f.tar.gz
Update to upstream release 2.0-1
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD12
2 files changed, 13 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f4fd265d3fd..8f733ef0038 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = mock
pkgdesc = A simple chroot build environment manager for building RPMs
- pkgver = 1.4.21
+ pkgver = 2.0
pkgrel = 1.1
url = https://github.com/rpm-software-management/mock
install = mock.install
@@ -22,12 +22,14 @@ pkgbase = mock
optdepends = yum-utils: to create RPMs for Fedora <= 23 (including EL5, EL6 and EL7)
backup = etc/mock/logging.ini
backup = etc/mock/site-defaults.cfg
- source = https://github.com/rpm-software-management/mock/archive/mock-1.4.21-1.tar.gz
+ source = https://github.com/rpm-software-management/mock/archive/mock-2.0-1.tar.gz
source = mock.sysusers
source = mock.tmpfiles
- md5sums = c1fdecee9ec013fcce447754cad132d5
+ source = mock-2.0-dont-fail-when-etc-pki-certs-are-not-found.patch::https://github.com/rpm-software-management/mock/pull/506.patch
+ md5sums = 6c45844299ac9b169daa5e95385f914c
md5sums = d277502b9a95484594f86231d073dae0
md5sums = 1052fa4db74b59b0c195f4756bd865e8
+ md5sums = ca99e3fcf085a3a6a89b90477a39d88c
pkgname = mock
diff --git a/PKGBUILD b/PKGBUILD
index f8a896d37e8..827813a21f0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
#_with_usermode=1
pkgname=mock
-pkgver=1.4.21
+pkgver=2.0
_rpmrel=1
_pkgtag=$pkgname-$pkgver-$_rpmrel
pkgrel=$_rpmrel.1
@@ -30,10 +30,12 @@ backup=("etc/$pkgname/logging.ini"
"etc/$pkgname/site-defaults.cfg")
source=("$url/archive/$_pkgtag.tar.gz"
"$pkgname.sysusers"
- "$pkgname.tmpfiles")
-md5sums=('c1fdecee9ec013fcce447754cad132d5'
+ "$pkgname.tmpfiles"
+ "$pkgname-2.0-dont-fail-when-etc-pki-certs-are-not-found.patch::$url/pull/506.patch")
+md5sums=('6c45844299ac9b169daa5e95385f914c'
'd277502b9a95484594f86231d073dae0'
- '1052fa4db74b59b0c195f4756bd865e8')
+ '1052fa4db74b59b0c195f4756bd865e8'
+ 'ca99e3fcf085a3a6a89b90477a39d88c')
_prefix=/usr
_bindir=$_prefix/bin
@@ -48,6 +50,8 @@ prepare() {
pushd "$pkgname" >/dev/null
+ patch -p2 -i "$srcdir/$pkgname-2.0-dont-fail-when-etc-pki-certs-are-not-found.patch"
+
# ArchLinux does not provides gtar symlink
sed -e "/config_opts\['tar'\]/ s|.*|config_opts['tar'] = \"bsdtar\"|" \
-e "/config_opts\['plugin_conf'\]\['root_cache_opts'\]\['decompress_program'\]/ s|.*|config_opts['plugin_conf']['root_cache_opts']['decompress_program'] = \"gunzip\"|" \