summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlarchunix2017-09-15 23:48:19 +0200
committerlarchunix2017-09-15 23:48:19 +0200
commit59a47676fabb9592deed9584b6acf65373daa9ab (patch)
tree0e690f7cba0c38a23bb0b3f42f89234ee53c14f1
parentfb3479264bd685f670e877f144b2c3e7115d5770 (diff)
downloadaur-59a47676fabb9592deed9584b6acf65373daa9ab.tar.gz
Update to upstream release 1.4.6-1
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD44
2 files changed, 25 insertions, 25 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0a8f741da8e..0c66e36abd8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = mock
pkgdesc = A simple chroot build environment manager for building RPMs
- pkgver = 1.4.5.1
+ pkgver = 1.4.6.1
pkgrel = 1
url = https://github.com/rpm-software-management/mock
install = mock.install
@@ -17,10 +17,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.4.5-1.tar.gz
+ source = https://github.com/rpm-software-management/mock/archive/mock-1.4.6-1.tar.gz
source = mock.sysusers
source = mock.tmpfiles
- md5sums = 9601de49011baa4eb44b036eec96d0af
+ md5sums = 121bf2a297e9f043846d0b529b6035ea
md5sums = d277502b9a95484594f86231d073dae0
md5sums = 1052fa4db74b59b0c195f4756bd865e8
diff --git a/PKGBUILD b/PKGBUILD
index 5eb55c3751b..3743bf948ca 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
#_with_usermode=1
pkgname=mock
-_pkgver=1.4.5
+_pkgver=1.4.6
_rpmrel=1
_pkgtag=$pkgname-$_pkgver-$_rpmrel
pkgver=$_pkgver.$_rpmrel
@@ -29,7 +29,7 @@ backup=("etc/$pkgname/site-defaults.cfg")
source=("$url/archive/$_pkgtag.tar.gz"
"$pkgname.sysusers"
"$pkgname.tmpfiles")
-md5sums=('9601de49011baa4eb44b036eec96d0af'
+md5sums=('121bf2a297e9f043846d0b529b6035ea'
'd277502b9a95484594f86231d073dae0'
'1052fa4db74b59b0c195f4756bd865e8')
@@ -72,33 +72,33 @@ package() {
pushd mock >/dev/null
- install -d "$pkgdir/$_bindir/"
- install py/mock.py "$pkgdir/$_bindir/"mock
- install py/mockchain.py "$pkgdir/$_bindir/"mockchain
+ mkdir -p "$pkgdir/$_bindir/"
+ install -Dp -m755 py/mock.py "$pkgdir/$_bindir/"mock
+ install -Dp -m755 py/mockchain.py "$pkgdir/$_bindir/"mockchain
- install -d "$pkgdir/$_sysconfdir/"pam.d
- cp -a etc/pam/* "$pkgdir/$_sysconfdir/"pam.d/
+ mkdir -p "$pkgdir/$_sysconfdir/"pam.d
+ cp -Rp etc/pam/* "$pkgdir/$_sysconfdir/"pam.d/
- install -d "$pkgdir/$_sysconfdir/"mock
- cp -a etc/mock/* "$pkgdir/$_sysconfdir/"mock/
+ mkdir -p "$pkgdir/$_sysconfdir/"mock
+ cp -Rp etc/mock/* "$pkgdir/$_sysconfdir/"mock/
- install -d "$pkgdir/$_datadir/"bash-completion/completions
- cp -a etc/bash_completion.d/* "$pkgdir/$_datadir/"bash-completion/completions/
+ mkdir -p "$pkgdir/$_datadir/"bash-completion/completions
+ cp -Rp etc/bash_completion.d/* "$pkgdir/$_datadir/"bash-completion/completions/
ln -s mock "$pkgdir/$_datadir/"bash-completion/completions/mockchain
- install -d "$pkgdir/$_sysconfdir/"pki/mock
- cp -a etc/pki/* "$pkgdir/$_sysconfdir/"pki/mock/
+ mkdir -p "$pkgdir/$_sysconfdir/"pki/mock
+ cp -Rp etc/pki/* "$pkgdir/$_sysconfdir/"pki/mock/
python_sitelib=$(python -c 'from distutils.sysconfig import get_python_lib; import sys; sys.stdout.write(get_python_lib())')
- install -d "$pkgdir/$python_sitelib/"
- cp -a py/mockbuild "$pkgdir/$python_sitelib/"
+ mkdir -p "$pkgdir/$python_sitelib/"
+ cp -Rp py/mockbuild "$pkgdir/$python_sitelib/"
- install -d "$pkgdir/$_mandir/"man1
- cp -a docs/${pkgname}{,chain}.1 "$pkgdir/$_mandir/"man1/
+ mkdir -p "$pkgdir/$_mandir/"man1
+ cp -Rp docs/${pkgname}{,chain}.1 "$pkgdir/$_mandir/"man1/
if ((_with_usermode)); then
- install -d "$pkgdir/$_sysconfdir/"security/console.apps/
- cp -a etc/consolehelper/$pkgname "$pkgdir/$_sysconfdir/"security/console.apps/$pkgname
+ mkdir -p "$pkgdir/$_sysconfdir/"security/console.apps/
+ cp -Rp etc/consolehelper/$pkgname "$pkgdir/$_sysconfdir/"security/console.apps/$pkgname
mv "$pkgdir/usr/bin/$pkgname"{,.py}
sed -e "s|/usr/libexec/$pkgname/$pkgname|/usr/bin/$pkgname.py|" \
@@ -110,12 +110,12 @@ package() {
pushd mock-core-configs >/dev/null
- install -p -m0644 etc/mock/*.cfg "$pkgdir/$_sysconfdir/"mock/
+ install -Dp -m644 etc/mock/*.cfg "$pkgdir/$_sysconfdir/"mock/
popd >/dev/null
- install -Dm644 "$srcdir/$pkgname.sysusers" "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
- install -Dm644 "$srcdir/$pkgname.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
+ install -Dp -m644 "$srcdir/$pkgname.sysusers" "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
+ install -Dp -m644 "$srcdir/$pkgname.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
}
# vim: set ft=sh ts=4 sw=4 noet: