summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlarchunix2017-04-16 11:31:24 +0200
committerlarchunix2017-04-16 11:47:12 +0200
commit426c489f38d1e9844224667415aeae382ea84777 (patch)
tree455cba3264f8a8669bb5fa5c2cf37369a6cb36e2
parent4c2a56cfc2b7f5a3f16f9b6e3112c6844b9da0b5 (diff)
downloadaur-426c489f38d1e9844224667415aeae382ea84777.tar.gz
Update to upstream release 1.3.4-1
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD10
2 files changed, 11 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2986aa570eb..3ea8f7337ba 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = mock
pkgdesc = A simple chroot build environment manager for building RPMs
- pkgver = 1.3.3.1
- pkgrel = 2
+ pkgver = 1.3.4.1
+ pkgrel = 1
url = https://github.com/rpm-software-management/mock
install = mock.install
arch = any
@@ -16,10 +16,10 @@ pkgbase = mock
optdepends = python-requests: for mockchain command
optdepends = yum-utils: to create RPMs for Fedora <= 23 (including EL5, EL6 and EL7)
backup = etc/mock/site-defaults.cfg
- source = https://github.com/rpm-software-management/mock/archive/mock-1.3.3-1.tar.gz
+ source = https://github.com/rpm-software-management/mock/archive/mock-1.3.4-1.tar.gz
source = mock.sysusers
source = mock.tmpfiles
- md5sums = eb44cfda31c24c1cd0a7305c98550a26
+ md5sums = 311d8219686bae1d46340d85a9b44ae9
md5sums = d277502b9a95484594f86231d073dae0
md5sums = 1052fa4db74b59b0c195f4756bd865e8
diff --git a/PKGBUILD b/PKGBUILD
index be20bd63e4c..2d963101414 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,11 +6,11 @@
#_with_usermode=1
pkgname=mock
-_pkgver=1.3.3
+_pkgver=1.3.4
_rpmrel=1
_pkgtag=$pkgname-$_pkgver-$_rpmrel
pkgver=$_pkgver.$_rpmrel
-pkgrel=2
+pkgrel=1
pkgdesc="A simple chroot build environment manager for building RPMs"
url="https://github.com/rpm-software-management/$pkgname"
arch=('any')
@@ -28,7 +28,7 @@ backup=("etc/$pkgname/site-defaults.cfg")
source=("$url/archive/$_pkgtag.tar.gz"
"$pkgname.sysusers"
"$pkgname.tmpfiles")
-md5sums=('eb44cfda31c24c1cd0a7305c98550a26'
+md5sums=('311d8219686bae1d46340d85a9b44ae9'
'd277502b9a95484594f86231d073dae0'
'1052fa4db74b59b0c195f4756bd865e8')
@@ -52,6 +52,10 @@ build() {
-e 's|^PYTHONDIR\s*=.*|PYTHONDIR="'$python_sitelib'"|' \
-e 's|^PKGPYTHONDIR\s*=.*|PKGPYTHONDIR="'$python_sitelib'/mockbuild"|'
+ # Replace /usr/libexec path in help message
+ sed -r -i py/${pkgname}.py \
+ -e 's|/usr/libexec/mock/mock|/usr/bin/mock.py|'
+
sed -e "s|@VERSION@|$pkgver|" -i docs/${pkgname}{,chain}.1
python -m compileall py/ -q