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=51....
Change: -ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 51db20f140867eb3dd416a4bfb40cd33d337ac5c Author: Fabio Valentini decathorpe@gmail.com Date: Tue Apr 25 21:32:11 2023 +0200
Enable missing "syn/clone-impls" feature to fix an FTBFS issue
diff --git a/README.md b/README.md deleted file mode 100644 index 4a742f6..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-i18n-embed-fl - -The rust-i18n-embed-fl package diff --git a/disable-doctests.patch b/disable-doctests.patch deleted file mode 100644 index d0845b1..0000000 --- a/disable-doctests.patch +++ /dev/null @@ -1,22 +0,0 @@ -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/i18n-embed-fl-fix-metadata.diff b/i18n-embed-fl-fix-metadata.diff new file mode 100644 index 0000000..a20abd3 --- /dev/null +++ b/i18n-embed-fl-fix-metadata.diff @@ -0,0 +1,11 @@ +--- i18n-embed-fl-0.6.1/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ i18n-embed-fl-0.6.1/Cargo.toml 2023-04-25T19:16:45.664431+00:00 +@@ -57,7 +57,7 @@ + + [dependencies.syn] + version = "1.0" +-features = ["derive", "proc-macro", "parsing", "printing", "extra-traits", "full"] ++features = ["derive", "proc-macro", "parsing", "printing", "extra-traits", "full", "clone-impls"] + default-features = false + + [dependencies.unic-langid] diff --git a/rust-i18n-embed-fl.spec b/rust-i18n-embed-fl.spec index 925ddc9..59c2f0f 100644 --- a/rust-i18n-embed-fl.spec +++ b/rust-i18n-embed-fl.spec @@ -1,31 +1,28 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil}
%global crate i18n-embed-fl
-Name: rust-%{crate} +Name: rust-i18n-embed-fl Version: 0.6.1 Release: %autorelease 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 +# Manually created patch for downstream crate metadata changes +# * enable missing "syn/clone-impls" feature +Patch: i18n-embed-fl-fix-metadata.diff +# * add missing test fixtures +Patch: add-missing-test-files.patch
-ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21
%global _description %{expand: -Macro to perform compile time checks when using the i18n-embed crate and the -fluent localization system.} +Macro to perform compile time checks when using the i18n-embed crate and +the fluent localization system.}
%description %{_description}
@@ -35,13 +32,14 @@ BuildArch: noarch
%description devel %{_description}
-This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate.
%files devel -%license LICENSE.txt -%doc README.md CHANGELOG.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE.txt +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/
%package -n %{name}+default-devel Summary: %{summary} @@ -49,11 +47,11 @@ 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. +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
%prep %autosetup -n %{crate}-%{version_no_tilde} -p1 @@ -70,7 +68,8 @@ which use "default" feature of "%{crate}" crate.
%if %{with check} %check -%cargo_test +# * skip doctests that fail to compile +%cargo_test -- -- --skip "src/lib.rs" %endif
%changelog
commit e4821a3d7f9599c590d432de1e852aebef720015 Author: Fabio Valentini decathorpe@gmail.com Date: Tue Apr 25 21:15:01 2023 +0200
Convert to %autorelease and %autochangelog
[skip changelog]
diff --git a/changelog b/changelog new file mode 100644 index 0000000..52ac1e2 --- /dev/null +++ b/changelog @@ -0,0 +1,17 @@ +* Fri Jan 20 2023 Fedora Release Engineering releng@fedoraproject.org - 0.6.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering releng@fedoraproject.org - 0.6.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering releng@fedoraproject.org - 0.6.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Mon Nov 29 2021 Link Dupont linkdupont@fedoraproject.org - 0.6.1-1 +- New upstream version + +* Mon Nov 22 2021 Link Dupont linkdupont@fedoraproject.org - 0.6.0-1 +- New upstream version + +* Mon Oct 04 2021 Link Dupont linkdupont@fedoraproject.org - 0.5.0-1 +- Initial package diff --git a/rust-i18n-embed-fl.spec b/rust-i18n-embed-fl.spec index e44a856..925ddc9 100644 --- a/rust-i18n-embed-fl.spec +++ b/rust-i18n-embed-fl.spec @@ -6,7 +6,7 @@
Name: rust-%{crate} Version: 0.6.1 -Release: 4%{?dist} +Release: %autorelease Summary: Macro to perform compile time checks when using the i18n-embed crate and the fluent localization system
# Upstream license specification: MIT @@ -74,20 +74,4 @@ which use "default" feature of "%{crate}" crate. %endif
%changelog -* Fri Jan 20 2023 Fedora Release Engineering releng@fedoraproject.org - 0.6.1-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Sat Jul 23 2022 Fedora Release Engineering releng@fedoraproject.org - 0.6.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Fri Jan 21 2022 Fedora Release Engineering releng@fedoraproject.org - 0.6.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Mon Nov 29 2021 Link Dupont linkdupont@fedoraproject.org - 0.6.1-1 -- New upstream version - -* Mon Nov 22 2021 Link Dupont linkdupont@fedoraproject.org - 0.6.0-1 -- New upstream version - -* Mon Oct 04 2021 Link Dupont linkdupont@fedoraproject.org - 0.5.0-1 -- Initial package +%autochangelog
arch-excludes@lists.fedoraproject.org