summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlarchunix2018-02-13 19:31:51 +0100
committerlarchunix2018-02-13 19:31:51 +0100
commitcee4b9230115c7ade4c49bba25bef73bdda9808f (patch)
tree0479920b73273e3c9f1e6b114926c0123c1afecf
parentfd74e7f049210c6dda51489b51f880002d61eb54 (diff)
downloadaur-cee4b9230115c7ade4c49bba25bef73bdda9808f.tar.gz
Update to upstream release 1.4.9-1
Follow Fedora packaging by splitting package into mock and mock-core-configs. This allow upgrading chroot config files without needing to rebuild mock.
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD12
2 files changed, 7 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 67b380148fe..fa3041e43af 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,12 @@
pkgbase = mock
pkgdesc = A simple chroot build environment manager for building RPMs
- pkgver = 1.4.8.1
+ pkgver = 1.4.9.1
pkgrel = 1
url = https://github.com/rpm-software-management/mock
install = mock.install
arch = any
license = GPL2
- depends = distribution-gpg-keys
+ depends = mock-core-configs
depends = python
depends = python-distro
depends = python-pyroute2
@@ -18,10 +18,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.8-1.tar.gz
+ source = https://github.com/rpm-software-management/mock/archive/mock-1.4.9-1.tar.gz
source = mock.sysusers
source = mock.tmpfiles
- md5sums = d18f29762862dc50f4bf3c2c846a6f6c
+ md5sums = 59f55938dc21a42e1b5cb5442048c83c
md5sums = d277502b9a95484594f86231d073dae0
md5sums = 1052fa4db74b59b0c195f4756bd865e8
diff --git a/PKGBUILD b/PKGBUILD
index d7ad9c65d0d..febaaeb4e47 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
#_with_usermode=1
pkgname=mock
-_pkgver=1.4.8
+_pkgver=1.4.9
_rpmrel=1
_pkgtag=$pkgname-$_pkgver-$_rpmrel
pkgver=$_pkgver.$_rpmrel
@@ -15,7 +15,7 @@ pkgdesc="A simple chroot build environment manager for building RPMs"
url="https://github.com/rpm-software-management/$pkgname"
arch=('any')
license=('GPL2')
-depends=('distribution-gpg-keys' 'python' 'python-distro' 'python-pyroute2')
+depends=('mock-core-configs' 'python' 'python-distro' 'python-pyroute2')
((_with_usermode)) && depends+=('usermode')
optdepends=('createrepo_c: for mockchain command'
'dnf-plugins-core: to create RPMs for Fedora >= 24 and for Mageia'
@@ -29,7 +29,7 @@ backup=("etc/$pkgname/site-defaults.cfg")
source=("$url/archive/$_pkgtag.tar.gz"
"$pkgname.sysusers"
"$pkgname.tmpfiles")
-md5sums=('d18f29762862dc50f4bf3c2c846a6f6c'
+md5sums=('59f55938dc21a42e1b5cb5442048c83c'
'd277502b9a95484594f86231d073dae0'
'1052fa4db74b59b0c195f4756bd865e8')
@@ -108,12 +108,6 @@ package() {
popd >/dev/null
- pushd mock-core-configs >/dev/null
-
- install -Dp -m644 etc/mock/*.cfg "$pkgdir/$_sysconfdir/"mock/
-
- popd >/dev/null
-
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"
}