templates: adapt project template for removal of the %crate macro
This commit is contained in:
parent
fd4aa5ae41
commit
96ef2a239f
1 changed files with 2 additions and 2 deletions
|
@ -129,9 +129,9 @@ Requires: {{ req }}
|
|||
|
||||
%prep
|
||||
{% if crate_version != rpm_version %}
|
||||
%autosetup -n %{crate}-%{crate_version} -p1{{ rpm_autosetup_args}}
|
||||
%autosetup -n {{ rpm_name }}-%{crate_version} -p1{{ rpm_autosetup_args}}
|
||||
{% elif crate_version != upstream_version %}
|
||||
%autosetup -n %{crate}-%{upstream_version} -p1{{ rpm_autosetup_args}}
|
||||
%autosetup -n {{ rpm_name }}-%{upstream_version} -p1{{ rpm_autosetup_args}}
|
||||
{% else %}
|
||||
%autosetup -n %{crate}-%{version} -p1{{ rpm_autosetup_args}}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue