Update to new macro
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
12d8ba87ba
commit
94f3e25804
|
@ -1,13 +1,11 @@
|
|||
# Generated by rust2rpm
|
||||
%bcond_without check
|
||||
|
||||
%global __cargo_common_opts %{__cargo_common_opts} --features all
|
||||
|
||||
%global crate tokei
|
||||
|
||||
Name: rust-%{crate}
|
||||
Version: 7.0.3
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Utility that allows you to count code, quickly
|
||||
|
||||
License: MIT or ASL 2.0
|
||||
|
@ -67,14 +65,14 @@ which use %{crate} from crates.io.
|
|||
%cargo_prep
|
||||
|
||||
%build
|
||||
%cargo_build
|
||||
%cargo_build -a
|
||||
|
||||
%install
|
||||
%cargo_install
|
||||
%cargo_install -a
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
%cargo_test
|
||||
%cargo_test -a
|
||||
%endif
|
||||
|
||||
%files -n %{crate}
|
||||
|
@ -86,6 +84,9 @@ which use %{crate} from crates.io.
|
|||
%{cargo_registry}/%{crate}-%{version}/
|
||||
|
||||
%changelog
|
||||
* Fri Jun 22 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.0.3-2
|
||||
- Update to new macro
|
||||
|
||||
* Thu Jun 14 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.0.3-1
|
||||
- Update to 7.0.3
|
||||
|
||||
|
|
Loading…
Reference in New Issue