Adopt to new macro

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 7 years ago
parent a29dec35d5
commit 23447419b8
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -6,7 +6,7 @@
Name: rust-%{crate}
Version: 0.4.8
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Synchronization primitives based on spinning
License: MIT
@ -39,14 +39,14 @@ which use %{crate} from crates.io.
%build
# https://github.com/mvdnes/spin-rs/issues/37
%cargo_build --no-default-features
%cargo_build -n
%install
%cargo_install
%cargo_install -n
%if %{with check}
%check
%cargo_test --no-default-features
%cargo_test -n
%endif
%files devel
@ -56,6 +56,9 @@ which use %{crate} from crates.io.
%exclude %{cargo_registry}/%{crate}-%{version}/script
%changelog
* Sat Jun 23 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.8-2
- Adopt to new macro
* Sun Apr 22 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.8-1
- Update to 0.4.8

Loading…
Cancel
Save