diff --git a/.gitignore b/.gitignore index c006686..5ad6fe2 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /lazy_static-1.2.0.crate /lazy_static-1.3.0.crate /lazy_static-1.4.0.crate +/lazy_static-1.5.0.crate diff --git a/rust-lazy_static.spec b/rust-lazy_static.spec index 508968e..3f708b0 100644 --- a/rust-lazy_static.spec +++ b/rust-lazy_static.spec @@ -1,20 +1,19 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate lazy_static Name: rust-lazy_static -Version: 1.4.0 +Version: 1.5.0 Release: %autorelease Summary: Macro for declaring lazily evaluated statics in Rust -# Upstream license specification: MIT/Apache-2.0 License: MIT OR Apache-2.0 URL: https://crates.io/crates/lazy_static Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A macro for declaring lazily evaluated statics in Rust.} @@ -73,7 +72,7 @@ use the "spin_no_std" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires @@ -87,7 +86,8 @@ use the "spin_no_std" feature of the "%{crate}" crate. %if %{with check} %check -%cargo_test +# * skip ui tests that fail to compile +%cargo_test -- -- --exact --skip ui %endif %changelog diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..d7ab58d --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,5 @@ +[tests] +skip = ["ui"] +skip-exact = true +comments = ["skip ui tests that fail to compile"] + diff --git a/sources b/sources index e5924dc..82b9195 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lazy_static-1.4.0.crate) = e124c0521ec7c950f3c4a066821918da7a9c6e711115d98009ae7c351928fdddead852e7596fea5937a9c30e4e4ce8eee7099b20248b5d6e3b2494b6a6d88cb8 +SHA512 (lazy_static-1.5.0.crate) = 6d2f9887cd7f34f019644e42f02f2bf0111accd73aeaa60973ba0b039b6774670debece1ea9a6978e923208ef5d3ab7326473ee3560c078817f0f7ab8ed0f65f