Initial import (syn 1 compat package)

epel9 imports/e9/rust-syn1-1.0.109-1.el9
Fabio Valentini 2 years ago
parent 5f051a92f0
commit 471f132195
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/syn-1.0.109.crate

@ -1,3 +0,0 @@
# rust-syn1
The rust-syn1 package

@ -0,0 +1,214 @@
# Generated by rust2rpm 24
# * missing dev-dependency: syn-test-suite
%bcond_with check
%global debug_package %{nil}
%global crate syn
Name: rust-syn1
Version: 1.0.109
Release: %autorelease
Summary: Parser for Rust source code
License: MIT OR Apache-2.0
URL: https://crates.io/crates/syn
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
%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_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
%autochangelog

@ -0,0 +1 @@
SHA512 (syn-1.0.109.crate) = 12816b9e8cf984024b2fbce9f0ae14cf94d4d2c06f08cc54fb793ce78770bb4cc1288eb7df0ba5e8e937756e1e8e295c53fe07a0c5dde1ea8ddba03b6203b37d
Loading…
Cancel
Save