summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlarchunix2017-08-22 19:04:33 +0200
committerlarchunix2017-08-22 19:04:33 +0200
commitc7ed36d5d008b2deb1efc10fa709b617f3256ec4 (patch)
tree4957a05eb6f7f2a0b64441a6516ebf10b98c780a
parent8756fe8cb23dac2983917e9a2cf249aa19f74df6 (diff)
downloadaur-c7ed36d5d008b2deb1efc10fa709b617f3256ec4.tar.gz
Update to upstream release 1.4.4-1
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD9
2 files changed, 9 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 13b79cfb497..d4eadaaba6e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = mock
pkgdesc = A simple chroot build environment manager for building RPMs
- pkgver = 1.4.3.1
+ pkgver = 1.4.4.1
pkgrel = 1
url = https://github.com/rpm-software-management/mock
install = mock.install
@@ -12,14 +12,15 @@ pkgbase = mock
optdepends = createrepo_c: for mockchain command
optdepends = dnf-plugins-core: to create RPMs for Fedora >= 24 and for Mageia
optdepends = lvm2: for lvm_root plugin
+ optdepends = nosync: to speed up yum/dnf database access
optdepends = pigz: for parallel compression of chroot cache
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.4.3-1.tar.gz
+ source = https://github.com/rpm-software-management/mock/archive/mock-1.4.4-1.tar.gz
source = mock.sysusers
source = mock.tmpfiles
- md5sums = b0998111d9136b3e8824dcc5e44095c9
+ md5sums = 9f1cc57333cbe0eea0f5aa0551556bf2
md5sums = d277502b9a95484594f86231d073dae0
md5sums = 1052fa4db74b59b0c195f4756bd865e8
diff --git a/PKGBUILD b/PKGBUILD
index a1fb1366d8a..52fb38026ae 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
#_with_usermode=1
pkgname=mock
-_pkgver=1.4.3
+_pkgver=1.4.4
_rpmrel=1
_pkgtag=$pkgname-$_pkgver-$_rpmrel
pkgver=$_pkgver.$_rpmrel
@@ -20,6 +20,7 @@ depends=('distribution-gpg-keys' 'python' 'python-distro')
optdepends=('createrepo_c: for mockchain command'
'dnf-plugins-core: to create RPMs for Fedora >= 24 and for Mageia'
'lvm2: for lvm_root plugin'
+ 'nosync: to speed up yum/dnf database access'
'pigz: for parallel compression of chroot cache'
'python-requests: for mockchain command'
'yum-utils: to create RPMs for Fedora <= 23 (including EL5, EL6 and EL7)')
@@ -28,7 +29,7 @@ backup=("etc/$pkgname/site-defaults.cfg")
source=("$url/archive/$_pkgtag.tar.gz"
"$pkgname.sysusers"
"$pkgname.tmpfiles")
-md5sums=('b0998111d9136b3e8824dcc5e44095c9'
+md5sums=('9f1cc57333cbe0eea0f5aa0551556bf2'
'd277502b9a95484594f86231d073dae0'
'1052fa4db74b59b0c195f4756bd865e8')
@@ -53,10 +54,10 @@ build() {
-e 's|^PKGPYTHONDIR\s*=.*|PKGPYTHONDIR="'$python_sitelib'/mockbuild"|'
# Replace /usr/libexec path in help message
- sed -r -i py/${pkgname}.py \
+ 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
+ sed -e "s|@VERSION@|$_pkgver|" -i docs/${pkgname}{,chain}.1
python -m compileall py/ -q
python -O -m compileall py/ -q