From 404516e2670c19a4fa651b5eaf36296189ca6f80 Mon Sep 17 00:00:00 2001 From: madomado Date: Mon, 20 Feb 2023 11:33:24 +0800 Subject: [PATCH] fix: maturin (#212) * fix: maturin * fix: protobuf * fix: maturin * feat(checks): remove checks from maturin --------- Signed-off-by: madomado --- anda/rust/maturin/rust-maturin.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/anda/rust/maturin/rust-maturin.spec b/anda/rust/maturin/rust-maturin.spec index 53ca27d189..8226f23a51 100644 --- a/anda/rust/maturin/rust-maturin.spec +++ b/anda/rust/maturin/rust-maturin.spec @@ -3,7 +3,7 @@ Name: rust-maturin Version: 0.14.13 -Release: 1%{?dist} +Release: %autorelease Summary: Build and publish crates with pyo3, rust-cpython and cffi bindings as well as rust binaries as python packages License: MIT OR Apache-2.0 @@ -240,12 +240,12 @@ use the "ureq" feature of the "%{crate}" crate. %files -n %{name}+ureq-devel %ghost %{crate_instdir}/Cargo.toml - %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep_online %build +cargo add time -F macros %cargo_build %install