From 9260b00a0f93536c4c428b3ec1d54434a1a2223e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 9 Nov 2020 00:07:35 +0100 Subject: [PATCH] Use make macros and BR make explicitly --- shared-mime-info.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/shared-mime-info.spec b/shared-mime-info.spec index 9c16228..5958454 100644 --- a/shared-mime-info.spec +++ b/shared-mime-info.spec @@ -23,6 +23,7 @@ BuildRequires: xmlto BuildRequires: glib2-devel BuildRequires: gettext BuildRequires: itstool +BuildRequires: make BuildRequires: meson BuildRequires: git-core @@ -43,9 +44,7 @@ tar xjf %SOURCE6 mv xdgmime-*/ xdgmime/ %build -cd ./xdgmime/ -make -cd .. +%make_build -C xdgmime # the updated mimedb is later owned as %%ghost to ensure proper file-ownership # it also asserts it is possible to build it %meson -Dupdate-mimedb=true -Dxdg-mime-path=./xdgmime/