summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlarchunix2016-08-17 18:12:29 +0200
committerlarchunix2016-08-17 18:14:56 +0200
commit95c2394e3710dab1d4d008d812bdb39cc122c0ad (patch)
tree2196934a18967815e66f2e5103122173ed6cbb5f
parent6881e6ccec71f9466cc7b6e6ea55b2d77b822cac (diff)
downloadaur-95c2394e3710dab1d4d008d812bdb39cc122c0ad.tar.gz
Update to upstream release 1.2.20 (github migration)
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD12
2 files changed, 12 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index da3886129bc..36e26056796 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
pkgbase = mock
pkgdesc = A simple chroot build environment manager for building RPMs
- pkgver = 1.2.19
+ pkgver = 1.2.20
pkgrel = 1
- url = http://fedoraproject.org/wiki/Projects/Mock
+ url = https://github.com/rpm-software-management/mock
install = mock.install
arch = any
license = GPL2
@@ -14,8 +14,8 @@ pkgbase = mock
optdepends = pigz: for parallel compression of chroot cache
optdepends = yum-utils: to create RPMs for Fedora <= 23 (including EL5, EL6 and EL7)
backup = etc/mock/site-defaults.cfg
- source = https://git.fedorahosted.org/cgit/mock.git/snapshot/mock-1.2.19.tar.xz
- md5sums = 1582b79ce224373d02d3d0812bcd6e7e
+ source = https://github.com/rpm-software-management/mock/archive/mock-1.2.20.tar.gz
+ md5sums = e4d5b7424fd9c14fbe3b150367357a86
pkgname = mock
diff --git a/PKGBUILD b/PKGBUILD
index b067c1db396..fdaa09c5e74 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,10 +6,10 @@
_with_usermode=0
pkgname=mock
-pkgver=1.2.19
+pkgver=1.2.20
pkgrel=1
pkgdesc="A simple chroot build environment manager for building RPMs"
-url="http://fedoraproject.org/wiki/Projects/Mock"
+url="https://github.com/rpm-software-management/$pkgname"
arch=('any')
license=('GPL2')
depends=('python')
@@ -22,8 +22,12 @@ optdepends=('createrepo_c: for mockchain command'
'yum-utils: to create RPMs for Fedora <= 23 (including EL5, EL6 and EL7)')
install="$pkgname.install"
backup=("etc/$pkgname/site-defaults.cfg")
-source=("https://git.fedorahosted.org/cgit/$pkgname.git/snapshot/$pkgname-$pkgver.tar.xz")
-md5sums=('1582b79ce224373d02d3d0812bcd6e7e')
+source=("$url/archive/$pkgname-$pkgver.tar.gz")
+md5sums=('e4d5b7424fd9c14fbe3b150367357a86')
+
+prepare() {
+ mv "$pkgname-$pkgname-$pkgver" "$pkgname-$pkgver"
+}
build() {
cd "$pkgname-$pkgver"