diff options
author | Carl Smedstad | 2021-12-08 09:09:55 +0100 |
---|---|---|
committer | Carl Smedstad | 2021-12-08 09:09:55 +0100 |
commit | e9a056a357d018a95bff9182459a698998d8ef91 (patch) | |
tree | a4546364c5a659d54113a314dd7925a7c286126b | |
parent | 8075c259516556fefbfff9b9b0a0ef614e7c6616 (diff) | |
download | aur-e9a056a357d018a95bff9182459a698998d8ef91.tar.gz |
Update to upstream release 2.2.0
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 14 | ||||
-rw-r--r-- | skip-test-requiring-rpmdb.patch | 24 |
3 files changed, 5 insertions, 41 deletions
@@ -1,6 +1,6 @@ pkgbase = rpmlint pkgdesc = A tool for checking common errors in rpm packages - pkgver = 2.1.0 + pkgver = 2.2.0 pkgrel = 1 url = https://github.com/rpm-software-management/rpmlint arch = any @@ -28,9 +28,7 @@ pkgbase = rpmlint optdepends = dash: for checking bashisms optdepends = desktop-file-utils: for checking desktop entries optdepends = python-pyenchant: for spell checking - source = rpmlint-2.1.0.tar.gz::https://github.com/rpm-software-management/rpmlint/archive/refs/tags/2.1.0.tar.gz - source = skip-test-requiring-rpmdb.patch - sha512sums = 75df896259b5c340c528357309b2e5e1ce574b7e5e55dff573a1a7808faa3617da799df37e7e65064952a16549225beb16c1e12ba22f2fe4976a69696ed66f46 - sha512sums = 56dbea9ec9465d749d095819352fbfea570b1452aad523bb8a2d1a8ea8878489fdbc8190cbb6d8c2e82d60290d238edd502f879239124aadb81d7cdbac846365 + source = rpmlint-2.2.0.tar.gz::https://github.com/rpm-software-management/rpmlint/archive/refs/tags/2.2.0.tar.gz + sha512sums = 5e16747231e3f815b405db194e5d1768d19a2b378db674f57b1ebcba17d0f3320626e4c2b648e79cc180621444439c2c84fd176cd1e0fd7b6585d50492a7f272 pkgname = rpmlint @@ -3,7 +3,7 @@ # Contributor: Thomas Dziedzic < gostrc at gmail > pkgname=rpmlint -pkgver=2.1.0 +pkgver=2.2.0 pkgrel=1 pkgdesc="A tool for checking common errors in rpm packages" arch=('any') @@ -40,18 +40,8 @@ optdepends=( ) source=( "$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz" - "skip-test-requiring-rpmdb.patch" ) -sha512sums=( - '75df896259b5c340c528357309b2e5e1ce574b7e5e55dff573a1a7808faa3617da799df37e7e65064952a16549225beb16c1e12ba22f2fe4976a69696ed66f46' - '56dbea9ec9465d749d095819352fbfea570b1452aad523bb8a2d1a8ea8878489fdbc8190cbb6d8c2e82d60290d238edd502f879239124aadb81d7cdbac846365' -) - -prepare() { - cd "$pkgname-$pkgver" - - patch --forward --strip=1 --input="${srcdir}/skip-test-requiring-rpmdb.patch" -} +sha512sums=('5e16747231e3f815b405db194e5d1768d19a2b378db674f57b1ebcba17d0f3320626e4c2b648e79cc180621444439c2c84fd176cd1e0fd7b6585d50492a7f272') build() { cd "$pkgname-$pkgver" diff --git a/skip-test-requiring-rpmdb.patch b/skip-test-requiring-rpmdb.patch deleted file mode 100644 index 500b79e81063..000000000000 --- a/skip-test-requiring-rpmdb.patch +++ /dev/null @@ -1,24 +0,0 @@ -From d49a12caed22fc684de822942fcf29d85d19ade1 Mon Sep 17 00:00:00 2001 -From: Carl Smedstad <carl.smedstad@protonmail.com> -Date: Thu, 19 Aug 2021 13:52:36 +0200 -Subject: [PATCH] Skip test requiring RPM database if not present - ---- - test/test_lint.py | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/test/test_lint.py b/test/test_lint.py -index fe4ebfb..5e8c719 100644 ---- a/test/test_lint.py -+++ b/test/test_lint.py -@@ -423,6 +423,7 @@ def test_run_rpmlintrc_single_file(capsys, packages): - assert 'no-%build-section' not in out - - -+@pytest.mark.skipif(not HAS_RPMDB, reason='No RPM database present') - def test_installed_package(capsys): - additional_options = { - 'installed': ['bzip2'], --- -2.33.0 - |