# Generated by rust2rpm 25 # * missing dev-dependency: syn-test-suite %bcond_with check %global debug_package %{nil} %global crate syn Name: rust-syn Version: 2.0.48 Release: %autorelease Summary: Parser for Rust source code License: MIT OR Apache-2.0 URL: https://crates.io/crates/syn Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Parser for Rust source code.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE-APACHE %license %{crate_instdir}/LICENSE-MIT %doc %{crate_instdir}/README.md %{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+default-devel %{_description} 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 %{crate_instdir}/Cargo.toml %package -n %{name}+clone-impls-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+clone-impls-devel %{_description} 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 %{crate_instdir}/Cargo.toml %package -n %{name}+derive-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+derive-devel %{_description} 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 %{crate_instdir}/Cargo.toml %package -n %{name}+extra-traits-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+extra-traits-devel %{_description} 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 %{crate_instdir}/Cargo.toml %package -n %{name}+fold-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+fold-devel %{_description} 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 %{crate_instdir}/Cargo.toml %package -n %{name}+full-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+full-devel %{_description} 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 %{crate_instdir}/Cargo.toml %package -n %{name}+parsing-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+parsing-devel %{_description} 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 %{crate_instdir}/Cargo.toml %package -n %{name}+printing-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+printing-devel %{_description} 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 %{crate_instdir}/Cargo.toml %package -n %{name}+proc-macro-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+proc-macro-devel %{_description} 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 %{crate_instdir}/Cargo.toml %package -n %{name}+quote-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+quote-devel %{_description} 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 %{crate_instdir}/Cargo.toml %package -n %{name}+test-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+test-devel %{_description} 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 %{crate_instdir}/Cargo.toml %package -n %{name}+visit-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+visit-devel %{_description} 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 %{crate_instdir}/Cargo.toml %package -n %{name}+visit-mut-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+visit-mut-devel %{_description} 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 %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog %autochangelog