diff options
Diffstat (limited to 'community/osinfo-db-tools/APKBUILD')
-rw-r--r-- | community/osinfo-db-tools/APKBUILD | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/community/osinfo-db-tools/APKBUILD b/community/osinfo-db-tools/APKBUILD index 5720d124b5..fada74ec2b 100644 --- a/community/osinfo-db-tools/APKBUILD +++ b/community/osinfo-db-tools/APKBUILD @@ -11,7 +11,9 @@ makedepends="intltool glib-dev libxml2-dev libarchive-dev libxslt-dev json-glib- automake autoconf libtool" checkdepends="py3-pytest py3-requests" subpackages="$pkgname-doc $pkgname-lang" -source="https://releases.pagure.org/libosinfo/osinfo-db-tools-$pkgver.tar.gz" +source="https://releases.pagure.org/libosinfo/osinfo-db-tools-$pkgver.tar.gz + fix-tests.patch + " prepare() { default_prepare @@ -30,12 +32,6 @@ build() { } check() { - # One of the tests run a user instance of osinfo-db-tools which - # installs configuration to the value of $XDG_CONFIG_HOME, defaulting - # to $HOME/.config as per the XDG standard. But the value might be changed - # by the user and the test only checks for $HOME/.config. So unset it here - # so it doesn't have a chance to fail. - unset XDG_CONFIG_HOME make check } @@ -43,4 +39,5 @@ package() { make DESTDIR="$pkgdir" install } -sha512sums="baa42086ae13365e463064f0313228ec79d785a863b72c396d2a24d35496420d17ea09191629663c8c67ec46f3168f256ff50896053244cd0255be6ac08583d1 osinfo-db-tools-1.5.0.tar.gz" +sha512sums="baa42086ae13365e463064f0313228ec79d785a863b72c396d2a24d35496420d17ea09191629663c8c67ec46f3168f256ff50896053244cd0255be6ac08583d1 osinfo-db-tools-1.5.0.tar.gz +f1f4bd99a02f42b62e7f927f13a4ae5b5b3ff9e85add175bb753c064450cb52afb5eaa4cb4c709b6fdb203f6f00b87ffa8aadc19b3838cadcb6419c142a74dec fix-tests.patch" |