From 23447419b8ff8944e4ab628852e79d00e1ae8246 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 23 Jun 2018 06:41:47 +0200 Subject: [PATCH] Adopt to new macro Signed-off-by: Igor Gnatenko --- rust-spin.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/rust-spin.spec b/rust-spin.spec index cab3780..492056d 100644 --- a/rust-spin.spec +++ b/rust-spin.spec @@ -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 - 0.4.8-2 +- Adopt to new macro + * Sun Apr 22 2018 Igor Gnatenko - 0.4.8-1 - Update to 0.4.8