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=f0f9f6....
Change: -ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit f0f9f63ba87c15fd60100a15d9225a8abed27019 Author: Fabio Valentini decathorpe@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
arch-excludes@lists.fedoraproject.org