summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlarchunix2020-03-23 18:36:29 +0100
committerlarchunix2020-03-23 18:36:29 +0100
commita9517228a3fee123b769fe55662addadcf4d2ab8 (patch)
tree414ba97e03c0f041b10b6cc16e006265e3d474cb
parent0b24bb9a3b5f911a77f460c00c4d9862e7760d6b (diff)
downloadaur-a9517228a3fee123b769fe55662addadcf4d2ab8.tar.gz
Update to upstream release 2.1-1
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD16
2 files changed, 11 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d6933ee6646..2f01cbd640f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,12 @@
pkgbase = mock
pkgdesc = A simple chroot build environment manager for building RPMs
- pkgver = 2.0
- pkgrel = 2.1
+ pkgver = 2.1
+ pkgrel = 1.1
url = https://github.com/rpm-software-management/mock
install = mock.install
arch = any
license = GPL2
- depends = mock-core-configs
+ depends = mock-core-configs>=32.4
depends = python
depends = python-distro
depends = python-jinja
@@ -22,14 +22,12 @@ 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.0-2.tar.gz
+ source = https://github.com/rpm-software-management/mock/archive/mock-2.1-1.tar.gz
source = mock.sysusers
source = mock.tmpfiles
- source = mock-2.0-dont-fail-when-etc-pki-certs-are-not-found.patch::https://github.com/rpm-software-management/mock/pull/506.patch
- md5sums = dda370331b4ef7f7dae3e7666d1e01e4
+ md5sums = 57ae249a57b13f64fefd5e576df6e847
md5sums = d277502b9a95484594f86231d073dae0
md5sums = 1052fa4db74b59b0c195f4756bd865e8
- md5sums = ca99e3fcf085a3a6a89b90477a39d88c
pkgname = mock
diff --git a/PKGBUILD b/PKGBUILD
index ca9f05cecb6..d2ca9420779 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,15 +6,15 @@
#_with_usermode=1
pkgname=mock
-pkgver=2.0
-_rpmrel=2
+pkgver=2.1
+_rpmrel=1
_pkgtag=$pkgname-$pkgver-$_rpmrel
pkgrel=$_rpmrel.1
pkgdesc="A simple chroot build environment manager for building RPMs"
url="https://github.com/rpm-software-management/$pkgname"
arch=('any')
license=('GPL2')
-depends=('mock-core-configs' 'python' 'python-distro' 'python-jinja' 'python-pyroute2')
+depends=('mock-core-configs>=32.4' 'python' 'python-distro' 'python-jinja' 'python-pyroute2')
((_with_usermode)) && depends+=('usermode')
optdepends=('createrepo_c: for mockchain command'
'dnf-plugins-core: to create RPMs for Fedora >= 24 and for Mageia'
@@ -30,12 +30,10 @@ backup=("etc/$pkgname/logging.ini"
"etc/$pkgname/site-defaults.cfg")
source=("$url/archive/$_pkgtag.tar.gz"
"$pkgname.sysusers"
- "$pkgname.tmpfiles"
- "$pkgname-2.0-dont-fail-when-etc-pki-certs-are-not-found.patch::$url/pull/506.patch")
-md5sums=('dda370331b4ef7f7dae3e7666d1e01e4'
+ "$pkgname.tmpfiles")
+md5sums=('57ae249a57b13f64fefd5e576df6e847'
'd277502b9a95484594f86231d073dae0'
- '1052fa4db74b59b0c195f4756bd865e8'
- 'ca99e3fcf085a3a6a89b90477a39d88c')
+ '1052fa4db74b59b0c195f4756bd865e8')
_prefix=/usr
_bindir=$_prefix/bin
@@ -50,8 +48,6 @@ prepare() {
pushd "$pkgname" >/dev/null
- patch -p2 -i "$srcdir/$pkgname-2.0-dont-fail-when-etc-pki-certs-are-not-found.patch"
-
# ArchLinux does not provides gtar symlink
sed -e "/config_opts\['tar'\]/ s|.*|config_opts['tar'] = \"bsdtar\"|" \
-e "/config_opts\['plugin_conf'\]\['root_cache_opts'\]\['decompress_program'\]/ s|.*|config_opts['plugin_conf']['root_cache_opts']['decompress_program'] = \"gunzip\"|" \