forked from pool/ninja
041a072ab1
Added macros.ninja as external source and install it to rpmconfigdir. This installs macros for RPM which are then used by meson (since v0.36) [The macros file comes from Fedora, allowing to easy manage x-distro packages] OBS-URL: https://build.opensuse.org/request/show/444304 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/ninja?expand=0&rev=32
13 lines
264 B
Plaintext
13 lines
264 B
Plaintext
%__ninja %{_bindir}/ninja
|
|
%__ninja_common_opts -v %{?_smp_mflags}
|
|
|
|
%ninja_build \
|
|
%{__ninja} %{__ninja_common_opts}
|
|
|
|
%ninja_install \
|
|
DESTDIR=%{buildroot} %{__ninja} install %{__ninja_common_opts}
|
|
|
|
%ninja_test \
|
|
%{__ninja} test %{__ninja_common_opts}
|
|
|