summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri Merejkowsky2016-02-11 14:38:54 +0100
committerDimitri Merejkowsky2016-02-11 14:38:54 +0100
commitbc516fc5fe1d370e30151548608df10079176db8 (patch)
tree824d05a13fdcd8726e00218b2b9bc54a2ddfc9db
parenta12cfa21f189bcfb2d04585c2d4e3784ad987b49 (diff)
downloadaur-bc516fc5fe1d370e30151548608df10079176db8.tar.gz
make-release: use makepkg to generate .SRCINFO
-rw-r--r--.SRCINFO4
-rw-r--r--make-release.py5
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7a48484c898..8ce93b8c4fa 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
-# Generated by mksrcinfo v8
-# Fri Feb 5 11:57:47 UTC 2016
+# Generated by makepkg 5.0.0
+# Thu Feb 11 13:37:43 UTC 2016
pkgbase = qibuild
pkgdesc = The meta build framework
pkgver = 3.11.2
diff --git a/make-release.py b/make-release.py
index 7fb158a87e8..3f672e49aaf 100644
--- a/make-release.py
+++ b/make-release.py
@@ -61,8 +61,9 @@ def run_makepkg():
def update_srcinfo():
- cmd = ["mksrcinfo"]
- subprocess.check_call(cmd, cwd=THIS_DIR)
+ cmd = ["makepkg", "--printsrcinfo"]
+ with open(".SRCINFO", "w") as fp:
+ subprocess.check_call(cmd, cwd=THIS_DIR, stdout=fp)
def commit_all(version):
cmd = ["git", "add", "PKGBUILD", ".SRCINFO"]