diff --git a/.gitignore b/.gitignore index 4c92c01..507cff9 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /system-deps-3.2.0.crate /system-deps-6.0.1.crate /system-deps-6.0.2.crate +/system-deps-6.0.3.crate diff --git a/rust-system-deps.spec b/rust-system-deps.spec index a2499f5..984fcbb 100644 --- a/rust-system-deps.spec +++ b/rust-system-deps.spec @@ -1,23 +1,20 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 23 # * files required by tests are not shipped with published crates %bcond_with check %global debug_package %{nil} %global crate system-deps -Name: rust-%{crate} -Version: 6.0.2 +Name: rust-system-deps +Version: 6.0.3 Release: %autorelease Summary: Declarative system dependencies in Cargo.toml -# Upstream license specification: MIT OR Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/system-deps Source: %{crates_source} -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Discover and configure system dependencies from declarative dependencies in @@ -35,9 +32,10 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -49,7 +47,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 3e93696..7f331fc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (system-deps-6.0.2.crate) = 5ab193ff8ef680aafe89e6920b90d07349809018a27d962c6abf0ed6920d8a7541d6af03600c7b5e328425add04305743183e072491eacf973e6e96e6590b33d +SHA512 (system-deps-6.0.3.crate) = 12915d4e43c2c65f1c43c738ecb5f3ecfc817e6eb68989e34b2a8a42c10cc146da9a3b60a4d149215565e77918cc9afd991776da219863536616096ab140bfde