diff --git a/.gitignore b/.gitignore index 4f9311c..3e16956 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /darling-0.10.3.crate /darling-0.12.2.crate /darling-0.13.1.crate +/darling-0.13.4.crate diff --git a/rust-darling.spec b/rust-darling.spec index f6d18b6..5c62746 100644 --- a/rust-darling.spec +++ b/rust-darling.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate darling Name: rust-%{crate} -Version: 0.13.1 +Version: 0.13.4 Release: %autorelease Summary: Proc-macro library for reading attributes into structs @@ -16,7 +16,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Proc-macro library for reading attributes into structs when implementing custom @@ -34,9 +34,10 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE -%doc CHANGELOG.md README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -48,7 +49,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}+diagnostics-devel Summary: %{summary} @@ -60,7 +61,7 @@ This package contains library source intended for building other packages which use the "diagnostics" feature of the "%{crate}" crate. %files -n %{name}+diagnostics-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+suggestions-devel Summary: %{summary} @@ -72,7 +73,7 @@ This package contains library source intended for building other packages which use the "suggestions" feature of the "%{crate}" crate. %files -n %{name}+suggestions-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 11f062f..4d95cb7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (darling-0.13.1.crate) = 0271198be875ee1a42d14e2f34b4d26bfc8cfc4cb86361f21c0bc079aceef4ad86bbcba919d7066abb891a87549404c432df53b0ec0e96fe293408b114c5ba99 +SHA512 (darling-0.13.4.crate) = 7392896b97b80ad24d76a985f4b950668ba351498f48ef0722c783c28d43c4a4828f5f6eba7e754ca554b6662fc419e73bcb65d4b20037285a16e345fec9ef75