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/