target is defined by rust not by cargo so it's bound more to the former.
keep compatiblity macro for some time though.
%rpmrustflags %debuginforustflags
%rust_arches %{x8664} %{ix86} x32 aarch64 armv6hl armv7hl armv7hnl
-%cargo_target \\\
+%rust_target \\\
%ifarch i586\
i586-unknown-linux-gnu\\\
%endif\
%endif\
%{nil}
+%cargo_target %rust_target
%cargo_targetdir target
%cargo_objdir %{?buildsubdir:%{_builddir}/%{buildsubdir}/}%{cargo_targetdir}/%{cargo_target}/%{!?debug:release}%{?debug:debug}
-%define rpm_macros_rev 2.011
+%define rpm_macros_rev 2.012
%define find_lang_rev 1.40
# split into individual X_prov_ver if there is a reason to desync
%define prov_ver 4.15
Summary(pl.UTF-8): Makra RPM dla Linuksa PLD
Name: rpm-pld-macros
Version: %{rpm_macros_rev}
-Release: 8
+Release: 1
License: GPL v2+
Group: Development/Building
Source0: macros.pld