The package rpms/rust-quicli.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-quicli.git/commit/?id=9da6c3....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 9da6c3ed2a5e8f557a6489b919cdb902babf09d1
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Mon Jun 26 15:21:18 2023 +0200
Bump clap-verbosity-flag dependency from 0.3 to 2.0
diff --git a/README.md b/README.md
deleted file mode 100644
index 187cb93..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-quicli
-
-The rust-quicli package
diff --git a/quicli-fix-metadata.diff b/quicli-fix-metadata.diff
index 3cca850..fb4f2c3 100644
--- a/quicli-fix-metadata.diff
+++ b/quicli-fix-metadata.diff
@@ -1,11 +1,11 @@
--- quicli-0.4.0/Cargo.toml 1970-01-01T00:00:00+00:00
-+++ quicli-0.4.0/Cargo.toml 2021-08-05T20:16:50.255067+00:00
++++ quicli-0.4.0/Cargo.toml 2023-06-26T13:18:13.127080+00:00
@@ -23,7 +23,7 @@
license = "MIT OR Apache-2.0"
repository = "https://github.com/killercup/quicli"
[dependencies.clap-verbosity-flag]
-version = "0.2.0"
-+version = "0.3"
++version = "2"
[dependencies.exitfailure]
version = "0.5.1"
diff --git a/rust-quicli.spec b/rust-quicli.spec
index 27edc46..eaa3205 100644
--- a/rust-quicli.spec
+++ b/rust-quicli.spec
@@ -1,26 +1,26 @@
-# Generated by rust2rpm 20
+# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate quicli
-Name: rust-%{crate}
+Name: rust-quicli
Version: 0.4.0
Release: %autorelease
Summary: Quickly build cool CLI apps in Rust
-# 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/quicli
Source: %{crates_source}
-# Bump clap-verbosity-flag to 0.3, globwalk to 0.8, remove_dir_all to 0.7
-Patch0: quicli-fix-metadata.diff
-# Backport PR#107 for compatibility with globwalk 0.8
-Patch1: quicli-globwalk.patch
+# Manually created patch for downstream crate metadata changes
+# * bump clap-verbosity-flag dependency from 0.2 to 2.0
+# * bump globwalk dependency from 0.3 to 0.8
+# * bump remove_dir_all dependency from 0.5 to 0.7
+Patch: quicli-fix-metadata.diff
+# * adapt to API changes between globwalk v0.3 and v0.8 (upstream PR #107)
+Patch: quicli-globwalk.patch
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
Quickly build cool CLI apps in Rust.}
@@ -37,9 +37,11 @@ This package contains library source intended for building other
packages which
use the "%{crate}" crate.
%files devel
-%license LICENSE-APACHE LICENSE-MIT
-%doc Changelog.md Readme.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE-APACHE
+%license %{crate_instdir}/LICENSE-MIT
+%doc %{crate_instdir}/Changelog.md
+%doc %{crate_instdir}/Readme.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -51,7 +53,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}+full-throttle-devel
Summary: %{summary}
@@ -63,7 +65,7 @@ This package contains library source intended for building other
packages which
use the "full-throttle" feature of the "%{crate}" crate.
%files -n %{name}+full-throttle-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+globwalk-devel
Summary: %{summary}
@@ -75,7 +77,7 @@ This package contains library source intended for building other
packages which
use the "globwalk" feature of the "%{crate}" crate.
%files -n %{name}+globwalk-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+rayon-devel
Summary: %{summary}
@@ -87,7 +89,7 @@ This package contains library source intended for building other
packages which
use the "rayon" feature of the "%{crate}" crate.
%files -n %{name}+rayon-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+remove_dir_all-devel
Summary: %{summary}
@@ -99,7 +101,7 @@ This package contains library source intended for building other
packages which
use the "remove_dir_all" feature of the "%{crate}" crate.
%files -n %{name}+remove_dir_all-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel
Summary: %{summary}
@@ -111,7 +113,7 @@ This package contains library source intended for building other
packages which
use the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde_derive-devel
Summary: %{summary}
@@ -123,7 +125,7 @@ This package contains library source intended for building other
packages which
use the "serde_derive" feature of the "%{crate}" crate.
%files -n %{name}+serde_derive-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1