The package rpms/rust-simplelog.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-simplelog.git/commit/?id=d56....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit d5660bfd920d6fe356da449dc8a610294908a19b
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Mon Jan 30 16:14:22 2023 +0100
Normalize dependencies to not be stricter than semver-compatibility
diff --git a/rust-simplelog.spec b/rust-simplelog.spec
index a196f67..14028ab 100644
--- a/rust-simplelog.spec
+++ b/rust-simplelog.spec
@@ -1,22 +1,22 @@
-# Generated by rust2rpm 20
+# Generated by rust2rpm 23
%bcond_without check
%global debug_package %{nil}
%global crate simplelog
-Name: rust-%{crate}
+Name: rust-simplelog
Version: 0.11.2
Release: %autorelease
Summary: Simple and easy-to-use logging facility for Rust's log crate
-# Upstream license specification: MIT OR Apache-2.0
-License: MIT or ASL 2.0
+License: MIT OR Apache-2.0
URL:
https://crates.io/crates/simplelog
Source: %{crates_source}
+# Manually created patch for downstream crate metadata changes
+# * normalize dependencies to not be stricter than semver-compatibility
+Patch: simplelog-fix-metadata.diff
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
Simple and easy-to-use logging facility for Rust's log crate.}
@@ -33,9 +33,11 @@ This package contains library source intended for building other
packages which
use the "%{crate}" crate.
%files devel
-%license LICENSE.APACHE2 LICENSE.MIT
-%doc CHANGELOG.md README.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE.APACHE2
+%license %{crate_instdir}/LICENSE.MIT
+%doc %{crate_instdir}/CHANGELOG.md
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -47,7 +49,7 @@ 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
%package -n %{name}+ansi_term-devel
Summary: %{summary}
@@ -59,7 +61,7 @@ This package contains library source intended for building other
packages which
use the "ansi_term" feature of the "%{crate}" crate.
%files -n %{name}+ansi_term-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+paris-devel
Summary: %{summary}
@@ -71,7 +73,7 @@ This package contains library source intended for building other
packages which
use the "paris" feature of the "%{crate}" crate.
%files -n %{name}+paris-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+termcolor-devel
Summary: %{summary}
@@ -83,7 +85,7 @@ This package contains library source intended for building other
packages which
use the "termcolor" feature of the "%{crate}" crate.
%files -n %{name}+termcolor-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+test-devel
Summary: %{summary}
@@ -95,7 +97,7 @@ 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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
diff --git a/simplelog-fix-metadata.diff b/simplelog-fix-metadata.diff
new file mode 100644
index 0000000..9000ac3
--- /dev/null
+++ b/simplelog-fix-metadata.diff
@@ -0,0 +1,21 @@
+--- simplelog-0.11.2/Cargo.toml 1970-01-01T00:00:01+00:00
++++ simplelog-0.11.2/Cargo.toml 2023-01-30T15:13:14.000938+00:00
+@@ -29,15 +29,15 @@
+ version = "0.4.1"
+
+ [dependencies.log]
+-version = "0.4.*"
++version = "0.4"
+ features = ["std"]
+
+ [dependencies.paris]
+-version = "~1.5"
++version = "1.5"
+ optional = true
+
+ [dependencies.termcolor]
+-version = "1.1.*"
++version = "1.1"
+ optional = true
+
+ [features]
commit eae7c82571596cd38182ec5cfff21a185faea395
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Sat Jan 21 01:27:58 2023 +0000
Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
commit 738dc9659b125217edcb2a26725f26cce68d8e61
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Sat Jul 23 06:40:19 2022 +0000
Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>