diff --git a/.gitignore b/.gitignore index 45ad1e5..3aaf6e8 100644 --- a/.gitignore +++ b/.gitignore @@ -102,3 +102,12 @@ /syn-1.0.77.crate /syn-1.0.81.crate /syn-1.0.82.crate +/syn-1.0.85.crate +/syn-1.0.86.crate +/syn-1.0.89.crate +/syn-1.0.90.crate +/syn-1.0.93.crate +/syn-1.0.95.crate +/syn-1.0.98.crate +/syn-1.0.99.crate +/syn-1.0.101.crate diff --git a/rust-syn.spec b/rust-syn.spec index db099ef..6b69d57 100644 --- a/rust-syn.spec +++ b/rust-syn.spec @@ -1,26 +1,22 @@ -# Generated by rust2rpm 18 -# syn-test-suite is not packaged +# Generated by rust2rpm 22 +# * missing dev-dependency: syn-test-suite %bcond_with check %global debug_package %{nil} %global crate syn -Name: rust-%{crate} -Version: 1.0.82 +Name: rust-syn +Version: 1.0.101 Release: %autorelease Summary: Parser for Rust source code -# 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/syn Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Parser for Rust source code.} @@ -33,13 +29,14 @@ 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-MIT LICENSE-APACHE -%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} @@ -47,11 +44,11 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+clone-impls-devel Summary: %{summary} @@ -59,11 +56,11 @@ BuildArch: noarch %description -n %{name}+clone-impls-devel %{_description} -This package contains library source intended for building other packages -which use "clone-impls" feature of "%{crate}" crate. +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} @@ -71,11 +68,11 @@ BuildArch: noarch %description -n %{name}+derive-devel %{_description} -This package contains library source intended for building other packages -which use "derive" feature of "%{crate}" crate. +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} @@ -83,11 +80,11 @@ BuildArch: noarch %description -n %{name}+extra-traits-devel %{_description} -This package contains library source intended for building other packages -which use "extra-traits" feature of "%{crate}" crate. +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} @@ -95,11 +92,11 @@ BuildArch: noarch %description -n %{name}+fold-devel %{_description} -This package contains library source intended for building other packages -which use "fold" feature of "%{crate}" crate. +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} @@ -107,11 +104,11 @@ BuildArch: noarch %description -n %{name}+full-devel %{_description} -This package contains library source intended for building other packages -which use "full" feature of "%{crate}" crate. +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} @@ -119,11 +116,11 @@ BuildArch: noarch %description -n %{name}+parsing-devel %{_description} -This package contains library source intended for building other packages -which use "parsing" feature of "%{crate}" crate. +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} @@ -131,11 +128,11 @@ BuildArch: noarch %description -n %{name}+printing-devel %{_description} -This package contains library source intended for building other packages -which use "printing" feature of "%{crate}" crate. +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} @@ -143,11 +140,11 @@ BuildArch: noarch %description -n %{name}+proc-macro-devel %{_description} -This package contains library source intended for building other packages -which use "proc-macro" feature of "%{crate}" crate. +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} @@ -155,11 +152,11 @@ BuildArch: noarch %description -n %{name}+quote-devel %{_description} -This package contains library source intended for building other packages -which use "quote" feature of "%{crate}" crate. +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} @@ -167,11 +164,11 @@ BuildArch: noarch %description -n %{name}+test-devel %{_description} -This package contains library source intended for building other packages -which use "test" feature of "%{crate}" crate. +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} @@ -179,11 +176,11 @@ BuildArch: noarch %description -n %{name}+visit-devel %{_description} -This package contains library source intended for building other packages -which use "visit" feature of "%{crate}" crate. +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} @@ -191,11 +188,11 @@ BuildArch: noarch %description -n %{name}+visit-mut-devel %{_description} -This package contains library source intended for building other packages -which use "visit-mut" feature of "%{crate}" crate. +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 b426b58..26eea0e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (syn-1.0.82.crate) = 9406f62404f1dec3ea37a5e583a8dd7daf646fd5a1b11359aea3004010b3b416a44e4457695ba5beb12b3cbb9fe437de6f73018faa364c4e48060f6aab8ada1d +SHA512 (syn-1.0.101.crate) = 906981426acc97df92b93c9b6b70fd1aa66fd739b3865c618092826475a030e26943403cf91bdd99462f463eeb53c755b979bf834c56e30ffe1d53ade7e0fa35