The package rpms/rust-derivative.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-derivative.git/commit/?id=04dbc....
Change: -ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 04dbc316335054cda4821012e4911ff54fe0fde1 Author: Fabio Valentini decathorpe@gmail.com Date: Tue Apr 25 17:22:49 2023 +0200
Disable test that fails with Rust 1.66+
diff --git a/README.md b/README.md deleted file mode 100644 index 5bda362..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-derivative - -The rust-derivative package diff --git a/derivative-fix-metadata.diff b/derivative-fix-metadata.diff index d77b514..d5f771d 100644 --- a/derivative-fix-metadata.diff +++ b/derivative-fix-metadata.diff @@ -1,5 +1,5 @@ ---- derivative-2.2.0/Cargo.toml.orig 2021-03-23 22:07:36.508786507 +0000 -+++ derivative-2.2.0/Cargo.toml 2021-03-23 22:07:48.094909477 +0000 +--- derivative-2.2.0/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ derivative-2.2.0/Cargo.toml 2023-04-25T15:15:51.133454+00:00 @@ -34,7 +34,7 @@ version = "1.0.3" features = ["visit", "extra-traits"] diff --git a/rust-derivative.spec b/rust-derivative.spec index 370ae9b..29862c0 100644 --- a/rust-derivative.spec +++ b/rust-derivative.spec @@ -1,29 +1,26 @@ -# Generated by rust2rpm 13 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil}
%global crate derivative
-Name: rust-%{crate} +Name: rust-derivative Version: 2.2.0 Release: %autorelease -Summary: Set of alternative `derive` attributes for Rust +Summary: Set of alternative derive attributes for Rust
# Upstream license specification: MIT/Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/derivative Source: %{crates_source} -Patch0: derivative-fix-metadata.diff +# Manually created patch for downstream crate metadata changes +# * relax broken version restriction on trybuild dev-dependency +Patch: derivative-fix-metadata.diff
-ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21
%global _description %{expand: -Set of alternative `derive` attributes for Rust.} +A set of alternative `derive` attributes for Rust.}
%description %{_description}
@@ -33,13 +30,16 @@ 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-APACHE LICENSE-MIT -%doc 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}/CONTRIBUTING.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/
%package -n %{name}+default-devel Summary: %{summary} @@ -47,11 +47,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
%package -n %{name}+use_core-devel Summary: %{summary} @@ -59,15 +59,19 @@ BuildArch: noarch
%description -n %{name}+use_core-devel %{_description}
-This package contains library source intended for building other packages -which use "use_core" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "use_core" feature of the "%{crate}" crate.
%files -n %{name}+use_core-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml
%prep %autosetup -n %{crate}-%{version_no_tilde} -p1 +# * remove stray executable bits from sources chmod -x tests/*.rs +# * drop a test that fails with Rust 1.66+: +# https://github.com/mcarton/rust-derivative/issues/106 +rm tests/derive-debug-generics.rs %cargo_prep
%generate_buildrequires
commit 3f6c5e7a8dc14b6e3ee51bf7bee1add769c36f67 Author: Fabio Valentini decathorpe@gmail.com Date: Tue Apr 25 17:15:17 2023 +0200
Convert to %autorelease and %autochangelog
[skip changelog]
diff --git a/changelog b/changelog new file mode 100644 index 0000000..d33cc2c --- /dev/null +++ b/changelog @@ -0,0 +1,21 @@ +* Fri Jan 20 2023 Fedora Release Engineering releng@fedoraproject.org - 2.2.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering releng@fedoraproject.org - 2.2.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering releng@fedoraproject.org - 2.2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Jul 27 2021 Fedora Release Engineering releng@fedoraproject.org - 2.2.0-2 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Mar 23 2021 Peter Robinson pbrobinson@fedoraproject.org - 2.2.0-1 +- Update to 2.2.0 + +* Wed Jan 27 2021 Fedora Release Engineering releng@fedoraproject.org - 2.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sun Aug 02 2020 Peter Robinson pbrobinson@fedorapeople.org - 2.1.1-1 +- Initial package diff --git a/rust-derivative.spec b/rust-derivative.spec index 89c16e1..370ae9b 100644 --- a/rust-derivative.spec +++ b/rust-derivative.spec @@ -6,7 +6,7 @@
Name: rust-%{crate} Version: 2.2.0 -Release: 5%{?dist} +Release: %autorelease Summary: Set of alternative `derive` attributes for Rust
# Upstream license specification: MIT/Apache-2.0 @@ -85,24 +85,4 @@ chmod -x tests/*.rs %endif
%changelog -* Fri Jan 20 2023 Fedora Release Engineering releng@fedoraproject.org - 2.2.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Sat Jul 23 2022 Fedora Release Engineering releng@fedoraproject.org - 2.2.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Fri Jan 21 2022 Fedora Release Engineering releng@fedoraproject.org - 2.2.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Tue Jul 27 2021 Fedora Release Engineering releng@fedoraproject.org - 2.2.0-2 -- Second attempt - Rebuilt for - https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Tue Mar 23 2021 Peter Robinson pbrobinson@fedoraproject.org - 2.2.0-1 -- Update to 2.2.0 - -* Wed Jan 27 2021 Fedora Release Engineering releng@fedoraproject.org - 2.1.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Sun Aug 02 2020 Peter Robinson pbrobinson@fedorapeople.org - 2.1.1-1 -- Initial package +%autochangelog
arch-excludes@lists.fedoraproject.org