Use make macros and BR make explicitly

This commit is contained in:
Miro Hrončok 2020-11-09 00:07:35 +01:00
parent 08b6c5bc81
commit 9260b00a0f

View File

@ -23,6 +23,7 @@ BuildRequires: xmlto
BuildRequires: glib2-devel BuildRequires: glib2-devel
BuildRequires: gettext BuildRequires: gettext
BuildRequires: itstool BuildRequires: itstool
BuildRequires: make
BuildRequires: meson BuildRequires: meson
BuildRequires: git-core BuildRequires: git-core
@ -43,9 +44,7 @@ tar xjf %SOURCE6
mv xdgmime-*/ xdgmime/ mv xdgmime-*/ xdgmime/
%build %build
cd ./xdgmime/ %make_build -C xdgmime
make
cd ..
# the updated mimedb is later owned as %%ghost to ensure proper file-ownership # the updated mimedb is later owned as %%ghost to ensure proper file-ownership
# it also asserts it is possible to build it # it also asserts it is possible to build it
%meson -Dupdate-mimedb=true -Dxdg-mime-path=./xdgmime/ %meson -Dupdate-mimedb=true -Dxdg-mime-path=./xdgmime/