The package rpms/rust-protobuf-codegen.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-protobuf-codegen.git/commit/?id....
Change: -ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 919b266847a828421ee7e5cd5b2751bce2d7e663 Author: Fabio Valentini decathorpe@gmail.com Date: Tue May 23 23:37:16 2023 +0200
Update to version 2.28.0
diff --git a/.gitignore b/.gitignore index ca77f34..525fc97 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ /protobuf-codegen-2.24.2.crate /protobuf-codegen-2.25.1.crate /protobuf-codegen-2.25.2.crate +/protobuf-codegen-2.28.0.crate diff --git a/README.md b/README.md deleted file mode 100644 index c904429..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-protobuf-codegen - -The rust-protobuf-codegen package \ No newline at end of file diff --git a/protobuf-codegen-fix-metadata.diff b/protobuf-codegen-fix-metadata.diff new file mode 100644 index 0000000..1c9bbcc --- /dev/null +++ b/protobuf-codegen-fix-metadata.diff @@ -0,0 +1,26 @@ +--- protobuf-codegen-2.28.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ protobuf-codegen-2.28.0/Cargo.toml 2023-05-23T21:28:46.221469+00:00 +@@ -24,6 +24,7 @@ + readme = "README.md" + license = "MIT" + repository = "https://github.com/stepancheg/rust-protobuf/" ++autobins = false + + [package.metadata.docs.rs] + all-features = true +@@ -31,15 +32,5 @@ + [lib] + bench = false + +-[[bin]] +-name = "protoc-gen-rust" +-path = "src/bin/protoc-gen-rust.rs" +-test = false +- +-[[bin]] +-name = "protobuf-bin-gen-rust-do-not-use" +-path = "src/bin/protobuf-bin-gen-rust-do-not-use.rs" +-test = false +- + [dependencies.protobuf] + version = "=2.28.0" diff --git a/rust-protobuf-codegen.spec b/rust-protobuf-codegen.spec index 603d2f7..c111139 100644 --- a/rust-protobuf-codegen.spec +++ b/rust-protobuf-codegen.spec @@ -1,58 +1,42 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 24 %bcond_without check +%global debug_package %{nil}
%global crate protobuf-codegen
-Name: rust-%{crate} -Version: 2.25.2 +Name: rust-protobuf-codegen +Version: 2.28.0 Release: %autorelease Summary: Code generator for rust-protobuf
-# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/protobuf-codegen Source: %{crates_source} +# Manually created patch for downstream crate metadata changes +# * drop unused protoc-gen-rust and protobuf-bin-gen-rust-do-not-use executables +Patch: protobuf-codegen-fix-metadata.diff
-ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21
%global _description %{expand: -Code generator for rust-protobuf. -Includes a library and `protoc-gen-rust` binary. -See `protoc-rust` and `protobuf-codegen-pure` crates.} +Code generator for rust-protobuf. Includes a library and `protoc-gen- +rust` binary. See `protoc-rust` and `protobuf-codegen-pure` crates.}
%description %{_description}
-%if ! %{__cargo_skip_build} -%package -n %{crate} -Summary: %{summary} - -%description -n %{crate} %{_description} - -%files -n %{crate} -%license LICENSE.txt -%doc README.md -%{_bindir}/protoc-gen-rust -%{_bindir}/protobuf-bin-gen-rust-do-not-use -%endif - %package devel Summary: %{summary} BuildArch: noarch
%description devel %{_description}
-This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate.
%files devel -%license LICENSE.txt -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE.txt +%doc %{crate_instdir}/README.md +%{crate_instdir}/
%package -n %{name}+default-devel Summary: %{summary} @@ -60,11 +44,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description}
-This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml
%prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 44553a3..a74a1e4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (protobuf-codegen-2.25.2.crate) = 7093fc91e217e7b79150abc6c86a0e8c9aab6d78131112d9e790d8b482c68356f2c7276f1608c1340a585939841a57fcc181ec5945641315955d2b01764ad43b +SHA512 (protobuf-codegen-2.28.0.crate) = 5b23b4987f2a7a080dd93842e63ab58e8b95e4a2d78de3e4af7ef863f8d6c359b989cbc6c0a6e0853803d903f66a43021598814efbe85a8d712320e38f9485eb
commit ea24e1b58ef235fdc2f59f4cbab68441ebd35f00 Author: Fabio Valentini decathorpe@gmail.com Date: Sun Feb 5 00:18:50 2023 +0100
Rebuild for fixed frame pointer compiler flags in Rust RPM macros
commit ea954bfc098db9a2caeb45e9753aaf74c032943f Author: Fedora Release Engineering releng@fedoraproject.org Date: Sat Jan 21 00:44:04 2023 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering releng@fedoraproject.org
arch-excludes@lists.fedoraproject.org