import rust-syn1-1.0.109-1.el9

i9ce changed/i9ce/rust-syn1-1.0.109-1.el9
Arkady L. Shane 1 year ago
commit 92b9be8d2d
Signed by: tigro
GPG Key ID: 8D1597B4AD3AFAA0

Binary file not shown.

@ -0,0 +1,228 @@
## START: Set by rpmautospec
## (rpmautospec version 0.3.5)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 1;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
## END: Set by rpmautospec
# 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
* Sun Nov 19 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.0.109-1
- Rebuilt for MSVSphere 9.2
* Mon Mar 20 2023 Fabio Valentini <decathorpe@gmail.com> - 1.0.109-1
- Initial import (syn 1 compat package)
Loading…
Cancel
Save