The package rpms/rust-bodhi-cli.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-bodhi-cli.git/commit/?id=f0f9f….
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit f0f9f63ba87c15fd60100a15d9225a8abed27019
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Sat Mar 18 14:58:57 2023 +0100
Update to version 2.1.0; Fixes RHBZ#2178310
diff --git a/.gitignore b/.gitignore
index 86b0d3f..2701dac 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,4 @@
/bodhi-cli-1.1.0.crate
/bodhi-cli-2.0.0.crate
/bodhi-cli-2.0.1.crate
+/bodhi-cli-2.1.0.crate
diff --git a/LICENSE.dependencies b/LICENSE.dependencies
deleted file mode 100644
index 5a7fe75..0000000
--- a/LICENSE.dependencies
+++ /dev/null
@@ -1,167 +0,0 @@
-(ASL 2.0 or MIT) and BSD: rust-encoding_rs 0.8.31
-ASL 2.0 or Boost: rust-ryu 1.0.10
-ASL 2.0 or MIT: rust-async-io 1.7.0
-ASL 2.0 or MIT: rust-autocfg 1.1.0
-ASL 2.0 or MIT: rust-cache-padded 1.2.0
-ASL 2.0 or MIT: rust-concurrent-queue 1.2.2
-ASL 2.0 or MIT: rust-const_fn 0.4.9
-ASL 2.0 or MIT: rust-fastrand 1.7.0
-ASL 2.0 or MIT: rust-fnv 1.0.7
-ASL 2.0 or MIT: rust-futures-lite 1.12.0
-ASL 2.0 or MIT: rust-hashbrown 0.11.2
-ASL 2.0 or MIT: rust-indexmap 1.8.2
-ASL 2.0 or MIT: rust-nb-connect 1.2.0
-ASL 2.0 or MIT: rust-parking 2.0.0
-ASL 2.0 or MIT: rust-pin-project-lite 0.2.9
-ASL 2.0 or MIT: rust-polling 2.2.0
-ASL 2.0 or MIT: rust-proc-macro-crate 1.1.3
-ASL 2.0 or MIT: rust-proc-macro-crate0.1 0.1.5
-ASL 2.0 or MIT: rust-structopt 0.3.25
-ASL 2.0 or MIT: rust-structopt-derive 0.4.18
-ASL 2.0 or MIT: rust-waker-fn 1.1.0
-ASL 2.0: rust-openssl 0.10.38
-ASL 2.0: rust-rpassword 5.0.1
-BSD: rust-subtle 2.4.1
-MIT or ASL 2.0 or zlib: rust-tinyvec_macros 0.1.0
-MIT or ASL 2.0: rust-aes0.7 0.7.5
-MIT or ASL 2.0: rust-base64 0.13.0
-MIT or ASL 2.0: rust-bitflags 1.3.2
-MIT or ASL 2.0: rust-block-buffer0.9 0.9.0
-MIT or ASL 2.0: rust-block-modes 0.8.1
-MIT or ASL 2.0: rust-block-padding0.2 0.2.1
-MIT or ASL 2.0: rust-bodhi 2.0.1
-MIT or ASL 2.0: rust-cc 1.0.73
-MIT or ASL 2.0: rust-cfg-if 1.0.0
-MIT or ASL 2.0: rust-chrono 0.4.19
-MIT or ASL 2.0: rust-cipher0.3 0.3.0
-MIT or ASL 2.0: rust-cookie0.15 0.15.1
-MIT or ASL 2.0: rust-cookie_store 0.15.1
-MIT or ASL 2.0: rust-cpufeatures 0.2.2
-MIT or ASL 2.0: rust-crypto-mac 0.11.1
-MIT or ASL 2.0: rust-derivative 2.2.0
-MIT or ASL 2.0: rust-digest0.9 0.9.0
-MIT or ASL 2.0: rust-dirs 4.0.0
-MIT or ASL 2.0: rust-dirs-sys 0.3.7
-MIT or ASL 2.0: rust-enumflags2_0.6 0.6.4
-MIT or ASL 2.0: rust-enumflags2_derive0.6 0.6.4
-MIT or ASL 2.0: rust-fedora 2.0.1
-MIT or ASL 2.0: rust-foreign-types-shared0.1 0.1.1
-MIT or ASL 2.0: rust-foreign-types0.3 0.3.2
-MIT or ASL 2.0: rust-form_urlencoded 1.0.1
-MIT or ASL 2.0: rust-futures 0.3.21
-MIT or ASL 2.0: rust-futures-channel 0.3.21
-MIT or ASL 2.0: rust-futures-core 0.3.21
-MIT or ASL 2.0: rust-futures-executor 0.3.21
-MIT or ASL 2.0: rust-futures-io 0.3.21
-MIT or ASL 2.0: rust-futures-macro 0.3.21
-MIT or ASL 2.0: rust-futures-sink 0.3.21
-MIT or ASL 2.0: rust-futures-task 0.3.21
-MIT or ASL 2.0: rust-futures-util 0.3.21
-MIT or ASL 2.0: rust-getrandom 0.2.6
-MIT or ASL 2.0: rust-heck0.3 0.3.3
-MIT or ASL 2.0: rust-hkdf0.11 0.11.0
-MIT or ASL 2.0: rust-hmac0.11 0.11.0
-MIT or ASL 2.0: rust-http 0.2.7
-MIT or ASL 2.0: rust-httparse 1.7.1
-MIT or ASL 2.0: rust-httpdate 1.0.2
-MIT or ASL 2.0: rust-hyper-tls 0.5.0
-MIT or ASL 2.0: rust-idna 0.2.3
-MIT or ASL 2.0: rust-ipnet 2.5.0
-MIT or ASL 2.0: rust-itoa 1.0.2
-MIT or ASL 2.0: rust-lazy_static 1.4.0
-MIT or ASL 2.0: rust-libc 0.2.126
-MIT or ASL 2.0: rust-log 0.4.17
-MIT or ASL 2.0: rust-mime 0.3.16
-MIT or ASL 2.0: rust-native-tls 0.2.10
-MIT or ASL 2.0: rust-num-bigint0.3 0.3.3
-MIT or ASL 2.0: rust-num-complex0.3 0.3.1
-MIT or ASL 2.0: rust-num-integer 0.1.45
-MIT or ASL 2.0: rust-num-iter 0.1.43
-MIT or ASL 2.0: rust-num-rational0.3 0.3.2
-MIT or ASL 2.0: rust-num-traits 0.2.15
-MIT or ASL 2.0: rust-num0.3 0.3.1
-MIT or ASL 2.0: rust-num_cpus 1.13.1
-MIT or ASL 2.0: rust-once_cell 1.12.0
-MIT or ASL 2.0: rust-opaque-debug 0.3.0
-MIT or ASL 2.0: rust-openssl-probe 0.1.5
-MIT or ASL 2.0: rust-percent-encoding 2.1.0
-MIT or ASL 2.0: rust-pin-utils 0.1.0
-MIT or ASL 2.0: rust-pkg-config 0.3.25
-MIT or ASL 2.0: rust-ppv-lite86 0.2.16
-MIT or ASL 2.0: rust-proc-macro-error 1.0.4
-MIT or ASL 2.0: rust-proc-macro-error-attr 1.0.4
-MIT or ASL 2.0: rust-proc-macro-hack 0.5.19
-MIT or ASL 2.0: rust-proc-macro2 1.0.38
-MIT or ASL 2.0: rust-psl-types 2.0.10
-MIT or ASL 2.0: rust-publicsuffix 2.1.1
-MIT or ASL 2.0: rust-quote 1.0.18
-MIT or ASL 2.0: rust-rand 0.8.5
-MIT or ASL 2.0: rust-rand_chacha 0.3.1
-MIT or ASL 2.0: rust-rand_core 0.6.3
-MIT or ASL 2.0: rust-regex 1.5.6
-MIT or ASL 2.0: rust-regex-syntax 0.6.26
-MIT or ASL 2.0: rust-reqwest 0.11.10
-MIT or ASL 2.0: rust-scoped-tls 1.0.0
-MIT or ASL 2.0: rust-secret-service 2.0.1
-MIT or ASL 2.0: rust-serde 1.0.137
-MIT or ASL 2.0: rust-serde_derive 1.0.137
-MIT or ASL 2.0: rust-serde_json 1.0.81
-MIT or ASL 2.0: rust-serde_repr 0.1.8
-MIT or ASL 2.0: rust-serde_url_params 0.2.1
-MIT or ASL 2.0: rust-serde_urlencoded 0.7.1
-MIT or ASL 2.0: rust-sha2_0.9 0.9.9
-MIT or ASL 2.0: rust-socket2 0.4.4
-MIT or ASL 2.0: rust-standback 0.2.17
-MIT or ASL 2.0: rust-static_assertions 1.1.0
-MIT or ASL 2.0: rust-syn 1.0.93
-MIT or ASL 2.0: rust-term_size 0.3.2
-MIT or ASL 2.0: rust-thiserror 1.0.31
-MIT or ASL 2.0: rust-thiserror-impl 1.0.31
-MIT or ASL 2.0: rust-time-macros-impl 0.1.2
-MIT or ASL 2.0: rust-time-macros0.1 0.1.1
-MIT or ASL 2.0: rust-time0.1 0.1.44
-MIT or ASL 2.0: rust-time0.2 0.2.27
-MIT or ASL 2.0: rust-toml 0.5.9
-MIT or ASL 2.0: rust-typenum 1.15.0
-MIT or ASL 2.0: rust-unicode-bidi 0.3.8
-MIT or ASL 2.0: rust-unicode-normalization 0.1.19
-MIT or ASL 2.0: rust-unicode-segmentation 1.9.0
-MIT or ASL 2.0: rust-unicode-width 0.1.9
-MIT or ASL 2.0: rust-unicode-xid 0.2.3
-MIT or ASL 2.0: rust-url 2.2.2
-MIT or ASL 2.0: rust-vec_map 0.8.2
-MIT or ASL 2.0: rust-version_check 0.9.4
-MIT: rust-ansi_term 0.12.1
-MIT: rust-atty 0.2.14
-MIT: rust-bytes 1.1.0
-MIT: rust-clap2 2.34.0
-MIT: rust-generic-array 0.14.5
-MIT: rust-h2 0.3.13
-MIT: rust-http-body 0.4.5
-MIT: rust-hyper 0.14.19
-MIT: rust-matches 0.1.9
-MIT: rust-memoffset 0.6.5
-MIT: rust-mio 0.8.3
-MIT: rust-nix0.20 0.20.2
-MIT: rust-openssl-sys 0.9.72
-MIT: rust-slab 0.4.6
-MIT: rust-strsim 0.10.0
-MIT: rust-textwrap0.11 0.11.0
-MIT: rust-tokio 1.18.2
-MIT: rust-tokio-macros 1.7.0
-MIT: rust-tokio-native-tls 0.3.0
-MIT: rust-tokio-util 0.7.2
-MIT: rust-tower-service 0.3.1
-MIT: rust-tracing 0.1.34
-MIT: rust-tracing-attributes 0.1.21
-MIT: rust-tracing-core 0.1.26
-MIT: rust-try-lock 0.2.3
-MIT: rust-want 0.3.0
-MIT: rust-zbus 1.9.2
-MIT: rust-zbus_macros 1.9.2
-MIT: rust-zvariant 2.10.0
-MIT: rust-zvariant_derive 2.10.0
-Unlicense or MIT: rust-aho-corasick 0.7.18
-Unlicense or MIT: rust-byteorder 1.4.3
-Unlicense or MIT: rust-memchr 2.5.0
-zlib or ASL 2.0 or MIT: rust-tinyvec 1.6.0
diff --git a/rust-bodhi-cli.spec b/rust-bodhi-cli.spec
index 7f88a18..543559a 100644
--- a/rust-bodhi-cli.spec
+++ b/rust-bodhi-cli.spec
@@ -1,24 +1,21 @@
-# Generated by rust2rpm 21
+# Generated by rust2rpm 24
%bcond_without check
-%global rustflags_debuginfo 1
-
%global crate bodhi-cli
-Name: rust-%{crate}
-Version: 2.0.1
+# reduce debuginfo verbosity to work around rustc OOM problems on 32-bit arches
+%global rustflags_debuginfo 1
+
+Name: rust-bodhi-cli
+Version: 2.1.0
Release: %autorelease
Summary: Bodhi CLI client based on bodhi-rs
-# 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/bodhi-cli
-Source0: %{crates_source}
-Source1: LICENSE.dependencies
-
-ExclusiveArch: %{rust_arches}
+Source: %{crates_source}
-BuildRequires: rust-packaging >= 21
+BuildRequires: rust-packaging >= 23
%global _description %{expand:
Bodhi CLI client based on bodhi-rs.}
@@ -27,17 +24,19 @@ Bodhi CLI client based on bodhi-rs.}
%package -n %{crate}
Summary: %{summary}
-# (ASL 2.0 or MIT) and BSD
-# ASL 2.0
-# ASL 2.0 or Boost
-# ASL 2.0 or MIT
-# BSD
+# (Apache-2.0 OR MIT) AND BSD-3-Clause
+# (MIT OR Apache-2.0) AND Unicode-DFS-2016
+# Apache-2.0
+# Apache-2.0 OR BSL-1.0
+# Apache-2.0 OR MIT
+# Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
+# BSD-3-Clause
# MIT
-# MIT or ASL 2.0
-# MIT or ASL 2.0 or zlib
-# Unlicense or MIT
-# zlib or ASL 2.0 or MIT
-License: ASL 2.0 and BSD and MIT
+# MIT OR Apache-2.0
+# MIT OR Apache-2.0 OR Zlib
+# Unlicense OR MIT
+# Zlib OR Apache-2.0 OR MIT
+License: Apache-2.0 AND BSD-3-Clause AND MIT AND Unicode-DFS-2016
# LICENSE.dependencies contains a full license breakdown
%description -n %{crate} %{_description}
@@ -49,13 +48,12 @@ License: ASL 2.0 and BSD and MIT
%doc NEWS.md
%doc README.md
%{_bindir}/bodhi-cli
-%dir %{_datadir}/bash-completion
-%dir %{_datadir}/bash-completion/completions
-%{_datadir}/bash-completion/completions/%{crate}.bash
+%{bash_completions_dir}/bodhi-cli.bash
+%{fish_completions_dir}/bodhi-cli.fish
+%{zsh_completions_dir}/_bodhi-cli
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
-cp %{SOURCE1} .
%cargo_prep
%generate_buildrequires
@@ -63,11 +61,19 @@ cp %{SOURCE1} .
%build
%cargo_build
+# write license summary and breakdown
+%cargo_license_summary
+%{cargo_license} > LICENSE.dependencies
%install
%cargo_install
-install -D -p -m 0644 -t %{buildroot}%{_datadir}/bash-completion/completions \
- target/release/build/%{crate}-*/out/%{crate}.bash
+# install shell completions
+install -Dpm 0644 target/release/build/%{crate}-*/out/bodhi-cli.bash \
+ %{buildroot}/%{bash_completions_dir}/bodhi-cli.bash
+install -Dpm 0644 target/release/build/%{crate}-*/out/bodhi-cli.fish \
+ %{buildroot}/%{fish_completions_dir}/bodhi-cli.fish
+install -Dpm 0644 target/release/build/%{crate}-*/out/_bodhi-cli \
+ %{buildroot}/%{zsh_completions_dir}/_bodhi-cli
%if %{with check}
%check
diff --git a/sources b/sources
index 84387ae..016cac1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (bodhi-cli-2.0.1.crate) = 977321f6bb8c7b25aa2b8082f7db11af35145a97a48c9d68fa83527642f4d88e2d640bb8596e46e2acb4725749ade97a50ddf2d138177214c2054d0d13696b90
+SHA512 (bodhi-cli-2.1.0.crate) = e8f3040ff5bbf661e1232eb1684807fd500c0954053f689b12834b56c29a3cf5ba66231aa020ce557311bf92f062c211b23a1a25b4ff558f6e3e5e41b9b35ff9
commit 56edb7a3d0b4d71d75cde3ab75bf4606c7fa4767
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Sat Feb 4 21:18:33 2023 +0100
Rebuild for fixed frame pointer compiler flags in Rust RPM macros
commit 3caf4fb06220b2326a343b42d763e1f59f03f486
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jan 20 21:48:57 2023 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
commit ca93b58e7a1d98dee75b375e693d33786846d971
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Sat Jul 23 03:01:12 2022 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
The package rpms/rust-bodhi-cli.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-bodhi-cli.git/commit/?id=f0f9f….
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit f0f9f63ba87c15fd60100a15d9225a8abed27019
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Sat Mar 18 14:58:57 2023 +0100
Update to version 2.1.0; Fixes RHBZ#2178310
diff --git a/.gitignore b/.gitignore
index 86b0d3f..2701dac 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,4 @@
/bodhi-cli-1.1.0.crate
/bodhi-cli-2.0.0.crate
/bodhi-cli-2.0.1.crate
+/bodhi-cli-2.1.0.crate
diff --git a/LICENSE.dependencies b/LICENSE.dependencies
deleted file mode 100644
index 5a7fe75..0000000
--- a/LICENSE.dependencies
+++ /dev/null
@@ -1,167 +0,0 @@
-(ASL 2.0 or MIT) and BSD: rust-encoding_rs 0.8.31
-ASL 2.0 or Boost: rust-ryu 1.0.10
-ASL 2.0 or MIT: rust-async-io 1.7.0
-ASL 2.0 or MIT: rust-autocfg 1.1.0
-ASL 2.0 or MIT: rust-cache-padded 1.2.0
-ASL 2.0 or MIT: rust-concurrent-queue 1.2.2
-ASL 2.0 or MIT: rust-const_fn 0.4.9
-ASL 2.0 or MIT: rust-fastrand 1.7.0
-ASL 2.0 or MIT: rust-fnv 1.0.7
-ASL 2.0 or MIT: rust-futures-lite 1.12.0
-ASL 2.0 or MIT: rust-hashbrown 0.11.2
-ASL 2.0 or MIT: rust-indexmap 1.8.2
-ASL 2.0 or MIT: rust-nb-connect 1.2.0
-ASL 2.0 or MIT: rust-parking 2.0.0
-ASL 2.0 or MIT: rust-pin-project-lite 0.2.9
-ASL 2.0 or MIT: rust-polling 2.2.0
-ASL 2.0 or MIT: rust-proc-macro-crate 1.1.3
-ASL 2.0 or MIT: rust-proc-macro-crate0.1 0.1.5
-ASL 2.0 or MIT: rust-structopt 0.3.25
-ASL 2.0 or MIT: rust-structopt-derive 0.4.18
-ASL 2.0 or MIT: rust-waker-fn 1.1.0
-ASL 2.0: rust-openssl 0.10.38
-ASL 2.0: rust-rpassword 5.0.1
-BSD: rust-subtle 2.4.1
-MIT or ASL 2.0 or zlib: rust-tinyvec_macros 0.1.0
-MIT or ASL 2.0: rust-aes0.7 0.7.5
-MIT or ASL 2.0: rust-base64 0.13.0
-MIT or ASL 2.0: rust-bitflags 1.3.2
-MIT or ASL 2.0: rust-block-buffer0.9 0.9.0
-MIT or ASL 2.0: rust-block-modes 0.8.1
-MIT or ASL 2.0: rust-block-padding0.2 0.2.1
-MIT or ASL 2.0: rust-bodhi 2.0.1
-MIT or ASL 2.0: rust-cc 1.0.73
-MIT or ASL 2.0: rust-cfg-if 1.0.0
-MIT or ASL 2.0: rust-chrono 0.4.19
-MIT or ASL 2.0: rust-cipher0.3 0.3.0
-MIT or ASL 2.0: rust-cookie0.15 0.15.1
-MIT or ASL 2.0: rust-cookie_store 0.15.1
-MIT or ASL 2.0: rust-cpufeatures 0.2.2
-MIT or ASL 2.0: rust-crypto-mac 0.11.1
-MIT or ASL 2.0: rust-derivative 2.2.0
-MIT or ASL 2.0: rust-digest0.9 0.9.0
-MIT or ASL 2.0: rust-dirs 4.0.0
-MIT or ASL 2.0: rust-dirs-sys 0.3.7
-MIT or ASL 2.0: rust-enumflags2_0.6 0.6.4
-MIT or ASL 2.0: rust-enumflags2_derive0.6 0.6.4
-MIT or ASL 2.0: rust-fedora 2.0.1
-MIT or ASL 2.0: rust-foreign-types-shared0.1 0.1.1
-MIT or ASL 2.0: rust-foreign-types0.3 0.3.2
-MIT or ASL 2.0: rust-form_urlencoded 1.0.1
-MIT or ASL 2.0: rust-futures 0.3.21
-MIT or ASL 2.0: rust-futures-channel 0.3.21
-MIT or ASL 2.0: rust-futures-core 0.3.21
-MIT or ASL 2.0: rust-futures-executor 0.3.21
-MIT or ASL 2.0: rust-futures-io 0.3.21
-MIT or ASL 2.0: rust-futures-macro 0.3.21
-MIT or ASL 2.0: rust-futures-sink 0.3.21
-MIT or ASL 2.0: rust-futures-task 0.3.21
-MIT or ASL 2.0: rust-futures-util 0.3.21
-MIT or ASL 2.0: rust-getrandom 0.2.6
-MIT or ASL 2.0: rust-heck0.3 0.3.3
-MIT or ASL 2.0: rust-hkdf0.11 0.11.0
-MIT or ASL 2.0: rust-hmac0.11 0.11.0
-MIT or ASL 2.0: rust-http 0.2.7
-MIT or ASL 2.0: rust-httparse 1.7.1
-MIT or ASL 2.0: rust-httpdate 1.0.2
-MIT or ASL 2.0: rust-hyper-tls 0.5.0
-MIT or ASL 2.0: rust-idna 0.2.3
-MIT or ASL 2.0: rust-ipnet 2.5.0
-MIT or ASL 2.0: rust-itoa 1.0.2
-MIT or ASL 2.0: rust-lazy_static 1.4.0
-MIT or ASL 2.0: rust-libc 0.2.126
-MIT or ASL 2.0: rust-log 0.4.17
-MIT or ASL 2.0: rust-mime 0.3.16
-MIT or ASL 2.0: rust-native-tls 0.2.10
-MIT or ASL 2.0: rust-num-bigint0.3 0.3.3
-MIT or ASL 2.0: rust-num-complex0.3 0.3.1
-MIT or ASL 2.0: rust-num-integer 0.1.45
-MIT or ASL 2.0: rust-num-iter 0.1.43
-MIT or ASL 2.0: rust-num-rational0.3 0.3.2
-MIT or ASL 2.0: rust-num-traits 0.2.15
-MIT or ASL 2.0: rust-num0.3 0.3.1
-MIT or ASL 2.0: rust-num_cpus 1.13.1
-MIT or ASL 2.0: rust-once_cell 1.12.0
-MIT or ASL 2.0: rust-opaque-debug 0.3.0
-MIT or ASL 2.0: rust-openssl-probe 0.1.5
-MIT or ASL 2.0: rust-percent-encoding 2.1.0
-MIT or ASL 2.0: rust-pin-utils 0.1.0
-MIT or ASL 2.0: rust-pkg-config 0.3.25
-MIT or ASL 2.0: rust-ppv-lite86 0.2.16
-MIT or ASL 2.0: rust-proc-macro-error 1.0.4
-MIT or ASL 2.0: rust-proc-macro-error-attr 1.0.4
-MIT or ASL 2.0: rust-proc-macro-hack 0.5.19
-MIT or ASL 2.0: rust-proc-macro2 1.0.38
-MIT or ASL 2.0: rust-psl-types 2.0.10
-MIT or ASL 2.0: rust-publicsuffix 2.1.1
-MIT or ASL 2.0: rust-quote 1.0.18
-MIT or ASL 2.0: rust-rand 0.8.5
-MIT or ASL 2.0: rust-rand_chacha 0.3.1
-MIT or ASL 2.0: rust-rand_core 0.6.3
-MIT or ASL 2.0: rust-regex 1.5.6
-MIT or ASL 2.0: rust-regex-syntax 0.6.26
-MIT or ASL 2.0: rust-reqwest 0.11.10
-MIT or ASL 2.0: rust-scoped-tls 1.0.0
-MIT or ASL 2.0: rust-secret-service 2.0.1
-MIT or ASL 2.0: rust-serde 1.0.137
-MIT or ASL 2.0: rust-serde_derive 1.0.137
-MIT or ASL 2.0: rust-serde_json 1.0.81
-MIT or ASL 2.0: rust-serde_repr 0.1.8
-MIT or ASL 2.0: rust-serde_url_params 0.2.1
-MIT or ASL 2.0: rust-serde_urlencoded 0.7.1
-MIT or ASL 2.0: rust-sha2_0.9 0.9.9
-MIT or ASL 2.0: rust-socket2 0.4.4
-MIT or ASL 2.0: rust-standback 0.2.17
-MIT or ASL 2.0: rust-static_assertions 1.1.0
-MIT or ASL 2.0: rust-syn 1.0.93
-MIT or ASL 2.0: rust-term_size 0.3.2
-MIT or ASL 2.0: rust-thiserror 1.0.31
-MIT or ASL 2.0: rust-thiserror-impl 1.0.31
-MIT or ASL 2.0: rust-time-macros-impl 0.1.2
-MIT or ASL 2.0: rust-time-macros0.1 0.1.1
-MIT or ASL 2.0: rust-time0.1 0.1.44
-MIT or ASL 2.0: rust-time0.2 0.2.27
-MIT or ASL 2.0: rust-toml 0.5.9
-MIT or ASL 2.0: rust-typenum 1.15.0
-MIT or ASL 2.0: rust-unicode-bidi 0.3.8
-MIT or ASL 2.0: rust-unicode-normalization 0.1.19
-MIT or ASL 2.0: rust-unicode-segmentation 1.9.0
-MIT or ASL 2.0: rust-unicode-width 0.1.9
-MIT or ASL 2.0: rust-unicode-xid 0.2.3
-MIT or ASL 2.0: rust-url 2.2.2
-MIT or ASL 2.0: rust-vec_map 0.8.2
-MIT or ASL 2.0: rust-version_check 0.9.4
-MIT: rust-ansi_term 0.12.1
-MIT: rust-atty 0.2.14
-MIT: rust-bytes 1.1.0
-MIT: rust-clap2 2.34.0
-MIT: rust-generic-array 0.14.5
-MIT: rust-h2 0.3.13
-MIT: rust-http-body 0.4.5
-MIT: rust-hyper 0.14.19
-MIT: rust-matches 0.1.9
-MIT: rust-memoffset 0.6.5
-MIT: rust-mio 0.8.3
-MIT: rust-nix0.20 0.20.2
-MIT: rust-openssl-sys 0.9.72
-MIT: rust-slab 0.4.6
-MIT: rust-strsim 0.10.0
-MIT: rust-textwrap0.11 0.11.0
-MIT: rust-tokio 1.18.2
-MIT: rust-tokio-macros 1.7.0
-MIT: rust-tokio-native-tls 0.3.0
-MIT: rust-tokio-util 0.7.2
-MIT: rust-tower-service 0.3.1
-MIT: rust-tracing 0.1.34
-MIT: rust-tracing-attributes 0.1.21
-MIT: rust-tracing-core 0.1.26
-MIT: rust-try-lock 0.2.3
-MIT: rust-want 0.3.0
-MIT: rust-zbus 1.9.2
-MIT: rust-zbus_macros 1.9.2
-MIT: rust-zvariant 2.10.0
-MIT: rust-zvariant_derive 2.10.0
-Unlicense or MIT: rust-aho-corasick 0.7.18
-Unlicense or MIT: rust-byteorder 1.4.3
-Unlicense or MIT: rust-memchr 2.5.0
-zlib or ASL 2.0 or MIT: rust-tinyvec 1.6.0
diff --git a/rust-bodhi-cli.spec b/rust-bodhi-cli.spec
index 7f88a18..543559a 100644
--- a/rust-bodhi-cli.spec
+++ b/rust-bodhi-cli.spec
@@ -1,24 +1,21 @@
-# Generated by rust2rpm 21
+# Generated by rust2rpm 24
%bcond_without check
-%global rustflags_debuginfo 1
-
%global crate bodhi-cli
-Name: rust-%{crate}
-Version: 2.0.1
+# reduce debuginfo verbosity to work around rustc OOM problems on 32-bit arches
+%global rustflags_debuginfo 1
+
+Name: rust-bodhi-cli
+Version: 2.1.0
Release: %autorelease
Summary: Bodhi CLI client based on bodhi-rs
-# 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/bodhi-cli
-Source0: %{crates_source}
-Source1: LICENSE.dependencies
-
-ExclusiveArch: %{rust_arches}
+Source: %{crates_source}
-BuildRequires: rust-packaging >= 21
+BuildRequires: rust-packaging >= 23
%global _description %{expand:
Bodhi CLI client based on bodhi-rs.}
@@ -27,17 +24,19 @@ Bodhi CLI client based on bodhi-rs.}
%package -n %{crate}
Summary: %{summary}
-# (ASL 2.0 or MIT) and BSD
-# ASL 2.0
-# ASL 2.0 or Boost
-# ASL 2.0 or MIT
-# BSD
+# (Apache-2.0 OR MIT) AND BSD-3-Clause
+# (MIT OR Apache-2.0) AND Unicode-DFS-2016
+# Apache-2.0
+# Apache-2.0 OR BSL-1.0
+# Apache-2.0 OR MIT
+# Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
+# BSD-3-Clause
# MIT
-# MIT or ASL 2.0
-# MIT or ASL 2.0 or zlib
-# Unlicense or MIT
-# zlib or ASL 2.0 or MIT
-License: ASL 2.0 and BSD and MIT
+# MIT OR Apache-2.0
+# MIT OR Apache-2.0 OR Zlib
+# Unlicense OR MIT
+# Zlib OR Apache-2.0 OR MIT
+License: Apache-2.0 AND BSD-3-Clause AND MIT AND Unicode-DFS-2016
# LICENSE.dependencies contains a full license breakdown
%description -n %{crate} %{_description}
@@ -49,13 +48,12 @@ License: ASL 2.0 and BSD and MIT
%doc NEWS.md
%doc README.md
%{_bindir}/bodhi-cli
-%dir %{_datadir}/bash-completion
-%dir %{_datadir}/bash-completion/completions
-%{_datadir}/bash-completion/completions/%{crate}.bash
+%{bash_completions_dir}/bodhi-cli.bash
+%{fish_completions_dir}/bodhi-cli.fish
+%{zsh_completions_dir}/_bodhi-cli
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
-cp %{SOURCE1} .
%cargo_prep
%generate_buildrequires
@@ -63,11 +61,19 @@ cp %{SOURCE1} .
%build
%cargo_build
+# write license summary and breakdown
+%cargo_license_summary
+%{cargo_license} > LICENSE.dependencies
%install
%cargo_install
-install -D -p -m 0644 -t %{buildroot}%{_datadir}/bash-completion/completions \
- target/release/build/%{crate}-*/out/%{crate}.bash
+# install shell completions
+install -Dpm 0644 target/release/build/%{crate}-*/out/bodhi-cli.bash \
+ %{buildroot}/%{bash_completions_dir}/bodhi-cli.bash
+install -Dpm 0644 target/release/build/%{crate}-*/out/bodhi-cli.fish \
+ %{buildroot}/%{fish_completions_dir}/bodhi-cli.fish
+install -Dpm 0644 target/release/build/%{crate}-*/out/_bodhi-cli \
+ %{buildroot}/%{zsh_completions_dir}/_bodhi-cli
%if %{with check}
%check
diff --git a/sources b/sources
index 84387ae..016cac1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (bodhi-cli-2.0.1.crate) = 977321f6bb8c7b25aa2b8082f7db11af35145a97a48c9d68fa83527642f4d88e2d640bb8596e46e2acb4725749ade97a50ddf2d138177214c2054d0d13696b90
+SHA512 (bodhi-cli-2.1.0.crate) = e8f3040ff5bbf661e1232eb1684807fd500c0954053f689b12834b56c29a3cf5ba66231aa020ce557311bf92f062c211b23a1a25b4ff558f6e3e5e41b9b35ff9
commit 56edb7a3d0b4d71d75cde3ab75bf4606c7fa4767
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Sat Feb 4 21:18:33 2023 +0100
Rebuild for fixed frame pointer compiler flags in Rust RPM macros
commit 3caf4fb06220b2326a343b42d763e1f59f03f486
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jan 20 21:48:57 2023 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
The package rpms/rust-bodhi-cli.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-bodhi-cli.git/commit/?id=f0f9f….
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit f0f9f63ba87c15fd60100a15d9225a8abed27019
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Sat Mar 18 14:58:57 2023 +0100
Update to version 2.1.0; Fixes RHBZ#2178310
diff --git a/.gitignore b/.gitignore
index 86b0d3f..2701dac 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,4 @@
/bodhi-cli-1.1.0.crate
/bodhi-cli-2.0.0.crate
/bodhi-cli-2.0.1.crate
+/bodhi-cli-2.1.0.crate
diff --git a/LICENSE.dependencies b/LICENSE.dependencies
deleted file mode 100644
index 5a7fe75..0000000
--- a/LICENSE.dependencies
+++ /dev/null
@@ -1,167 +0,0 @@
-(ASL 2.0 or MIT) and BSD: rust-encoding_rs 0.8.31
-ASL 2.0 or Boost: rust-ryu 1.0.10
-ASL 2.0 or MIT: rust-async-io 1.7.0
-ASL 2.0 or MIT: rust-autocfg 1.1.0
-ASL 2.0 or MIT: rust-cache-padded 1.2.0
-ASL 2.0 or MIT: rust-concurrent-queue 1.2.2
-ASL 2.0 or MIT: rust-const_fn 0.4.9
-ASL 2.0 or MIT: rust-fastrand 1.7.0
-ASL 2.0 or MIT: rust-fnv 1.0.7
-ASL 2.0 or MIT: rust-futures-lite 1.12.0
-ASL 2.0 or MIT: rust-hashbrown 0.11.2
-ASL 2.0 or MIT: rust-indexmap 1.8.2
-ASL 2.0 or MIT: rust-nb-connect 1.2.0
-ASL 2.0 or MIT: rust-parking 2.0.0
-ASL 2.0 or MIT: rust-pin-project-lite 0.2.9
-ASL 2.0 or MIT: rust-polling 2.2.0
-ASL 2.0 or MIT: rust-proc-macro-crate 1.1.3
-ASL 2.0 or MIT: rust-proc-macro-crate0.1 0.1.5
-ASL 2.0 or MIT: rust-structopt 0.3.25
-ASL 2.0 or MIT: rust-structopt-derive 0.4.18
-ASL 2.0 or MIT: rust-waker-fn 1.1.0
-ASL 2.0: rust-openssl 0.10.38
-ASL 2.0: rust-rpassword 5.0.1
-BSD: rust-subtle 2.4.1
-MIT or ASL 2.0 or zlib: rust-tinyvec_macros 0.1.0
-MIT or ASL 2.0: rust-aes0.7 0.7.5
-MIT or ASL 2.0: rust-base64 0.13.0
-MIT or ASL 2.0: rust-bitflags 1.3.2
-MIT or ASL 2.0: rust-block-buffer0.9 0.9.0
-MIT or ASL 2.0: rust-block-modes 0.8.1
-MIT or ASL 2.0: rust-block-padding0.2 0.2.1
-MIT or ASL 2.0: rust-bodhi 2.0.1
-MIT or ASL 2.0: rust-cc 1.0.73
-MIT or ASL 2.0: rust-cfg-if 1.0.0
-MIT or ASL 2.0: rust-chrono 0.4.19
-MIT or ASL 2.0: rust-cipher0.3 0.3.0
-MIT or ASL 2.0: rust-cookie0.15 0.15.1
-MIT or ASL 2.0: rust-cookie_store 0.15.1
-MIT or ASL 2.0: rust-cpufeatures 0.2.2
-MIT or ASL 2.0: rust-crypto-mac 0.11.1
-MIT or ASL 2.0: rust-derivative 2.2.0
-MIT or ASL 2.0: rust-digest0.9 0.9.0
-MIT or ASL 2.0: rust-dirs 4.0.0
-MIT or ASL 2.0: rust-dirs-sys 0.3.7
-MIT or ASL 2.0: rust-enumflags2_0.6 0.6.4
-MIT or ASL 2.0: rust-enumflags2_derive0.6 0.6.4
-MIT or ASL 2.0: rust-fedora 2.0.1
-MIT or ASL 2.0: rust-foreign-types-shared0.1 0.1.1
-MIT or ASL 2.0: rust-foreign-types0.3 0.3.2
-MIT or ASL 2.0: rust-form_urlencoded 1.0.1
-MIT or ASL 2.0: rust-futures 0.3.21
-MIT or ASL 2.0: rust-futures-channel 0.3.21
-MIT or ASL 2.0: rust-futures-core 0.3.21
-MIT or ASL 2.0: rust-futures-executor 0.3.21
-MIT or ASL 2.0: rust-futures-io 0.3.21
-MIT or ASL 2.0: rust-futures-macro 0.3.21
-MIT or ASL 2.0: rust-futures-sink 0.3.21
-MIT or ASL 2.0: rust-futures-task 0.3.21
-MIT or ASL 2.0: rust-futures-util 0.3.21
-MIT or ASL 2.0: rust-getrandom 0.2.6
-MIT or ASL 2.0: rust-heck0.3 0.3.3
-MIT or ASL 2.0: rust-hkdf0.11 0.11.0
-MIT or ASL 2.0: rust-hmac0.11 0.11.0
-MIT or ASL 2.0: rust-http 0.2.7
-MIT or ASL 2.0: rust-httparse 1.7.1
-MIT or ASL 2.0: rust-httpdate 1.0.2
-MIT or ASL 2.0: rust-hyper-tls 0.5.0
-MIT or ASL 2.0: rust-idna 0.2.3
-MIT or ASL 2.0: rust-ipnet 2.5.0
-MIT or ASL 2.0: rust-itoa 1.0.2
-MIT or ASL 2.0: rust-lazy_static 1.4.0
-MIT or ASL 2.0: rust-libc 0.2.126
-MIT or ASL 2.0: rust-log 0.4.17
-MIT or ASL 2.0: rust-mime 0.3.16
-MIT or ASL 2.0: rust-native-tls 0.2.10
-MIT or ASL 2.0: rust-num-bigint0.3 0.3.3
-MIT or ASL 2.0: rust-num-complex0.3 0.3.1
-MIT or ASL 2.0: rust-num-integer 0.1.45
-MIT or ASL 2.0: rust-num-iter 0.1.43
-MIT or ASL 2.0: rust-num-rational0.3 0.3.2
-MIT or ASL 2.0: rust-num-traits 0.2.15
-MIT or ASL 2.0: rust-num0.3 0.3.1
-MIT or ASL 2.0: rust-num_cpus 1.13.1
-MIT or ASL 2.0: rust-once_cell 1.12.0
-MIT or ASL 2.0: rust-opaque-debug 0.3.0
-MIT or ASL 2.0: rust-openssl-probe 0.1.5
-MIT or ASL 2.0: rust-percent-encoding 2.1.0
-MIT or ASL 2.0: rust-pin-utils 0.1.0
-MIT or ASL 2.0: rust-pkg-config 0.3.25
-MIT or ASL 2.0: rust-ppv-lite86 0.2.16
-MIT or ASL 2.0: rust-proc-macro-error 1.0.4
-MIT or ASL 2.0: rust-proc-macro-error-attr 1.0.4
-MIT or ASL 2.0: rust-proc-macro-hack 0.5.19
-MIT or ASL 2.0: rust-proc-macro2 1.0.38
-MIT or ASL 2.0: rust-psl-types 2.0.10
-MIT or ASL 2.0: rust-publicsuffix 2.1.1
-MIT or ASL 2.0: rust-quote 1.0.18
-MIT or ASL 2.0: rust-rand 0.8.5
-MIT or ASL 2.0: rust-rand_chacha 0.3.1
-MIT or ASL 2.0: rust-rand_core 0.6.3
-MIT or ASL 2.0: rust-regex 1.5.6
-MIT or ASL 2.0: rust-regex-syntax 0.6.26
-MIT or ASL 2.0: rust-reqwest 0.11.10
-MIT or ASL 2.0: rust-scoped-tls 1.0.0
-MIT or ASL 2.0: rust-secret-service 2.0.1
-MIT or ASL 2.0: rust-serde 1.0.137
-MIT or ASL 2.0: rust-serde_derive 1.0.137
-MIT or ASL 2.0: rust-serde_json 1.0.81
-MIT or ASL 2.0: rust-serde_repr 0.1.8
-MIT or ASL 2.0: rust-serde_url_params 0.2.1
-MIT or ASL 2.0: rust-serde_urlencoded 0.7.1
-MIT or ASL 2.0: rust-sha2_0.9 0.9.9
-MIT or ASL 2.0: rust-socket2 0.4.4
-MIT or ASL 2.0: rust-standback 0.2.17
-MIT or ASL 2.0: rust-static_assertions 1.1.0
-MIT or ASL 2.0: rust-syn 1.0.93
-MIT or ASL 2.0: rust-term_size 0.3.2
-MIT or ASL 2.0: rust-thiserror 1.0.31
-MIT or ASL 2.0: rust-thiserror-impl 1.0.31
-MIT or ASL 2.0: rust-time-macros-impl 0.1.2
-MIT or ASL 2.0: rust-time-macros0.1 0.1.1
-MIT or ASL 2.0: rust-time0.1 0.1.44
-MIT or ASL 2.0: rust-time0.2 0.2.27
-MIT or ASL 2.0: rust-toml 0.5.9
-MIT or ASL 2.0: rust-typenum 1.15.0
-MIT or ASL 2.0: rust-unicode-bidi 0.3.8
-MIT or ASL 2.0: rust-unicode-normalization 0.1.19
-MIT or ASL 2.0: rust-unicode-segmentation 1.9.0
-MIT or ASL 2.0: rust-unicode-width 0.1.9
-MIT or ASL 2.0: rust-unicode-xid 0.2.3
-MIT or ASL 2.0: rust-url 2.2.2
-MIT or ASL 2.0: rust-vec_map 0.8.2
-MIT or ASL 2.0: rust-version_check 0.9.4
-MIT: rust-ansi_term 0.12.1
-MIT: rust-atty 0.2.14
-MIT: rust-bytes 1.1.0
-MIT: rust-clap2 2.34.0
-MIT: rust-generic-array 0.14.5
-MIT: rust-h2 0.3.13
-MIT: rust-http-body 0.4.5
-MIT: rust-hyper 0.14.19
-MIT: rust-matches 0.1.9
-MIT: rust-memoffset 0.6.5
-MIT: rust-mio 0.8.3
-MIT: rust-nix0.20 0.20.2
-MIT: rust-openssl-sys 0.9.72
-MIT: rust-slab 0.4.6
-MIT: rust-strsim 0.10.0
-MIT: rust-textwrap0.11 0.11.0
-MIT: rust-tokio 1.18.2
-MIT: rust-tokio-macros 1.7.0
-MIT: rust-tokio-native-tls 0.3.0
-MIT: rust-tokio-util 0.7.2
-MIT: rust-tower-service 0.3.1
-MIT: rust-tracing 0.1.34
-MIT: rust-tracing-attributes 0.1.21
-MIT: rust-tracing-core 0.1.26
-MIT: rust-try-lock 0.2.3
-MIT: rust-want 0.3.0
-MIT: rust-zbus 1.9.2
-MIT: rust-zbus_macros 1.9.2
-MIT: rust-zvariant 2.10.0
-MIT: rust-zvariant_derive 2.10.0
-Unlicense or MIT: rust-aho-corasick 0.7.18
-Unlicense or MIT: rust-byteorder 1.4.3
-Unlicense or MIT: rust-memchr 2.5.0
-zlib or ASL 2.0 or MIT: rust-tinyvec 1.6.0
diff --git a/rust-bodhi-cli.spec b/rust-bodhi-cli.spec
index 7f88a18..543559a 100644
--- a/rust-bodhi-cli.spec
+++ b/rust-bodhi-cli.spec
@@ -1,24 +1,21 @@
-# Generated by rust2rpm 21
+# Generated by rust2rpm 24
%bcond_without check
-%global rustflags_debuginfo 1
-
%global crate bodhi-cli
-Name: rust-%{crate}
-Version: 2.0.1
+# reduce debuginfo verbosity to work around rustc OOM problems on 32-bit arches
+%global rustflags_debuginfo 1
+
+Name: rust-bodhi-cli
+Version: 2.1.0
Release: %autorelease
Summary: Bodhi CLI client based on bodhi-rs
-# 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/bodhi-cli
-Source0: %{crates_source}
-Source1: LICENSE.dependencies
-
-ExclusiveArch: %{rust_arches}
+Source: %{crates_source}
-BuildRequires: rust-packaging >= 21
+BuildRequires: rust-packaging >= 23
%global _description %{expand:
Bodhi CLI client based on bodhi-rs.}
@@ -27,17 +24,19 @@ Bodhi CLI client based on bodhi-rs.}
%package -n %{crate}
Summary: %{summary}
-# (ASL 2.0 or MIT) and BSD
-# ASL 2.0
-# ASL 2.0 or Boost
-# ASL 2.0 or MIT
-# BSD
+# (Apache-2.0 OR MIT) AND BSD-3-Clause
+# (MIT OR Apache-2.0) AND Unicode-DFS-2016
+# Apache-2.0
+# Apache-2.0 OR BSL-1.0
+# Apache-2.0 OR MIT
+# Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
+# BSD-3-Clause
# MIT
-# MIT or ASL 2.0
-# MIT or ASL 2.0 or zlib
-# Unlicense or MIT
-# zlib or ASL 2.0 or MIT
-License: ASL 2.0 and BSD and MIT
+# MIT OR Apache-2.0
+# MIT OR Apache-2.0 OR Zlib
+# Unlicense OR MIT
+# Zlib OR Apache-2.0 OR MIT
+License: Apache-2.0 AND BSD-3-Clause AND MIT AND Unicode-DFS-2016
# LICENSE.dependencies contains a full license breakdown
%description -n %{crate} %{_description}
@@ -49,13 +48,12 @@ License: ASL 2.0 and BSD and MIT
%doc NEWS.md
%doc README.md
%{_bindir}/bodhi-cli
-%dir %{_datadir}/bash-completion
-%dir %{_datadir}/bash-completion/completions
-%{_datadir}/bash-completion/completions/%{crate}.bash
+%{bash_completions_dir}/bodhi-cli.bash
+%{fish_completions_dir}/bodhi-cli.fish
+%{zsh_completions_dir}/_bodhi-cli
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
-cp %{SOURCE1} .
%cargo_prep
%generate_buildrequires
@@ -63,11 +61,19 @@ cp %{SOURCE1} .
%build
%cargo_build
+# write license summary and breakdown
+%cargo_license_summary
+%{cargo_license} > LICENSE.dependencies
%install
%cargo_install
-install -D -p -m 0644 -t %{buildroot}%{_datadir}/bash-completion/completions \
- target/release/build/%{crate}-*/out/%{crate}.bash
+# install shell completions
+install -Dpm 0644 target/release/build/%{crate}-*/out/bodhi-cli.bash \
+ %{buildroot}/%{bash_completions_dir}/bodhi-cli.bash
+install -Dpm 0644 target/release/build/%{crate}-*/out/bodhi-cli.fish \
+ %{buildroot}/%{fish_completions_dir}/bodhi-cli.fish
+install -Dpm 0644 target/release/build/%{crate}-*/out/_bodhi-cli \
+ %{buildroot}/%{zsh_completions_dir}/_bodhi-cli
%if %{with check}
%check
diff --git a/sources b/sources
index 84387ae..016cac1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (bodhi-cli-2.0.1.crate) = 977321f6bb8c7b25aa2b8082f7db11af35145a97a48c9d68fa83527642f4d88e2d640bb8596e46e2acb4725749ade97a50ddf2d138177214c2054d0d13696b90
+SHA512 (bodhi-cli-2.1.0.crate) = e8f3040ff5bbf661e1232eb1684807fd500c0954053f689b12834b56c29a3cf5ba66231aa020ce557311bf92f062c211b23a1a25b4ff558f6e3e5e41b9b35ff9
The package rpms/rust-fedora-update-feedback.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-fedora-update-feedback.git/com….
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit c255cf0291b482d989d60fae7c43aef5e90b0d65
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Sat Mar 18 14:45:52 2023 +0100
Update to version 2.1.1; Fixes RHBZ#2177100
diff --git a/.gitignore b/.gitignore
index 7d41e50..50b76df 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,3 +17,4 @@
/fedora-update-feedback-2.0.0.crate
/fedora-update-feedback-2.0.1.crate
/fedora-update-feedback-2.0.2.crate
+/fedora-update-feedback-2.1.1.crate
diff --git a/LICENSE.dependencies b/LICENSE.dependencies
deleted file mode 100644
index 42325a4..0000000
--- a/LICENSE.dependencies
+++ /dev/null
@@ -1,217 +0,0 @@
-(ASL 2.0 or MIT) and BSD: rust-encoding_rs 0.8.31
-0BSD or MIT or ASL 2.0: rust-adler 1.0.2
-ASL 2.0 or Boost: rust-ryu 1.0.10
-ASL 2.0 or MIT: rust-addr2line 0.17.0
-ASL 2.0 or MIT: rust-async-io 1.7.0
-ASL 2.0 or MIT: rust-autocfg 1.1.0
-ASL 2.0 or MIT: rust-cache-padded 1.2.0
-ASL 2.0 or MIT: rust-concurrent-queue 1.2.2
-ASL 2.0 or MIT: rust-fastrand 1.7.0
-ASL 2.0 or MIT: rust-fnv 1.0.7
-ASL 2.0 or MIT: rust-futures-lite 1.12.0
-ASL 2.0 or MIT: rust-gimli 0.26.1
-ASL 2.0 or MIT: rust-hashbrown 0.11.2
-ASL 2.0 or MIT: rust-indexmap 1.8.2
-ASL 2.0 or MIT: rust-nb-connect 1.2.0
-ASL 2.0 or MIT: rust-object 0.27.1
-ASL 2.0 or MIT: rust-parking 2.0.0
-ASL 2.0 or MIT: rust-pin-project-lite 0.2.9
-ASL 2.0 or MIT: rust-polling 2.2.0
-ASL 2.0 or MIT: rust-proc-macro-crate 1.1.3
-ASL 2.0 or MIT: rust-proc-macro-crate0.1 0.1.5
-ASL 2.0 or MIT: rust-signal-hook-registry 1.4.0
-ASL 2.0 or MIT: rust-structopt 0.3.25
-ASL 2.0 or MIT: rust-structopt-derive 0.4.18
-ASL 2.0 or MIT: rust-utf8parse 0.2.0
-ASL 2.0 or MIT: rust-waker-fn 1.1.0
-ASL 2.0: rust-openssl 0.10.41
-ASL 2.0: rust-rpassword 5.0.1
-ASL 2.0: rust-unicode-linebreak 0.1.2
-BSD: rust-alloc-no-stdlib 2.0.3
-BSD: rust-alloc-stdlib 0.2.1
-BSD: rust-brotli 3.3.3
-BSD: rust-brotli-decompressor 2.3.2
-BSD: rust-subtle 2.4.1
-MIT or ASL 2.0 or zlib: rust-tinyvec_macros 0.1.0
-MIT or ASL 2.0: rust-aes0.7 0.7.5
-MIT or ASL 2.0: rust-async-compression 0.3.12
-MIT or ASL 2.0: rust-async-trait 0.1.56
-MIT or ASL 2.0: rust-backtrace 0.3.64
-MIT or ASL 2.0: rust-base64 0.13.0
-MIT or ASL 2.0: rust-bitflags 1.3.2
-MIT or ASL 2.0: rust-block-buffer0.9 0.9.0
-MIT or ASL 2.0: rust-block-modes 0.8.1
-MIT or ASL 2.0: rust-block-padding0.2 0.2.1
-MIT or ASL 2.0: rust-bodhi 2.0.1
-MIT or ASL 2.0: rust-cc 1.0.73
-MIT or ASL 2.0: rust-cfg-if 1.0.0
-MIT or ASL 2.0: rust-chrono 0.4.19
-MIT or ASL 2.0: rust-cipher0.3 0.3.0
-MIT or ASL 2.0: rust-cookie 0.16.0
-MIT or ASL 2.0: rust-cookie_store 0.16.1
-MIT or ASL 2.0: rust-cpufeatures 0.2.2
-MIT or ASL 2.0: rust-crc32fast 1.3.2
-MIT or ASL 2.0: rust-crypto-mac 0.11.1
-MIT or ASL 2.0: rust-derivative 2.2.0
-MIT or ASL 2.0: rust-digest0.9 0.9.0
-MIT or ASL 2.0: rust-dirs 4.0.0
-MIT or ASL 2.0: rust-dirs-next 2.0.0
-MIT or ASL 2.0: rust-dirs-sys 0.3.7
-MIT or ASL 2.0: rust-dirs-sys-next 0.1.2
-MIT or ASL 2.0: rust-either 1.7.0
-MIT or ASL 2.0: rust-enum-as-inner 0.4.0
-MIT or ASL 2.0: rust-enum-as-inner0.3 0.3.4
-MIT or ASL 2.0: rust-enumflags2_0.6 0.6.4
-MIT or ASL 2.0: rust-enumflags2_derive0.6 0.6.4
-MIT or ASL 2.0: rust-env_logger 0.9.0
-MIT or ASL 2.0: rust-fd-lock 2.0.0
-MIT or ASL 2.0: rust-fedora 2.0.2
-MIT or ASL 2.0: rust-flate2 1.0.22
-MIT or ASL 2.0: rust-foreign-types-shared0.1 0.1.1
-MIT or ASL 2.0: rust-foreign-types0.3 0.3.2
-MIT or ASL 2.0: rust-form_urlencoded 1.0.1
-MIT or ASL 2.0: rust-futures 0.3.21
-MIT or ASL 2.0: rust-futures-channel 0.3.21
-MIT or ASL 2.0: rust-futures-core 0.3.21
-MIT or ASL 2.0: rust-futures-executor 0.3.21
-MIT or ASL 2.0: rust-futures-io 0.3.21
-MIT or ASL 2.0: rust-futures-macro 0.3.21
-MIT or ASL 2.0: rust-futures-sink 0.3.21
-MIT or ASL 2.0: rust-futures-task 0.3.21
-MIT or ASL 2.0: rust-futures-util 0.3.21
-MIT or ASL 2.0: rust-getrandom 0.2.7
-MIT or ASL 2.0: rust-heck 0.4.0
-MIT or ASL 2.0: rust-heck0.3 0.3.3
-MIT or ASL 2.0: rust-hkdf0.11 0.11.0
-MIT or ASL 2.0: rust-hmac0.11 0.11.0
-MIT or ASL 2.0: rust-http 0.2.8
-MIT or ASL 2.0: rust-httparse 1.7.1
-MIT or ASL 2.0: rust-httpdate 1.0.2
-MIT or ASL 2.0: rust-humantime 2.1.0
-MIT or ASL 2.0: rust-hyper-tls 0.5.0
-MIT or ASL 2.0: rust-idna 0.2.3
-MIT or ASL 2.0: rust-ipnet 2.5.0
-MIT or ASL 2.0: rust-itoa 1.0.2
-MIT or ASL 2.0: rust-lazy_static 1.4.0
-MIT or ASL 2.0: rust-libc 0.2.126
-MIT or ASL 2.0: rust-linked-hash-map 0.5.4
-MIT or ASL 2.0: rust-lock_api 0.4.7
-MIT or ASL 2.0: rust-log 0.4.17
-MIT or ASL 2.0: rust-lru-cache 0.1.2
-MIT or ASL 2.0: rust-match_cfg 0.1.0
-MIT or ASL 2.0: rust-mime 0.3.16
-MIT or ASL 2.0: rust-native-tls 0.2.10
-MIT or ASL 2.0: rust-num 0.4.0
-MIT or ASL 2.0: rust-num-bigint 0.4.3
-MIT or ASL 2.0: rust-num-complex 0.4.1
-MIT or ASL 2.0: rust-num-integer 0.1.45
-MIT or ASL 2.0: rust-num-iter 0.1.43
-MIT or ASL 2.0: rust-num-rational 0.4.1
-MIT or ASL 2.0: rust-num-traits 0.2.15
-MIT or ASL 2.0: rust-num_cpus 1.13.1
-MIT or ASL 2.0: rust-num_threads 0.1.6
-MIT or ASL 2.0: rust-once_cell 1.13.0
-MIT or ASL 2.0: rust-opaque-debug 0.3.0
-MIT or ASL 2.0: rust-openssl-macros 0.1.0
-MIT or ASL 2.0: rust-openssl-probe 0.1.5
-MIT or ASL 2.0: rust-parking_lot 0.12.1
-MIT or ASL 2.0: rust-parking_lot_core 0.9.3
-MIT or ASL 2.0: rust-percent-encoding 2.1.0
-MIT or ASL 2.0: rust-pin-utils 0.1.0
-MIT or ASL 2.0: rust-pkg-config 0.3.25
-MIT or ASL 2.0: rust-ppv-lite86 0.2.16
-MIT or ASL 2.0: rust-proc-macro-error 1.0.4
-MIT or ASL 2.0: rust-proc-macro-error-attr 1.0.4
-MIT or ASL 2.0: rust-proc-macro-hack 0.5.19
-MIT or ASL 2.0: rust-proc-macro2 1.0.40
-MIT or ASL 2.0: rust-psl-types 2.0.10
-MIT or ASL 2.0: rust-publicsuffix 2.1.1
-MIT or ASL 2.0: rust-quick-error1 1.2.3
-MIT or ASL 2.0: rust-quote 1.0.20
-MIT or ASL 2.0: rust-rand 0.8.5
-MIT or ASL 2.0: rust-rand_chacha 0.3.1
-MIT or ASL 2.0: rust-rand_core 0.6.3
-MIT or ASL 2.0: rust-regex 1.6.0
-MIT or ASL 2.0: rust-regex-syntax 0.6.27
-MIT or ASL 2.0: rust-reqwest 0.11.11
-MIT or ASL 2.0: rust-resolv-conf 0.7.0
-MIT or ASL 2.0: rust-rustc-demangle 0.1.21
-MIT or ASL 2.0: rust-scoped-tls 1.0.0
-MIT or ASL 2.0: rust-scopeguard 1.1.0
-MIT or ASL 2.0: rust-secret-service 2.0.2
-MIT or ASL 2.0: rust-serde 1.0.139
-MIT or ASL 2.0: rust-serde_derive 1.0.139
-MIT or ASL 2.0: rust-serde_json 1.0.82
-MIT or ASL 2.0: rust-serde_repr 0.1.8
-MIT or ASL 2.0: rust-serde_url_params 0.2.1
-MIT or ASL 2.0: rust-serde_urlencoded 0.7.1
-MIT or ASL 2.0: rust-sha2_0.9 0.9.9
-MIT or ASL 2.0: rust-smallvec 1.9.0
-MIT or ASL 2.0: rust-socket2 0.4.4
-MIT or ASL 2.0: rust-static_assertions 1.1.0
-MIT or ASL 2.0: rust-syn 1.0.98
-MIT or ASL 2.0: rust-term_size 0.3.2
-MIT or ASL 2.0: rust-thiserror 1.0.31
-MIT or ASL 2.0: rust-thiserror-impl 1.0.31
-MIT or ASL 2.0: rust-time 0.3.11
-MIT or ASL 2.0: rust-time-macros 0.2.4
-MIT or ASL 2.0: rust-time0.1 0.1.44
-MIT or ASL 2.0: rust-tokio-openssl 0.6.3
-MIT or ASL 2.0: rust-toml 0.5.9
-MIT or ASL 2.0: rust-trust-dns-proto 0.21.2
-MIT or ASL 2.0: rust-trust-dns-resolver 0.21.2
-MIT or ASL 2.0: rust-typenum 1.15.0
-MIT or ASL 2.0: rust-unicase 2.6.0
-MIT or ASL 2.0: rust-unicode-bidi 0.3.8
-MIT or ASL 2.0: rust-unicode-ident 1.0.1
-MIT or ASL 2.0: rust-unicode-normalization 0.1.21
-MIT or ASL 2.0: rust-unicode-segmentation 1.9.0
-MIT or ASL 2.0: rust-unicode-width 0.1.9
-MIT or ASL 2.0: rust-url 2.2.2
-MIT or ASL 2.0: rust-vec_map 0.8.2
-MIT or ASL 2.0: rust-version_check 0.9.4
-MIT or zlib or ASL 2.0: rust-miniz_oxide 0.4.4
-MIT: rust-ansi_term 0.12.1
-MIT: rust-atty 0.2.14
-MIT: rust-bytes 1.1.0
-MIT: rust-clap2 2.34.0
-MIT: rust-data-encoding 2.3.2
-MIT: rust-endian-type 0.1.2
-MIT: rust-generic-array 0.14.5
-MIT: rust-h2 0.3.13
-MIT: rust-hostname 0.3.1
-MIT: rust-http-body 0.4.5
-MIT: rust-hyper 0.14.20
-MIT: rust-matches 0.1.9
-MIT: rust-memoffset 0.6.5
-MIT: rust-mime_guess 2.0.3
-MIT: rust-mio 0.8.4
-MIT: rust-nibble_vec 0.1.0
-MIT: rust-nix0.20 0.20.2
-MIT: rust-openssl-sys 0.9.75
-MIT: rust-radix_trie 0.2.1
-MIT: rust-rustyline 8.2.0
-MIT: rust-slab 0.4.6
-MIT: rust-smawk 0.3.1
-MIT: rust-strsim 0.10.0
-MIT: rust-textwrap0.11 0.11.0
-MIT: rust-textwrap0.14 0.14.2
-MIT: rust-tokio 1.20.0
-MIT: rust-tokio-macros 1.8.0
-MIT: rust-tokio-native-tls 0.3.0
-MIT: rust-tokio-socks 0.5.1
-MIT: rust-tokio-util 0.7.3
-MIT: rust-tower-service 0.3.2
-MIT: rust-tracing 0.1.35
-MIT: rust-tracing-core 0.1.28
-MIT: rust-try-lock 0.2.3
-MIT: rust-want 0.3.0
-MIT: rust-zbus 1.9.2
-MIT: rust-zbus_macros 1.9.2
-MIT: rust-zvariant 2.10.0
-MIT: rust-zvariant_derive 2.10.0
-Unlicense or MIT: rust-aho-corasick 0.7.18
-Unlicense or MIT: rust-byteorder 1.4.3
-Unlicense or MIT: rust-memchr 2.5.0
-Unlicense or MIT: rust-termcolor 1.1.3
-zlib or ASL 2.0 or MIT: rust-tinyvec 1.6.0
diff --git a/rust-fedora-update-feedback.spec b/rust-fedora-update-feedback.spec
index 94833d4..b488faa 100644
--- a/rust-fedora-update-feedback.spec
+++ b/rust-fedora-update-feedback.spec
@@ -1,25 +1,21 @@
-# Generated by rust2rpm 21
+# Generated by rust2rpm 24
%bcond_without check
+%global crate fedora-update-feedback
+
# reduce debuginfo verbosity to work around rustc OOM problems on 32-bit arches
%global rustflags_debuginfo 1
-%global crate fedora-update-feedback
-
-Name: rust-%{crate}
-Version: 2.0.2
+Name: rust-fedora-update-feedback
+Version: 2.1.1
Release: %autorelease
Summary: Provide feedback for Fedora updates (inspired by fedora-easy-karma)
-# 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/fedora-update-feedback
-Source0: %{crates_source}
-Source1: LICENSE.dependencies
-
-ExclusiveArch: %{rust_arches}
+Source: %{crates_source}
-BuildRequires: rust-packaging >= 21
+BuildRequires: rust-packaging >= 23
%global _description %{expand:
Provide feedback for Fedora updates (inspired by fedora-easy-karma).}
@@ -28,19 +24,21 @@ Provide feedback for Fedora updates (inspired by fedora-easy-karma).}
%package -n %{crate}
Summary: %{summary}
-# (ASL 2.0 or MIT) and BSD
-# 0BSD or MIT or ASL 2.0
-# ASL 2.0
-# ASL 2.0 or Boost
-# ASL 2.0 or MIT
-# BSD
+# nano is the fallback in case no editor is configured
+Recommends: nano
+# (Apache-2.0 OR MIT) AND BSD-3-Clause
+# (MIT OR Apache-2.0) AND Unicode-DFS-2016
+# Apache-2.0
+# Apache-2.0 OR BSL-1.0
+# Apache-2.0 OR MIT
+# Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
+# BSD-3-Clause
# MIT
-# MIT or ASL 2.0
-# MIT or ASL 2.0 or zlib
-# MIT or zlib or ASL 2.0
-# Unlicense or MIT
-# zlib or ASL 2.0 or MIT
-License: ASL 2.0 and BSD and MIT
+# MIT OR Apache-2.0
+# MIT OR Apache-2.0 OR Zlib
+# Unlicense OR MIT
+# Zlib OR Apache-2.0 OR MIT
+License: Apache-2.0 AND BSD-3-Clause AND MIT AND Unicode-DFS-2016
# LICENSE.dependencies contains a full license breakdown
%description -n %{crate} %{_description}
@@ -52,13 +50,12 @@ License: ASL 2.0 and BSD and MIT
%doc NEWS.md
%doc README.md
%{_bindir}/fedora-update-feedback
-%dir %{_datadir}/bash-completion
-%dir %{_datadir}/bash-completion/completions
-%{_datadir}/bash-completion/completions/%{crate}.bash
+%{bash_completions_dir}/fedora-update-feedback.bash
+%{fish_completions_dir}/fedora-update-feedback.fish
+%{zsh_completions_dir}/_fedora-update-feedback
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
-cp %{SOURCE1} .
%cargo_prep
%generate_buildrequires
@@ -66,11 +63,19 @@ cp %{SOURCE1} .
%build
%cargo_build
+# write license summary and breakdown
+%cargo_license_summary
+%{cargo_license} > LICENSE.dependencies
%install
%cargo_install
-install -D -p -m 0644 -t %{buildroot}%{_datadir}/bash-completion/completions \
- target/release/build/%{crate}-*/out/%{crate}.bash
+# install shell completions
+install -Dpm 0644 target/release/build/%{crate}-*/out/fedora-update-feedback.bash \
+ %{buildroot}/%{bash_completions_dir}/fedora-update-feedback.bash
+install -Dpm 0644 target/release/build/%{crate}-*/out/fedora-update-feedback.fish \
+ %{buildroot}/%{fish_completions_dir}/fedora-update-feedback.fish
+install -Dpm 0644 target/release/build/%{crate}-*/out/_fedora-update-feedback \
+ %{buildroot}/%{zsh_completions_dir}/_fedora-update-feedback
%if %{with check}
%check
diff --git a/sources b/sources
index 754d167..2c2d83a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (fedora-update-feedback-2.0.2.crate) = b45c91655ab53f16b33956629174198c10e3c0abcb8aa446c9fbc9c88df4e51d48d9a825b2b24cb70d96d2c830cc92348b5c0f1c6969f049c4a7805cf37736a2
+SHA512 (fedora-update-feedback-2.1.1.crate) = 87ac412c2b4050cd1b6c12f78892e81acaca44725bb19d69d415e7404eac54a179ffd857c16dde4e26f865f921c070c60b6a0cbafe1eb1960d8a29230aad1bd5
commit 62737fd6de952c8a2d852f377d5c74cf9b34a118
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Sat Feb 4 23:54:51 2023 +0100
Rebuild for fixed frame pointer compiler flags in Rust RPM macros
commit ea7a45d191f204d7f87e48de35ea54643a8f3132
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jan 20 22:49:51 2023 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
commit 177ea9aa85636b2a056b7ea140f739281c1f5b5d
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Sat Jul 23 04:04:10 2022 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
The package rpms/rust-fedora-update-feedback.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-fedora-update-feedback.git/com….
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit c255cf0291b482d989d60fae7c43aef5e90b0d65
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Sat Mar 18 14:45:52 2023 +0100
Update to version 2.1.1; Fixes RHBZ#2177100
diff --git a/.gitignore b/.gitignore
index 7d41e50..50b76df 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,3 +17,4 @@
/fedora-update-feedback-2.0.0.crate
/fedora-update-feedback-2.0.1.crate
/fedora-update-feedback-2.0.2.crate
+/fedora-update-feedback-2.1.1.crate
diff --git a/LICENSE.dependencies b/LICENSE.dependencies
deleted file mode 100644
index 42325a4..0000000
--- a/LICENSE.dependencies
+++ /dev/null
@@ -1,217 +0,0 @@
-(ASL 2.0 or MIT) and BSD: rust-encoding_rs 0.8.31
-0BSD or MIT or ASL 2.0: rust-adler 1.0.2
-ASL 2.0 or Boost: rust-ryu 1.0.10
-ASL 2.0 or MIT: rust-addr2line 0.17.0
-ASL 2.0 or MIT: rust-async-io 1.7.0
-ASL 2.0 or MIT: rust-autocfg 1.1.0
-ASL 2.0 or MIT: rust-cache-padded 1.2.0
-ASL 2.0 or MIT: rust-concurrent-queue 1.2.2
-ASL 2.0 or MIT: rust-fastrand 1.7.0
-ASL 2.0 or MIT: rust-fnv 1.0.7
-ASL 2.0 or MIT: rust-futures-lite 1.12.0
-ASL 2.0 or MIT: rust-gimli 0.26.1
-ASL 2.0 or MIT: rust-hashbrown 0.11.2
-ASL 2.0 or MIT: rust-indexmap 1.8.2
-ASL 2.0 or MIT: rust-nb-connect 1.2.0
-ASL 2.0 or MIT: rust-object 0.27.1
-ASL 2.0 or MIT: rust-parking 2.0.0
-ASL 2.0 or MIT: rust-pin-project-lite 0.2.9
-ASL 2.0 or MIT: rust-polling 2.2.0
-ASL 2.0 or MIT: rust-proc-macro-crate 1.1.3
-ASL 2.0 or MIT: rust-proc-macro-crate0.1 0.1.5
-ASL 2.0 or MIT: rust-signal-hook-registry 1.4.0
-ASL 2.0 or MIT: rust-structopt 0.3.25
-ASL 2.0 or MIT: rust-structopt-derive 0.4.18
-ASL 2.0 or MIT: rust-utf8parse 0.2.0
-ASL 2.0 or MIT: rust-waker-fn 1.1.0
-ASL 2.0: rust-openssl 0.10.41
-ASL 2.0: rust-rpassword 5.0.1
-ASL 2.0: rust-unicode-linebreak 0.1.2
-BSD: rust-alloc-no-stdlib 2.0.3
-BSD: rust-alloc-stdlib 0.2.1
-BSD: rust-brotli 3.3.3
-BSD: rust-brotli-decompressor 2.3.2
-BSD: rust-subtle 2.4.1
-MIT or ASL 2.0 or zlib: rust-tinyvec_macros 0.1.0
-MIT or ASL 2.0: rust-aes0.7 0.7.5
-MIT or ASL 2.0: rust-async-compression 0.3.12
-MIT or ASL 2.0: rust-async-trait 0.1.56
-MIT or ASL 2.0: rust-backtrace 0.3.64
-MIT or ASL 2.0: rust-base64 0.13.0
-MIT or ASL 2.0: rust-bitflags 1.3.2
-MIT or ASL 2.0: rust-block-buffer0.9 0.9.0
-MIT or ASL 2.0: rust-block-modes 0.8.1
-MIT or ASL 2.0: rust-block-padding0.2 0.2.1
-MIT or ASL 2.0: rust-bodhi 2.0.1
-MIT or ASL 2.0: rust-cc 1.0.73
-MIT or ASL 2.0: rust-cfg-if 1.0.0
-MIT or ASL 2.0: rust-chrono 0.4.19
-MIT or ASL 2.0: rust-cipher0.3 0.3.0
-MIT or ASL 2.0: rust-cookie 0.16.0
-MIT or ASL 2.0: rust-cookie_store 0.16.1
-MIT or ASL 2.0: rust-cpufeatures 0.2.2
-MIT or ASL 2.0: rust-crc32fast 1.3.2
-MIT or ASL 2.0: rust-crypto-mac 0.11.1
-MIT or ASL 2.0: rust-derivative 2.2.0
-MIT or ASL 2.0: rust-digest0.9 0.9.0
-MIT or ASL 2.0: rust-dirs 4.0.0
-MIT or ASL 2.0: rust-dirs-next 2.0.0
-MIT or ASL 2.0: rust-dirs-sys 0.3.7
-MIT or ASL 2.0: rust-dirs-sys-next 0.1.2
-MIT or ASL 2.0: rust-either 1.7.0
-MIT or ASL 2.0: rust-enum-as-inner 0.4.0
-MIT or ASL 2.0: rust-enum-as-inner0.3 0.3.4
-MIT or ASL 2.0: rust-enumflags2_0.6 0.6.4
-MIT or ASL 2.0: rust-enumflags2_derive0.6 0.6.4
-MIT or ASL 2.0: rust-env_logger 0.9.0
-MIT or ASL 2.0: rust-fd-lock 2.0.0
-MIT or ASL 2.0: rust-fedora 2.0.2
-MIT or ASL 2.0: rust-flate2 1.0.22
-MIT or ASL 2.0: rust-foreign-types-shared0.1 0.1.1
-MIT or ASL 2.0: rust-foreign-types0.3 0.3.2
-MIT or ASL 2.0: rust-form_urlencoded 1.0.1
-MIT or ASL 2.0: rust-futures 0.3.21
-MIT or ASL 2.0: rust-futures-channel 0.3.21
-MIT or ASL 2.0: rust-futures-core 0.3.21
-MIT or ASL 2.0: rust-futures-executor 0.3.21
-MIT or ASL 2.0: rust-futures-io 0.3.21
-MIT or ASL 2.0: rust-futures-macro 0.3.21
-MIT or ASL 2.0: rust-futures-sink 0.3.21
-MIT or ASL 2.0: rust-futures-task 0.3.21
-MIT or ASL 2.0: rust-futures-util 0.3.21
-MIT or ASL 2.0: rust-getrandom 0.2.7
-MIT or ASL 2.0: rust-heck 0.4.0
-MIT or ASL 2.0: rust-heck0.3 0.3.3
-MIT or ASL 2.0: rust-hkdf0.11 0.11.0
-MIT or ASL 2.0: rust-hmac0.11 0.11.0
-MIT or ASL 2.0: rust-http 0.2.8
-MIT or ASL 2.0: rust-httparse 1.7.1
-MIT or ASL 2.0: rust-httpdate 1.0.2
-MIT or ASL 2.0: rust-humantime 2.1.0
-MIT or ASL 2.0: rust-hyper-tls 0.5.0
-MIT or ASL 2.0: rust-idna 0.2.3
-MIT or ASL 2.0: rust-ipnet 2.5.0
-MIT or ASL 2.0: rust-itoa 1.0.2
-MIT or ASL 2.0: rust-lazy_static 1.4.0
-MIT or ASL 2.0: rust-libc 0.2.126
-MIT or ASL 2.0: rust-linked-hash-map 0.5.4
-MIT or ASL 2.0: rust-lock_api 0.4.7
-MIT or ASL 2.0: rust-log 0.4.17
-MIT or ASL 2.0: rust-lru-cache 0.1.2
-MIT or ASL 2.0: rust-match_cfg 0.1.0
-MIT or ASL 2.0: rust-mime 0.3.16
-MIT or ASL 2.0: rust-native-tls 0.2.10
-MIT or ASL 2.0: rust-num 0.4.0
-MIT or ASL 2.0: rust-num-bigint 0.4.3
-MIT or ASL 2.0: rust-num-complex 0.4.1
-MIT or ASL 2.0: rust-num-integer 0.1.45
-MIT or ASL 2.0: rust-num-iter 0.1.43
-MIT or ASL 2.0: rust-num-rational 0.4.1
-MIT or ASL 2.0: rust-num-traits 0.2.15
-MIT or ASL 2.0: rust-num_cpus 1.13.1
-MIT or ASL 2.0: rust-num_threads 0.1.6
-MIT or ASL 2.0: rust-once_cell 1.13.0
-MIT or ASL 2.0: rust-opaque-debug 0.3.0
-MIT or ASL 2.0: rust-openssl-macros 0.1.0
-MIT or ASL 2.0: rust-openssl-probe 0.1.5
-MIT or ASL 2.0: rust-parking_lot 0.12.1
-MIT or ASL 2.0: rust-parking_lot_core 0.9.3
-MIT or ASL 2.0: rust-percent-encoding 2.1.0
-MIT or ASL 2.0: rust-pin-utils 0.1.0
-MIT or ASL 2.0: rust-pkg-config 0.3.25
-MIT or ASL 2.0: rust-ppv-lite86 0.2.16
-MIT or ASL 2.0: rust-proc-macro-error 1.0.4
-MIT or ASL 2.0: rust-proc-macro-error-attr 1.0.4
-MIT or ASL 2.0: rust-proc-macro-hack 0.5.19
-MIT or ASL 2.0: rust-proc-macro2 1.0.40
-MIT or ASL 2.0: rust-psl-types 2.0.10
-MIT or ASL 2.0: rust-publicsuffix 2.1.1
-MIT or ASL 2.0: rust-quick-error1 1.2.3
-MIT or ASL 2.0: rust-quote 1.0.20
-MIT or ASL 2.0: rust-rand 0.8.5
-MIT or ASL 2.0: rust-rand_chacha 0.3.1
-MIT or ASL 2.0: rust-rand_core 0.6.3
-MIT or ASL 2.0: rust-regex 1.6.0
-MIT or ASL 2.0: rust-regex-syntax 0.6.27
-MIT or ASL 2.0: rust-reqwest 0.11.11
-MIT or ASL 2.0: rust-resolv-conf 0.7.0
-MIT or ASL 2.0: rust-rustc-demangle 0.1.21
-MIT or ASL 2.0: rust-scoped-tls 1.0.0
-MIT or ASL 2.0: rust-scopeguard 1.1.0
-MIT or ASL 2.0: rust-secret-service 2.0.2
-MIT or ASL 2.0: rust-serde 1.0.139
-MIT or ASL 2.0: rust-serde_derive 1.0.139
-MIT or ASL 2.0: rust-serde_json 1.0.82
-MIT or ASL 2.0: rust-serde_repr 0.1.8
-MIT or ASL 2.0: rust-serde_url_params 0.2.1
-MIT or ASL 2.0: rust-serde_urlencoded 0.7.1
-MIT or ASL 2.0: rust-sha2_0.9 0.9.9
-MIT or ASL 2.0: rust-smallvec 1.9.0
-MIT or ASL 2.0: rust-socket2 0.4.4
-MIT or ASL 2.0: rust-static_assertions 1.1.0
-MIT or ASL 2.0: rust-syn 1.0.98
-MIT or ASL 2.0: rust-term_size 0.3.2
-MIT or ASL 2.0: rust-thiserror 1.0.31
-MIT or ASL 2.0: rust-thiserror-impl 1.0.31
-MIT or ASL 2.0: rust-time 0.3.11
-MIT or ASL 2.0: rust-time-macros 0.2.4
-MIT or ASL 2.0: rust-time0.1 0.1.44
-MIT or ASL 2.0: rust-tokio-openssl 0.6.3
-MIT or ASL 2.0: rust-toml 0.5.9
-MIT or ASL 2.0: rust-trust-dns-proto 0.21.2
-MIT or ASL 2.0: rust-trust-dns-resolver 0.21.2
-MIT or ASL 2.0: rust-typenum 1.15.0
-MIT or ASL 2.0: rust-unicase 2.6.0
-MIT or ASL 2.0: rust-unicode-bidi 0.3.8
-MIT or ASL 2.0: rust-unicode-ident 1.0.1
-MIT or ASL 2.0: rust-unicode-normalization 0.1.21
-MIT or ASL 2.0: rust-unicode-segmentation 1.9.0
-MIT or ASL 2.0: rust-unicode-width 0.1.9
-MIT or ASL 2.0: rust-url 2.2.2
-MIT or ASL 2.0: rust-vec_map 0.8.2
-MIT or ASL 2.0: rust-version_check 0.9.4
-MIT or zlib or ASL 2.0: rust-miniz_oxide 0.4.4
-MIT: rust-ansi_term 0.12.1
-MIT: rust-atty 0.2.14
-MIT: rust-bytes 1.1.0
-MIT: rust-clap2 2.34.0
-MIT: rust-data-encoding 2.3.2
-MIT: rust-endian-type 0.1.2
-MIT: rust-generic-array 0.14.5
-MIT: rust-h2 0.3.13
-MIT: rust-hostname 0.3.1
-MIT: rust-http-body 0.4.5
-MIT: rust-hyper 0.14.20
-MIT: rust-matches 0.1.9
-MIT: rust-memoffset 0.6.5
-MIT: rust-mime_guess 2.0.3
-MIT: rust-mio 0.8.4
-MIT: rust-nibble_vec 0.1.0
-MIT: rust-nix0.20 0.20.2
-MIT: rust-openssl-sys 0.9.75
-MIT: rust-radix_trie 0.2.1
-MIT: rust-rustyline 8.2.0
-MIT: rust-slab 0.4.6
-MIT: rust-smawk 0.3.1
-MIT: rust-strsim 0.10.0
-MIT: rust-textwrap0.11 0.11.0
-MIT: rust-textwrap0.14 0.14.2
-MIT: rust-tokio 1.20.0
-MIT: rust-tokio-macros 1.8.0
-MIT: rust-tokio-native-tls 0.3.0
-MIT: rust-tokio-socks 0.5.1
-MIT: rust-tokio-util 0.7.3
-MIT: rust-tower-service 0.3.2
-MIT: rust-tracing 0.1.35
-MIT: rust-tracing-core 0.1.28
-MIT: rust-try-lock 0.2.3
-MIT: rust-want 0.3.0
-MIT: rust-zbus 1.9.2
-MIT: rust-zbus_macros 1.9.2
-MIT: rust-zvariant 2.10.0
-MIT: rust-zvariant_derive 2.10.0
-Unlicense or MIT: rust-aho-corasick 0.7.18
-Unlicense or MIT: rust-byteorder 1.4.3
-Unlicense or MIT: rust-memchr 2.5.0
-Unlicense or MIT: rust-termcolor 1.1.3
-zlib or ASL 2.0 or MIT: rust-tinyvec 1.6.0
diff --git a/rust-fedora-update-feedback.spec b/rust-fedora-update-feedback.spec
index 94833d4..b488faa 100644
--- a/rust-fedora-update-feedback.spec
+++ b/rust-fedora-update-feedback.spec
@@ -1,25 +1,21 @@
-# Generated by rust2rpm 21
+# Generated by rust2rpm 24
%bcond_without check
+%global crate fedora-update-feedback
+
# reduce debuginfo verbosity to work around rustc OOM problems on 32-bit arches
%global rustflags_debuginfo 1
-%global crate fedora-update-feedback
-
-Name: rust-%{crate}
-Version: 2.0.2
+Name: rust-fedora-update-feedback
+Version: 2.1.1
Release: %autorelease
Summary: Provide feedback for Fedora updates (inspired by fedora-easy-karma)
-# 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/fedora-update-feedback
-Source0: %{crates_source}
-Source1: LICENSE.dependencies
-
-ExclusiveArch: %{rust_arches}
+Source: %{crates_source}
-BuildRequires: rust-packaging >= 21
+BuildRequires: rust-packaging >= 23
%global _description %{expand:
Provide feedback for Fedora updates (inspired by fedora-easy-karma).}
@@ -28,19 +24,21 @@ Provide feedback for Fedora updates (inspired by fedora-easy-karma).}
%package -n %{crate}
Summary: %{summary}
-# (ASL 2.0 or MIT) and BSD
-# 0BSD or MIT or ASL 2.0
-# ASL 2.0
-# ASL 2.0 or Boost
-# ASL 2.0 or MIT
-# BSD
+# nano is the fallback in case no editor is configured
+Recommends: nano
+# (Apache-2.0 OR MIT) AND BSD-3-Clause
+# (MIT OR Apache-2.0) AND Unicode-DFS-2016
+# Apache-2.0
+# Apache-2.0 OR BSL-1.0
+# Apache-2.0 OR MIT
+# Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
+# BSD-3-Clause
# MIT
-# MIT or ASL 2.0
-# MIT or ASL 2.0 or zlib
-# MIT or zlib or ASL 2.0
-# Unlicense or MIT
-# zlib or ASL 2.0 or MIT
-License: ASL 2.0 and BSD and MIT
+# MIT OR Apache-2.0
+# MIT OR Apache-2.0 OR Zlib
+# Unlicense OR MIT
+# Zlib OR Apache-2.0 OR MIT
+License: Apache-2.0 AND BSD-3-Clause AND MIT AND Unicode-DFS-2016
# LICENSE.dependencies contains a full license breakdown
%description -n %{crate} %{_description}
@@ -52,13 +50,12 @@ License: ASL 2.0 and BSD and MIT
%doc NEWS.md
%doc README.md
%{_bindir}/fedora-update-feedback
-%dir %{_datadir}/bash-completion
-%dir %{_datadir}/bash-completion/completions
-%{_datadir}/bash-completion/completions/%{crate}.bash
+%{bash_completions_dir}/fedora-update-feedback.bash
+%{fish_completions_dir}/fedora-update-feedback.fish
+%{zsh_completions_dir}/_fedora-update-feedback
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
-cp %{SOURCE1} .
%cargo_prep
%generate_buildrequires
@@ -66,11 +63,19 @@ cp %{SOURCE1} .
%build
%cargo_build
+# write license summary and breakdown
+%cargo_license_summary
+%{cargo_license} > LICENSE.dependencies
%install
%cargo_install
-install -D -p -m 0644 -t %{buildroot}%{_datadir}/bash-completion/completions \
- target/release/build/%{crate}-*/out/%{crate}.bash
+# install shell completions
+install -Dpm 0644 target/release/build/%{crate}-*/out/fedora-update-feedback.bash \
+ %{buildroot}/%{bash_completions_dir}/fedora-update-feedback.bash
+install -Dpm 0644 target/release/build/%{crate}-*/out/fedora-update-feedback.fish \
+ %{buildroot}/%{fish_completions_dir}/fedora-update-feedback.fish
+install -Dpm 0644 target/release/build/%{crate}-*/out/_fedora-update-feedback \
+ %{buildroot}/%{zsh_completions_dir}/_fedora-update-feedback
%if %{with check}
%check
diff --git a/sources b/sources
index 754d167..2c2d83a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (fedora-update-feedback-2.0.2.crate) = b45c91655ab53f16b33956629174198c10e3c0abcb8aa446c9fbc9c88df4e51d48d9a825b2b24cb70d96d2c830cc92348b5c0f1c6969f049c4a7805cf37736a2
+SHA512 (fedora-update-feedback-2.1.1.crate) = 87ac412c2b4050cd1b6c12f78892e81acaca44725bb19d69d415e7404eac54a179ffd857c16dde4e26f865f921c070c60b6a0cbafe1eb1960d8a29230aad1bd5
commit 62737fd6de952c8a2d852f377d5c74cf9b34a118
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Sat Feb 4 23:54:51 2023 +0100
Rebuild for fixed frame pointer compiler flags in Rust RPM macros
commit ea7a45d191f204d7f87e48de35ea54643a8f3132
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jan 20 22:49:51 2023 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
The package rpms/rust-fedora-update-feedback.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-fedora-update-feedback.git/com….
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit c255cf0291b482d989d60fae7c43aef5e90b0d65
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Sat Mar 18 14:45:52 2023 +0100
Update to version 2.1.1; Fixes RHBZ#2177100
diff --git a/.gitignore b/.gitignore
index 7d41e50..50b76df 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,3 +17,4 @@
/fedora-update-feedback-2.0.0.crate
/fedora-update-feedback-2.0.1.crate
/fedora-update-feedback-2.0.2.crate
+/fedora-update-feedback-2.1.1.crate
diff --git a/LICENSE.dependencies b/LICENSE.dependencies
deleted file mode 100644
index 42325a4..0000000
--- a/LICENSE.dependencies
+++ /dev/null
@@ -1,217 +0,0 @@
-(ASL 2.0 or MIT) and BSD: rust-encoding_rs 0.8.31
-0BSD or MIT or ASL 2.0: rust-adler 1.0.2
-ASL 2.0 or Boost: rust-ryu 1.0.10
-ASL 2.0 or MIT: rust-addr2line 0.17.0
-ASL 2.0 or MIT: rust-async-io 1.7.0
-ASL 2.0 or MIT: rust-autocfg 1.1.0
-ASL 2.0 or MIT: rust-cache-padded 1.2.0
-ASL 2.0 or MIT: rust-concurrent-queue 1.2.2
-ASL 2.0 or MIT: rust-fastrand 1.7.0
-ASL 2.0 or MIT: rust-fnv 1.0.7
-ASL 2.0 or MIT: rust-futures-lite 1.12.0
-ASL 2.0 or MIT: rust-gimli 0.26.1
-ASL 2.0 or MIT: rust-hashbrown 0.11.2
-ASL 2.0 or MIT: rust-indexmap 1.8.2
-ASL 2.0 or MIT: rust-nb-connect 1.2.0
-ASL 2.0 or MIT: rust-object 0.27.1
-ASL 2.0 or MIT: rust-parking 2.0.0
-ASL 2.0 or MIT: rust-pin-project-lite 0.2.9
-ASL 2.0 or MIT: rust-polling 2.2.0
-ASL 2.0 or MIT: rust-proc-macro-crate 1.1.3
-ASL 2.0 or MIT: rust-proc-macro-crate0.1 0.1.5
-ASL 2.0 or MIT: rust-signal-hook-registry 1.4.0
-ASL 2.0 or MIT: rust-structopt 0.3.25
-ASL 2.0 or MIT: rust-structopt-derive 0.4.18
-ASL 2.0 or MIT: rust-utf8parse 0.2.0
-ASL 2.0 or MIT: rust-waker-fn 1.1.0
-ASL 2.0: rust-openssl 0.10.41
-ASL 2.0: rust-rpassword 5.0.1
-ASL 2.0: rust-unicode-linebreak 0.1.2
-BSD: rust-alloc-no-stdlib 2.0.3
-BSD: rust-alloc-stdlib 0.2.1
-BSD: rust-brotli 3.3.3
-BSD: rust-brotli-decompressor 2.3.2
-BSD: rust-subtle 2.4.1
-MIT or ASL 2.0 or zlib: rust-tinyvec_macros 0.1.0
-MIT or ASL 2.0: rust-aes0.7 0.7.5
-MIT or ASL 2.0: rust-async-compression 0.3.12
-MIT or ASL 2.0: rust-async-trait 0.1.56
-MIT or ASL 2.0: rust-backtrace 0.3.64
-MIT or ASL 2.0: rust-base64 0.13.0
-MIT or ASL 2.0: rust-bitflags 1.3.2
-MIT or ASL 2.0: rust-block-buffer0.9 0.9.0
-MIT or ASL 2.0: rust-block-modes 0.8.1
-MIT or ASL 2.0: rust-block-padding0.2 0.2.1
-MIT or ASL 2.0: rust-bodhi 2.0.1
-MIT or ASL 2.0: rust-cc 1.0.73
-MIT or ASL 2.0: rust-cfg-if 1.0.0
-MIT or ASL 2.0: rust-chrono 0.4.19
-MIT or ASL 2.0: rust-cipher0.3 0.3.0
-MIT or ASL 2.0: rust-cookie 0.16.0
-MIT or ASL 2.0: rust-cookie_store 0.16.1
-MIT or ASL 2.0: rust-cpufeatures 0.2.2
-MIT or ASL 2.0: rust-crc32fast 1.3.2
-MIT or ASL 2.0: rust-crypto-mac 0.11.1
-MIT or ASL 2.0: rust-derivative 2.2.0
-MIT or ASL 2.0: rust-digest0.9 0.9.0
-MIT or ASL 2.0: rust-dirs 4.0.0
-MIT or ASL 2.0: rust-dirs-next 2.0.0
-MIT or ASL 2.0: rust-dirs-sys 0.3.7
-MIT or ASL 2.0: rust-dirs-sys-next 0.1.2
-MIT or ASL 2.0: rust-either 1.7.0
-MIT or ASL 2.0: rust-enum-as-inner 0.4.0
-MIT or ASL 2.0: rust-enum-as-inner0.3 0.3.4
-MIT or ASL 2.0: rust-enumflags2_0.6 0.6.4
-MIT or ASL 2.0: rust-enumflags2_derive0.6 0.6.4
-MIT or ASL 2.0: rust-env_logger 0.9.0
-MIT or ASL 2.0: rust-fd-lock 2.0.0
-MIT or ASL 2.0: rust-fedora 2.0.2
-MIT or ASL 2.0: rust-flate2 1.0.22
-MIT or ASL 2.0: rust-foreign-types-shared0.1 0.1.1
-MIT or ASL 2.0: rust-foreign-types0.3 0.3.2
-MIT or ASL 2.0: rust-form_urlencoded 1.0.1
-MIT or ASL 2.0: rust-futures 0.3.21
-MIT or ASL 2.0: rust-futures-channel 0.3.21
-MIT or ASL 2.0: rust-futures-core 0.3.21
-MIT or ASL 2.0: rust-futures-executor 0.3.21
-MIT or ASL 2.0: rust-futures-io 0.3.21
-MIT or ASL 2.0: rust-futures-macro 0.3.21
-MIT or ASL 2.0: rust-futures-sink 0.3.21
-MIT or ASL 2.0: rust-futures-task 0.3.21
-MIT or ASL 2.0: rust-futures-util 0.3.21
-MIT or ASL 2.0: rust-getrandom 0.2.7
-MIT or ASL 2.0: rust-heck 0.4.0
-MIT or ASL 2.0: rust-heck0.3 0.3.3
-MIT or ASL 2.0: rust-hkdf0.11 0.11.0
-MIT or ASL 2.0: rust-hmac0.11 0.11.0
-MIT or ASL 2.0: rust-http 0.2.8
-MIT or ASL 2.0: rust-httparse 1.7.1
-MIT or ASL 2.0: rust-httpdate 1.0.2
-MIT or ASL 2.0: rust-humantime 2.1.0
-MIT or ASL 2.0: rust-hyper-tls 0.5.0
-MIT or ASL 2.0: rust-idna 0.2.3
-MIT or ASL 2.0: rust-ipnet 2.5.0
-MIT or ASL 2.0: rust-itoa 1.0.2
-MIT or ASL 2.0: rust-lazy_static 1.4.0
-MIT or ASL 2.0: rust-libc 0.2.126
-MIT or ASL 2.0: rust-linked-hash-map 0.5.4
-MIT or ASL 2.0: rust-lock_api 0.4.7
-MIT or ASL 2.0: rust-log 0.4.17
-MIT or ASL 2.0: rust-lru-cache 0.1.2
-MIT or ASL 2.0: rust-match_cfg 0.1.0
-MIT or ASL 2.0: rust-mime 0.3.16
-MIT or ASL 2.0: rust-native-tls 0.2.10
-MIT or ASL 2.0: rust-num 0.4.0
-MIT or ASL 2.0: rust-num-bigint 0.4.3
-MIT or ASL 2.0: rust-num-complex 0.4.1
-MIT or ASL 2.0: rust-num-integer 0.1.45
-MIT or ASL 2.0: rust-num-iter 0.1.43
-MIT or ASL 2.0: rust-num-rational 0.4.1
-MIT or ASL 2.0: rust-num-traits 0.2.15
-MIT or ASL 2.0: rust-num_cpus 1.13.1
-MIT or ASL 2.0: rust-num_threads 0.1.6
-MIT or ASL 2.0: rust-once_cell 1.13.0
-MIT or ASL 2.0: rust-opaque-debug 0.3.0
-MIT or ASL 2.0: rust-openssl-macros 0.1.0
-MIT or ASL 2.0: rust-openssl-probe 0.1.5
-MIT or ASL 2.0: rust-parking_lot 0.12.1
-MIT or ASL 2.0: rust-parking_lot_core 0.9.3
-MIT or ASL 2.0: rust-percent-encoding 2.1.0
-MIT or ASL 2.0: rust-pin-utils 0.1.0
-MIT or ASL 2.0: rust-pkg-config 0.3.25
-MIT or ASL 2.0: rust-ppv-lite86 0.2.16
-MIT or ASL 2.0: rust-proc-macro-error 1.0.4
-MIT or ASL 2.0: rust-proc-macro-error-attr 1.0.4
-MIT or ASL 2.0: rust-proc-macro-hack 0.5.19
-MIT or ASL 2.0: rust-proc-macro2 1.0.40
-MIT or ASL 2.0: rust-psl-types 2.0.10
-MIT or ASL 2.0: rust-publicsuffix 2.1.1
-MIT or ASL 2.0: rust-quick-error1 1.2.3
-MIT or ASL 2.0: rust-quote 1.0.20
-MIT or ASL 2.0: rust-rand 0.8.5
-MIT or ASL 2.0: rust-rand_chacha 0.3.1
-MIT or ASL 2.0: rust-rand_core 0.6.3
-MIT or ASL 2.0: rust-regex 1.6.0
-MIT or ASL 2.0: rust-regex-syntax 0.6.27
-MIT or ASL 2.0: rust-reqwest 0.11.11
-MIT or ASL 2.0: rust-resolv-conf 0.7.0
-MIT or ASL 2.0: rust-rustc-demangle 0.1.21
-MIT or ASL 2.0: rust-scoped-tls 1.0.0
-MIT or ASL 2.0: rust-scopeguard 1.1.0
-MIT or ASL 2.0: rust-secret-service 2.0.2
-MIT or ASL 2.0: rust-serde 1.0.139
-MIT or ASL 2.0: rust-serde_derive 1.0.139
-MIT or ASL 2.0: rust-serde_json 1.0.82
-MIT or ASL 2.0: rust-serde_repr 0.1.8
-MIT or ASL 2.0: rust-serde_url_params 0.2.1
-MIT or ASL 2.0: rust-serde_urlencoded 0.7.1
-MIT or ASL 2.0: rust-sha2_0.9 0.9.9
-MIT or ASL 2.0: rust-smallvec 1.9.0
-MIT or ASL 2.0: rust-socket2 0.4.4
-MIT or ASL 2.0: rust-static_assertions 1.1.0
-MIT or ASL 2.0: rust-syn 1.0.98
-MIT or ASL 2.0: rust-term_size 0.3.2
-MIT or ASL 2.0: rust-thiserror 1.0.31
-MIT or ASL 2.0: rust-thiserror-impl 1.0.31
-MIT or ASL 2.0: rust-time 0.3.11
-MIT or ASL 2.0: rust-time-macros 0.2.4
-MIT or ASL 2.0: rust-time0.1 0.1.44
-MIT or ASL 2.0: rust-tokio-openssl 0.6.3
-MIT or ASL 2.0: rust-toml 0.5.9
-MIT or ASL 2.0: rust-trust-dns-proto 0.21.2
-MIT or ASL 2.0: rust-trust-dns-resolver 0.21.2
-MIT or ASL 2.0: rust-typenum 1.15.0
-MIT or ASL 2.0: rust-unicase 2.6.0
-MIT or ASL 2.0: rust-unicode-bidi 0.3.8
-MIT or ASL 2.0: rust-unicode-ident 1.0.1
-MIT or ASL 2.0: rust-unicode-normalization 0.1.21
-MIT or ASL 2.0: rust-unicode-segmentation 1.9.0
-MIT or ASL 2.0: rust-unicode-width 0.1.9
-MIT or ASL 2.0: rust-url 2.2.2
-MIT or ASL 2.0: rust-vec_map 0.8.2
-MIT or ASL 2.0: rust-version_check 0.9.4
-MIT or zlib or ASL 2.0: rust-miniz_oxide 0.4.4
-MIT: rust-ansi_term 0.12.1
-MIT: rust-atty 0.2.14
-MIT: rust-bytes 1.1.0
-MIT: rust-clap2 2.34.0
-MIT: rust-data-encoding 2.3.2
-MIT: rust-endian-type 0.1.2
-MIT: rust-generic-array 0.14.5
-MIT: rust-h2 0.3.13
-MIT: rust-hostname 0.3.1
-MIT: rust-http-body 0.4.5
-MIT: rust-hyper 0.14.20
-MIT: rust-matches 0.1.9
-MIT: rust-memoffset 0.6.5
-MIT: rust-mime_guess 2.0.3
-MIT: rust-mio 0.8.4
-MIT: rust-nibble_vec 0.1.0
-MIT: rust-nix0.20 0.20.2
-MIT: rust-openssl-sys 0.9.75
-MIT: rust-radix_trie 0.2.1
-MIT: rust-rustyline 8.2.0
-MIT: rust-slab 0.4.6
-MIT: rust-smawk 0.3.1
-MIT: rust-strsim 0.10.0
-MIT: rust-textwrap0.11 0.11.0
-MIT: rust-textwrap0.14 0.14.2
-MIT: rust-tokio 1.20.0
-MIT: rust-tokio-macros 1.8.0
-MIT: rust-tokio-native-tls 0.3.0
-MIT: rust-tokio-socks 0.5.1
-MIT: rust-tokio-util 0.7.3
-MIT: rust-tower-service 0.3.2
-MIT: rust-tracing 0.1.35
-MIT: rust-tracing-core 0.1.28
-MIT: rust-try-lock 0.2.3
-MIT: rust-want 0.3.0
-MIT: rust-zbus 1.9.2
-MIT: rust-zbus_macros 1.9.2
-MIT: rust-zvariant 2.10.0
-MIT: rust-zvariant_derive 2.10.0
-Unlicense or MIT: rust-aho-corasick 0.7.18
-Unlicense or MIT: rust-byteorder 1.4.3
-Unlicense or MIT: rust-memchr 2.5.0
-Unlicense or MIT: rust-termcolor 1.1.3
-zlib or ASL 2.0 or MIT: rust-tinyvec 1.6.0
diff --git a/rust-fedora-update-feedback.spec b/rust-fedora-update-feedback.spec
index 94833d4..b488faa 100644
--- a/rust-fedora-update-feedback.spec
+++ b/rust-fedora-update-feedback.spec
@@ -1,25 +1,21 @@
-# Generated by rust2rpm 21
+# Generated by rust2rpm 24
%bcond_without check
+%global crate fedora-update-feedback
+
# reduce debuginfo verbosity to work around rustc OOM problems on 32-bit arches
%global rustflags_debuginfo 1
-%global crate fedora-update-feedback
-
-Name: rust-%{crate}
-Version: 2.0.2
+Name: rust-fedora-update-feedback
+Version: 2.1.1
Release: %autorelease
Summary: Provide feedback for Fedora updates (inspired by fedora-easy-karma)
-# 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/fedora-update-feedback
-Source0: %{crates_source}
-Source1: LICENSE.dependencies
-
-ExclusiveArch: %{rust_arches}
+Source: %{crates_source}
-BuildRequires: rust-packaging >= 21
+BuildRequires: rust-packaging >= 23
%global _description %{expand:
Provide feedback for Fedora updates (inspired by fedora-easy-karma).}
@@ -28,19 +24,21 @@ Provide feedback for Fedora updates (inspired by fedora-easy-karma).}
%package -n %{crate}
Summary: %{summary}
-# (ASL 2.0 or MIT) and BSD
-# 0BSD or MIT or ASL 2.0
-# ASL 2.0
-# ASL 2.0 or Boost
-# ASL 2.0 or MIT
-# BSD
+# nano is the fallback in case no editor is configured
+Recommends: nano
+# (Apache-2.0 OR MIT) AND BSD-3-Clause
+# (MIT OR Apache-2.0) AND Unicode-DFS-2016
+# Apache-2.0
+# Apache-2.0 OR BSL-1.0
+# Apache-2.0 OR MIT
+# Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
+# BSD-3-Clause
# MIT
-# MIT or ASL 2.0
-# MIT or ASL 2.0 or zlib
-# MIT or zlib or ASL 2.0
-# Unlicense or MIT
-# zlib or ASL 2.0 or MIT
-License: ASL 2.0 and BSD and MIT
+# MIT OR Apache-2.0
+# MIT OR Apache-2.0 OR Zlib
+# Unlicense OR MIT
+# Zlib OR Apache-2.0 OR MIT
+License: Apache-2.0 AND BSD-3-Clause AND MIT AND Unicode-DFS-2016
# LICENSE.dependencies contains a full license breakdown
%description -n %{crate} %{_description}
@@ -52,13 +50,12 @@ License: ASL 2.0 and BSD and MIT
%doc NEWS.md
%doc README.md
%{_bindir}/fedora-update-feedback
-%dir %{_datadir}/bash-completion
-%dir %{_datadir}/bash-completion/completions
-%{_datadir}/bash-completion/completions/%{crate}.bash
+%{bash_completions_dir}/fedora-update-feedback.bash
+%{fish_completions_dir}/fedora-update-feedback.fish
+%{zsh_completions_dir}/_fedora-update-feedback
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
-cp %{SOURCE1} .
%cargo_prep
%generate_buildrequires
@@ -66,11 +63,19 @@ cp %{SOURCE1} .
%build
%cargo_build
+# write license summary and breakdown
+%cargo_license_summary
+%{cargo_license} > LICENSE.dependencies
%install
%cargo_install
-install -D -p -m 0644 -t %{buildroot}%{_datadir}/bash-completion/completions \
- target/release/build/%{crate}-*/out/%{crate}.bash
+# install shell completions
+install -Dpm 0644 target/release/build/%{crate}-*/out/fedora-update-feedback.bash \
+ %{buildroot}/%{bash_completions_dir}/fedora-update-feedback.bash
+install -Dpm 0644 target/release/build/%{crate}-*/out/fedora-update-feedback.fish \
+ %{buildroot}/%{fish_completions_dir}/fedora-update-feedback.fish
+install -Dpm 0644 target/release/build/%{crate}-*/out/_fedora-update-feedback \
+ %{buildroot}/%{zsh_completions_dir}/_fedora-update-feedback
%if %{with check}
%check
diff --git a/sources b/sources
index 754d167..2c2d83a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (fedora-update-feedback-2.0.2.crate) = b45c91655ab53f16b33956629174198c10e3c0abcb8aa446c9fbc9c88df4e51d48d9a825b2b24cb70d96d2c830cc92348b5c0f1c6969f049c4a7805cf37736a2
+SHA512 (fedora-update-feedback-2.1.1.crate) = 87ac412c2b4050cd1b6c12f78892e81acaca44725bb19d69d415e7404eac54a179ffd857c16dde4e26f865f921c070c60b6a0cbafe1eb1960d8a29230aad1bd5
The package rpms/rust-bodhi.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-bodhi.git/commit/?id=bb4f04553….
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit bb4f04553488bbb5ec1e4bd324eadcf0a050ac9e
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Sat Mar 18 14:44:56 2023 +0100
Update to version 2.1.1; Fixes RHBZ#2177099
diff --git a/.gitignore b/.gitignore
index 3c2bff5..0583867 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,3 +13,4 @@
/bodhi-1.1.1.crate
/bodhi-2.0.0.crate
/bodhi-2.0.1.crate
+/bodhi-2.1.1.crate
diff --git a/rust-bodhi.spec b/rust-bodhi.spec
index eac5484..60e3ee3 100644
--- a/rust-bodhi.spec
+++ b/rust-bodhi.spec
@@ -1,21 +1,18 @@
-# Generated by rust2rpm 21
+# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate bodhi
-Name: rust-%{crate}
-Version: 2.0.1
+Name: rust-bodhi
+Version: 2.1.1
Release: %autorelease
Summary: Bodhi REST API client
-# 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/bodhi
Source: %{crates_source}
-ExclusiveArch: %{rust_arches}
-
BuildRequires: rust-packaging >= 21
%global _description %{expand:
@@ -89,6 +86,8 @@ use the "online-tests" feature of the "%{crate}" crate.
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
+# * remove example binaries: they take a long time to build
+rm -r examples/
%cargo_prep
%generate_buildrequires
@@ -102,7 +101,8 @@ use the "online-tests" feature of the "%{crate}" crate.
%if %{with check}
%check
-%cargo_test
+# * skip doctests: they take a long time and tons of memory to build
+%cargo_test -- --lib
%endif
%changelog
diff --git a/sources b/sources
index 8a2d8f5..6f2cb25 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (bodhi-2.0.1.crate) = ca9c821b327e506163cd1751c3ca2d600cfaac65106b99f9f1ce252304a52272e1de73aaa61d9410f33855964e18d9b0d4bb99d6ea318a1a9d81d081c26edf67
+SHA512 (bodhi-2.1.1.crate) = 31677680758d437ec9765c212d597897e2ecf876f3fa2e7a109cf9f1b461cf4c65b6db08f3ba6fb408ce8f4a907405af5b67f5d8cb043d14cce3887aeb99d95e