The package rpms/rust-i18n-embed-fl.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-i18n-embed-fl.git/commit/?id....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 9d54e113f96bf9705f2aea8d5eb8ba2c030dad8b
Author: Link Dupont <link(a)sub-pop.net>
Date: Mon Nov 22 23:33:16 2021 -0500
new upstream version
diff --git a/.gitignore b/.gitignore
index 5b24da6..b938689 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/i18n-embed-fl-0.5.0.crate
+/i18n-embed-fl-0.6.0.crate
diff --git a/rust-i18n-embed-fl.spec b/rust-i18n-embed-fl.spec
index 11464f6..0317655 100644
--- a/rust-i18n-embed-fl.spec
+++ b/rust-i18n-embed-fl.spec
@@ -5,7 +5,7 @@
%global crate i18n-embed-fl
Name: rust-%{crate}
-Version: 0.5.0
+Version: 0.6.0
Release: 1%{?dist}
Summary: Macro to perform compile time checks when using the i18n-embed crate and
the fluent localization system
@@ -74,5 +74,8 @@ which use "default" feature of "%{crate}" crate.
%endif
%changelog
+* Mon Nov 22 2021 Link Dupont <linkdupont(a)fedoraproject.org> - 0.6.0-1
+- New upstream version
+
* Mon Oct 04 2021 Link Dupont <linkdupont(a)fedoraproject.org> - 0.5.0-1
- Initial package
diff --git a/sources b/sources
index 4549392..51c0aa2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (i18n-embed-fl-0.5.0.crate) =
cc472cd0331e95daf591ea46e8cd28b2d7e6ab40a789115bf20f1cd03fee703b8cd0c3070d117d3153d77e4d9dcc449d82f2a1b7fbbaeb19bc98a5f7addbc6a9
+SHA512 (i18n-embed-fl-0.6.0.crate) =
ebc9a99640cfea42c6a3ae63c7bfc9b91d9ac3a1937d8770fa995d435b470b8a3401fa9c6d88f133d1b28a31dfa9cc363ddb54919151a30fc13b2bfe8115e04b
commit 051961013fd934931e3b5fee46612d1ae342affb
Author: Link Dupont <link(a)sub-pop.net>
Date: Mon Nov 15 14:41:44 2021 -0500
initial package
Relates: RHBZ#2022198
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..5b24da6
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/i18n-embed-fl-0.5.0.crate
diff --git a/add-missing-test-files.patch b/add-missing-test-files.patch
new file mode 100644
index 0000000..c8302b7
--- /dev/null
+++ b/add-missing-test-files.patch
@@ -0,0 +1,25 @@
+diff -urN i18n-embed-fl-0.5.0.orig/i18n/en-US/i18n_embed_fl.ftl
i18n-embed-fl-0.5.0/i18n/en-US/i18n_embed_fl.ftl
+--- i18n-embed-fl-0.5.0.orig/i18n/en-US/i18n_embed_fl.ftl 1969-12-31 19:00:00.000000000
-0500
++++ i18n-embed-fl-0.5.0/i18n/en-US/i18n_embed_fl.ftl 2021-10-04 20:52:55.295942278 -0400
+@@ -0,0 +1,3 @@
++hello-world = Hello World!
++hello-arg = Hello {$name}!
++hello-arg-2 = Hello {$name1} and {$name2}!
+\ No newline at end of file
+diff -urN i18n-embed-fl-0.5.0.orig/i18n.toml i18n-embed-fl-0.5.0/i18n.toml
+--- i18n-embed-fl-0.5.0.orig/i18n.toml 1969-12-31 19:00:00.000000000 -0500
++++ i18n-embed-fl-0.5.0/i18n.toml 2021-10-04 20:52:19.049735485 -0400
+@@ -0,0 +1,12 @@
++# (Required) The language identifier of the language used in the
++# source code for gettext system, and the primary fallback language
++# (for which all strings must be present) when using the fluent
++# system.
++fallback_language = "en-US"
++
++# Use the fluent localization system.
++[fluent]
++# (Required) The path to the assets directory.
++# The paths inside the assets directory should be structured like so:
++# `assets_dir/{language}/{domain}.ftl`
++assets_dir = "i18n"
+\ No newline at end of file
diff --git a/disable-doctests.patch b/disable-doctests.patch
new file mode 100644
index 0000000..d0845b1
--- /dev/null
+++ b/disable-doctests.patch
@@ -0,0 +1,22 @@
+diff -urN i18n-embed-fl-0.5.0.orig/Cargo.toml i18n-embed-fl-0.5.0/Cargo.toml
+--- i18n-embed-fl-0.5.0.orig/Cargo.toml 1969-12-31 19:00:00.000000000 -0500
++++ i18n-embed-fl-0.5.0/Cargo.toml 2021-10-04 20:50:28.694723432 -0400
+@@ -22,6 +22,7 @@
+
+ [lib]
+ proc-macro = true
++doctest = false
+ [dependencies.dashmap]
+ version = "4.0"
+
+diff -urN i18n-embed-fl-0.5.0.orig/Cargo.toml.orig i18n-embed-fl-0.5.0/Cargo.toml.orig
+--- i18n-embed-fl-0.5.0.orig/Cargo.toml.orig 1969-12-31 19:00:00.000000000 -0500
++++ i18n-embed-fl-0.5.0/Cargo.toml.orig 2021-10-04 20:50:34.888055687 -0400
+@@ -10,6 +10,7 @@
+
+ [lib]
+ proc-macro = true
++doctest = false
+
+ [dependencies]
+ dashmap = "4.0"
diff --git a/rust-i18n-embed-fl.spec b/rust-i18n-embed-fl.spec
new file mode 100644
index 0000000..11464f6
--- /dev/null
+++ b/rust-i18n-embed-fl.spec
@@ -0,0 +1,78 @@
+# Generated by rust2rpm 18
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate i18n-embed-fl
+
+Name: rust-%{crate}
+Version: 0.5.0
+Release: 1%{?dist}
+Summary: Macro to perform compile time checks when using the i18n-embed crate and
the fluent localization system
+
+# Upstream license specification: MIT
+License: MIT
+URL:
https://crates.io/crates/i18n-embed-fl
+Source: %{crates_source}
+Patch0: disable-doctests.patch
+Patch1: add-missing-test-files.patch
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Macro to perform compile time checks when using the i18n-embed crate and the
+fluent localization system.}
+
+%description %{_description}
+
+%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.txt
+%doc README.md CHANGELOG.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
+
+%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
+* Mon Oct 04 2021 Link Dupont <linkdupont(a)fedoraproject.org> - 0.5.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..4549392
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (i18n-embed-fl-0.5.0.crate) =
cc472cd0331e95daf591ea46e8cd28b2d7e6ab40a789115bf20f1cd03fee703b8cd0c3070d117d3153d77e4d9dcc449d82f2a1b7fbbaeb19bc98a5f7addbc6a9