|
|
|
@ -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
|
|
|
|
|