diff --git a/.gitignore b/.gitignore index 06ddc5a..50569f2 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /target-lexicon-0.12.1.crate /target-lexicon-0.12.2.crate /target-lexicon-0.12.3.crate +/target-lexicon-0.12.4.crate diff --git a/rust-target-lexicon.spec b/rust-target-lexicon.spec index bf66f49..7da4ddb 100644 --- a/rust-target-lexicon.spec +++ b/rust-target-lexicon.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate target-lexicon Name: rust-%{crate} -Version: 0.12.3 +Version: 0.12.4 Release: %autorelease Summary: Targeting utilities for compilers and related tools @@ -16,7 +16,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Targeting utilities for compilers and related tools.} @@ -33,9 +33,9 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,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 %package -n %{name}+std-devel Summary: %{summary} @@ -59,7 +59,7 @@ This package contains library source intended for building other packages which use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-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 b8ee04e..3c7a435 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (target-lexicon-0.12.3.crate) = 4ba0de71cf27c4ee330c9b61fc0318cfa3e179b57a7b0a79f296e0b33602c664c4ee2a676d09e0e104add2e0b56144cb5ddcc096a16f332f67862ee94b052f86 +SHA512 (target-lexicon-0.12.4.crate) = 194fe1946ad8d9fdb383bf8a65374e24d216382c1ed5379dabc98d58842512624c32838b8d6d0658d866f6559d37f1343a30c5809e8914dd85790399252b3e06