You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
1.2 KiB
27 lines
1.2 KiB
%cargo_cbuild(naf:)\
|
|
%{shrink: \
|
|
%{__cargo} cbuild \
|
|
%{__cargo_common_opts} \
|
|
--profile rpm \
|
|
%{__cargo_parse_opts %{-n} %{-a} %{-f:-f%{-f*}}} \
|
|
--destdir=%{buildroot} \
|
|
--prefix=%{_prefix} \
|
|
--libdir=%{_libdir} \
|
|
--includedir=%{_includedir} \
|
|
--pkgconfigdir=%{_libdir}/pkgconfig \
|
|
}
|
|
|
|
%cargo_cinstall(naf:)\
|
|
%{shrink: \
|
|
%{__cargo} cinstall \
|
|
%{__cargo_common_opts} \
|
|
--profile rpm \
|
|
%{__cargo_parse_opts %{-n} %{-a} %{-f:-f%{-f*}}} \
|
|
--destdir=%{buildroot} \
|
|
--prefix=%{_prefix} \
|
|
--libdir=%{_libdir} \
|
|
--includedir=%{_includedir} \
|
|
--pkgconfigdir=%{_libdir}/pkgconfig \
|
|
}
|
|
|