The package rpms/rust-fluent-syntax.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/rust-fluent-syntax.git/commit/?id=bb....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit bb9398930c26a793400b5089ac9988dc4ff5c215 Author: Link Dupont link@sub-pop.net Date: Mon Nov 15 12:06:09 2021 -0500
initial package
Relates: RHBZ#2022212
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3875892 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/add-missing-test-files.patch +/fluent-syntax-0.11.0.crate diff --git a/rust-fluent-syntax.spec b/rust-fluent-syntax.spec new file mode 100644 index 0000000..76aa85d --- /dev/null +++ b/rust-fluent-syntax.spec @@ -0,0 +1,136 @@ +# Generated by rust2rpm 18 +%bcond_without check + +%global crate fluent-syntax + +Name: rust-%{crate} +Version: 0.11.0 +Release: 1%{?dist} +Summary: Parser/Serializer tools for Fluent Syntax + +# Upstream license specification: Apache-2.0/MIT +License: ASL 2.0 or MIT +URL: https://crates.io/crates/fluent-syntax +Source: %{crates_source} +Patch0: add-missing-test-files.patch + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%global _description %{expand: +Parser/Serializer tools for Fluent Syntax.} + +%description %{_description} + +%if ! %{__cargo_skip_build} +%package -n %{crate} +Summary: %{summary} + +%description -n %{crate} %{_description} + +%files -n %{crate} +%license LICENSE-MIT LICENSE-APACHE +%doc README.md benches/contexts/README.md +%{_bindir}/update_fixtures +%{_bindir}/parser +%endif + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages +which use "%{crate}" crate. + +%files devel +%license LICENSE-MIT LICENSE-APACHE +%doc README.md benches/contexts/README.md +%{cargo_registry}/%{crate}-%{version_no_tilde}/ + +%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 "default" feature of "%{crate}" crate. + +%files -n %{name}+default-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+all-benchmarks-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+all-benchmarks-devel %{_description} + +This package contains library source intended for building other packages +which use "all-benchmarks" feature of "%{crate}" crate. + +%files -n %{name}+all-benchmarks-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+json-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+json-devel %{_description} + +This package contains library source intended for building other packages +which use "json" feature of "%{crate}" crate. + +%files -n %{name}+json-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+serde-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serde-devel %{_description} + +This package contains library source intended for building other packages +which use "serde" feature of "%{crate}" crate. + +%files -n %{name}+serde-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+serde_json-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serde_json-devel %{_description} + +This package contains library source intended for building other packages +which use "serde_json" feature of "%{crate}" crate. + +%files -n %{name}+serde_json-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires -f json + +%build +%cargo_build -f json + +%install +%cargo_install -f json + +%if %{with check} +%check +%cargo_test -f json +%endif + +%changelog +* Sat Oct 02 2021 Link Dupont linkdupont@fedoraproject.org - 0.11.0-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..456bd67 --- /dev/null +++ b/sources @@ -0,0 +1,2 @@ +SHA512 (add-missing-test-files.patch) = 8a4d0bcab6e000a1f705a7f1956e7811bb73be7b325bb76fdb648301803f55e54c0d461455787d800b6511c9d025be775ebcf2c00e4fd7b41ed2ae2558dd9066 +SHA512 (fluent-syntax-0.11.0.crate) = cd6157ed27735fe319b115e555760832ee29d5887d8a1a9932a47e880c97f927304320c7ced54b30984c65acfd5ce1b9dc659a8e27b4976330cb803d07f64289