diff --git a/.gitignore b/.gitignore index f8a8e4b..c8e6703 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /system-deps-1.3.2.crate /system-deps-3.2.0.crate +/system-deps-6.0.1.crate diff --git a/rust-system-deps.spec b/rust-system-deps.spec index cfd339f..ebb8028 100644 --- a/rust-system-deps.spec +++ b/rust-system-deps.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 20 # * files required by tests are not shipped with published crates %bcond_with check %global debug_package %{nil} @@ -6,23 +6,16 @@ %global crate system-deps Name: rust-%{crate} -Version: 3.2.0 +Version: 6.0.1 Release: %autorelease -Summary: Declarative dependencies in Cargo.toml +Summary: Declarative system dependencies in Cargo.toml # Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/system-deps Source: %{crates_source} -# Initial patched metadata -# * bump cfg-expr from 0.8 to 0.9: -# https://github.com/gdesmott/system-deps/commit/96d6b9c -Patch0: system-deps-fix-metadata.diff ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -38,8 +31,8 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel %license LICENSE-APACHE LICENSE-MIT @@ -52,8 +45,8 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml diff --git a/sources b/sources index 4b86379..6ed8c35 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (system-deps-3.2.0.crate) = a6523e726e0cd1c23954eaeaad764bac7888b8850ae3328cbd70c31eb37c5f2573c4857c4628ad52afb169f1914ceb826d8d4fd4924e7a3ce10b512390b7c45c +SHA512 (system-deps-6.0.1.crate) = 0199563f956389c1e85fd7ccc0f5de40bbf991b76bcae4be3f42b7553834d98d3d4005b1101c05ac1afb1fd386122a21325e5af858e6dba6219ad1f78458d642 diff --git a/system-deps-fix-metadata.diff b/system-deps-fix-metadata.diff deleted file mode 100644 index 3506d74..0000000 --- a/system-deps-fix-metadata.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- system-deps-3.2.0/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ system-deps-3.2.0/Cargo.toml 2021-11-15T18:00:26.700680+00:00 -@@ -25,7 +25,7 @@ - version = "1.0" - - [dependencies.cfg-expr] --version = "0.8" -+version = "0.9" - - [dependencies.heck] - version = "0.3"