diff --git a/.gitignore b/.gitignore index 2221c06..81029ea 100644 --- a/.gitignore +++ b/.gitignore @@ -104,3 +104,4 @@ /syn-1.0.82.crate /syn-1.0.85.crate /syn-1.0.86.crate +/syn-1.0.89.crate diff --git a/rust-syn.spec b/rust-syn.spec index 92d4e23..24d82a4 100644 --- a/rust-syn.spec +++ b/rust-syn.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 # syn-test-suite is not packaged %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ %global crate syn Name: rust-%{crate} -Version: 1.0.86 +Version: 1.0.89 Release: %autorelease Summary: Parser for Rust source code @@ -17,7 +17,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Parser for Rust source code.} @@ -34,9 +34,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} @@ -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}+clone-impls-devel Summary: %{summary} @@ -60,7 +61,7 @@ This package contains library source intended for building other packages which use the "clone-impls" feature of the "%{crate}" crate. %files -n %{name}+clone-impls-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+derive-devel Summary: %{summary} @@ -72,7 +73,7 @@ This package contains library source intended for building other packages which use the "derive" feature of the "%{crate}" crate. %files -n %{name}+derive-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+extra-traits-devel Summary: %{summary} @@ -84,7 +85,7 @@ This package contains library source intended for building other packages which use the "extra-traits" feature of the "%{crate}" crate. %files -n %{name}+extra-traits-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+fold-devel Summary: %{summary} @@ -96,7 +97,7 @@ This package contains library source intended for building other packages which use the "fold" feature of the "%{crate}" crate. %files -n %{name}+fold-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+full-devel Summary: %{summary} @@ -108,7 +109,7 @@ This package contains library source intended for building other packages which use the "full" feature of the "%{crate}" crate. %files -n %{name}+full-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+parsing-devel Summary: %{summary} @@ -120,7 +121,7 @@ This package contains library source intended for building other packages which use the "parsing" feature of the "%{crate}" crate. %files -n %{name}+parsing-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+printing-devel Summary: %{summary} @@ -132,7 +133,7 @@ This package contains library source intended for building other packages which use the "printing" feature of the "%{crate}" crate. %files -n %{name}+printing-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+proc-macro-devel Summary: %{summary} @@ -144,7 +145,7 @@ This package contains library source intended for building other packages which use the "proc-macro" feature of the "%{crate}" crate. %files -n %{name}+proc-macro-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+quote-devel Summary: %{summary} @@ -156,7 +157,7 @@ This package contains library source intended for building other packages which use the "quote" feature of the "%{crate}" crate. %files -n %{name}+quote-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+test-devel Summary: %{summary} @@ -168,7 +169,7 @@ This package contains library source intended for building other packages which use the "test" feature of the "%{crate}" crate. %files -n %{name}+test-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+visit-devel Summary: %{summary} @@ -180,7 +181,7 @@ This package contains library source intended for building other packages which use the "visit" feature of the "%{crate}" crate. %files -n %{name}+visit-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+visit-mut-devel Summary: %{summary} @@ -192,7 +193,7 @@ This package contains library source intended for building other packages which use the "visit-mut" feature of the "%{crate}" crate. %files -n %{name}+visit-mut-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 c1c370b..4e39d49 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (syn-1.0.86.crate) = 1462dc9fbf0a89b023421064908c7e349ede23c986eddcb8d260559b5e1346fe0206c88e5317eea7e8293ea58b94466d486fae3aa57a1dee4220f5431b1fb68a +SHA512 (syn-1.0.89.crate) = 6b2a9411c015b2b0ed5c5e18cae67f357d1a735e184416c6f8533be191ba65c0963dc9341ba3829195c6616ce71d4a79cbc7768fdbaa98b798b8f67746c6ab4a