summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlarchunix2020-11-30 22:47:04 +0100
committerlarchunix2020-11-30 22:47:04 +0100
commit62088ff0a5864cb3139627c5cb64d3dfbe1f1adc (patch)
tree19de49aada2f8d1cfbf14864aac41b2ab2a9c1be
parent99c1eaf6ab75127a7c436d3a92ad8d5dfa69020e (diff)
downloadaur-62088ff0a5864cb3139627c5cb64d3dfbe1f1adc.tar.gz
Update to upstream release 2.7-1
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD5
-rw-r--r--mock.install1
3 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index eb63ffdbe81..d522e960e3c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = mock
pkgdesc = A simple chroot build environment manager for building RPMs
- pkgver = 2.6
+ pkgver = 2.7
pkgrel = 1.1
url = https://github.com/rpm-software-management/mock
install = mock.install
@@ -23,11 +23,11 @@ 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-2.6-1.tar.gz
+ source = https://github.com/rpm-software-management/mock/archive/mock-2.7-1.tar.gz
source = archlinux-defaults.cfg
source = mock.sysusers
source = mock.tmpfiles
- md5sums = 955760e3a74e39f8a791fa9b5e04d7ec
+ md5sums = cd288239be4017002eefd6bca5eaa90c
md5sums = f64f312dfdca58dc510504041dcc9675
md5sums = d277502b9a95484594f86231d073dae0
md5sums = 1052fa4db74b59b0c195f4756bd865e8
diff --git a/PKGBUILD b/PKGBUILD
index 52856c56556..aeaf60b6419 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
#_with_usermode=1
pkgname=mock
-pkgver=2.6
+pkgver=2.7
_rpmrel=1
_pkgtag=$pkgname-$pkgver-$_rpmrel
pkgrel=$_rpmrel.1
@@ -33,7 +33,7 @@ source=("$url/archive/$_pkgtag.tar.gz"
"archlinux-defaults.cfg"
"$pkgname.sysusers"
"$pkgname.tmpfiles")
-md5sums=('955760e3a74e39f8a791fa9b5e04d7ec'
+md5sums=('cd288239be4017002eefd6bca5eaa90c'
'f64f312dfdca58dc510504041dcc9675'
'd277502b9a95484594f86231d073dae0'
'1052fa4db74b59b0c195f4756bd865e8')
@@ -73,6 +73,7 @@ build() {
-e 's|/usr/libexec/mock/mock|/usr/bin/mock.py|'
sed -e "s|@VERSION@|$pkgver|" -i "docs/$pkgname"{,-parse-buildlog}.1
+ sed -e "s|^_MOCK_NVR = None\$|_MOCK_NVR = \"$pkgname-$pkgver-$_rpmrel\"|" -i "py/$pkgname.py"
python -m compileall py/ -q
python -O -m compileall py/ -q
diff --git a/mock.install b/mock.install
index 1e4bd5f2024..52f434f196a 100644
--- a/mock.install
+++ b/mock.install
@@ -3,6 +3,5 @@ post_install() {
}
post_remove() {
- getent group mock >/dev/null && groupdel mock
echo 'Make sure to empty out /var/lib/mock and /var/cache/mock'
}