summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlarchunix2019-03-01 14:41:52 +0100
committerlarchunix2019-03-01 14:41:52 +0100
commitf450191cf83695dc676b7905d54587ef31128965 (patch)
tree3fdc24070fdc47b27934a4976b447729bc586450
parent2fa0965ce5453382287c4c24c5f4ea373bc9936a (diff)
downloadaur-f450191cf83695dc676b7905d54587ef31128965.tar.gz
Update to upstream release 30.2-1
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD14
2 files changed, 13 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bb810387a03..b123828322c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,13 @@
pkgbase = mock-core-configs
pkgdesc = Mock core config files basic chroots
- pkgver = 30.1
+ pkgver = 30.2
pkgrel = 1.1
url = https://github.com/rpm-software-management/mock
arch = any
license = GPL2
depends = distribution-gpg-keys>=1.29
- source = https://github.com/rpm-software-management/mock/archive/mock-core-configs-30.1-1.tar.gz
- md5sums = bf0181a01f4605c4072351d727999579
+ source = https://github.com/rpm-software-management/mock/archive/mock-core-configs-30.2-1.tar.gz
+ md5sums = 7948f1b6b856f2deda66bc33e9f14f78
pkgname = mock-core-configs
diff --git a/PKGBUILD b/PKGBUILD
index 006e26d89ef..7dda2130ec7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
pkgname=mock-core-configs
-pkgver=30.1
+pkgver=30.2
_rpmrel=1
_pkgtag=$pkgname-$pkgver-$_rpmrel
pkgrel=$_rpmrel.1
@@ -9,7 +9,10 @@ arch=('any')
license=('GPL2')
depends=('distribution-gpg-keys>=1.29')
source=("$url/archive/$_pkgtag.tar.gz")
-md5sums=('bf0181a01f4605c4072351d727999579')
+md5sums=('7948f1b6b856f2deda66bc33e9f14f78')
+
+# Uncomment to not package configs for EOLed versions of distributions
+#_without_eol=1
prepare() {
mv "mock-$_pkgtag" "$pkgname-$pkgver"
@@ -22,8 +25,11 @@ package() {
mkdir -p "$pkgdir/"etc/mock
install -Dp -m644 etc/mock/*.cfg "$pkgdir/"etc/mock/
- mkdir -p "$pkgdir/"etc/mock/eol
- install -Dp -m644 etc/mock/eol/*.cfg "$pkgdir/"etc/mock/eol/
+
+ if ((!_without_eol)); then
+ mkdir -p "$pkgdir/"etc/mock/eol
+ install -Dp -m644 etc/mock/eol/*.cfg "$pkgdir/"etc/mock/eol/
+ fi
popd >/dev/null
}