The package rpms/rust-ash.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-ash.git/commit/?id=e54a906d1e4c... https://src.fedoraproject.org/cgit/rpms/rust-ash.git/commit/?id=8de0d9c26ef4....
Change: +ExcludeArch: %{ix86} +ExcludeArch: %{xi86}
Thanks.
Full change: ============
commit e54a906d1e4cee2a109990911d81bcb9a95cf494 Author: Jonathan Steffan jsteffan@fedoraproject.org Date: Fri Aug 30 09:25:40 2024 -0600
Exclude ix86 builds
diff --git a/rust-ash.spec b/rust-ash.spec index 2314682..1552ccf 100644 --- a/rust-ash.spec +++ b/rust-ash.spec @@ -18,7 +18,7 @@ Patch: ash-fix-metadata-auto.diff
# Repo tracked bindings don't pass tests on i686 # Revisit running the custom generator in the future -ExcludeArch: %{xi86} +ExcludeArch: %{ix86}
BuildRequires: cargo-rpm-macros >= 24
commit 8de0d9c26ef4c9e5cae183bc75dde2cd9d55abb7 Author: Jonathan Steffan jsteffan@fedoraproject.org Date: Fri Aug 30 09:13:54 2024 -0600
Exclude i686 builds
diff --git a/rust-ash.spec b/rust-ash.spec index 9d71878..2314682 100644 --- a/rust-ash.spec +++ b/rust-ash.spec @@ -16,6 +16,10 @@ Source: %{crates_source %{crate} %{upstream_version}} # Automatically generated patch to strip dependencies and normalize metadata Patch: ash-fix-metadata-auto.diff
+# Repo tracked bindings don't pass tests on i686 +# Revisit running the custom generator in the future +ExcludeArch: %{xi86} + BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
commit c55149c308c8bb17673ebddeb262d99125724660 Author: Jonathan Steffan jsteffan@fedoraproject.org Date: Tue Aug 27 16:54:14 2024 -0600
Initial import (fedora#2304221).
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4847ab8 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/ash-0.38.0+1.3.281.crate diff --git a/ash-fix-metadata-auto.diff b/ash-fix-metadata-auto.diff new file mode 100644 index 0000000..181b49d --- /dev/null +++ b/ash-fix-metadata-auto.diff @@ -0,0 +1,16 @@ +--- ash-0.38.0+1.3.281/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ ash-0.38.0+1.3.281/Cargo.toml 2024-08-27T22:53:17.927438+00:00 +@@ -13,7 +13,7 @@ + edition = "2021" + rust-version = "1.69.0" + name = "ash" +-version = "0.38.0+1.3.281" ++version = "0.38.0" + authors = [ + "Maik Klein maikklein@googlemail.com", + "Benjamin Saunders ben.e.saunders@gmail.com", +@@ -64,3 +64,4 @@ + "std", + ] + std = [] ++ diff --git a/rust-ash.spec b/rust-ash.spec new file mode 100644 index 0000000..9d71878 --- /dev/null +++ b/rust-ash.spec @@ -0,0 +1,135 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate ash +%global upstream_version 0.38.0+1.3.281 + +Name: rust-ash +Version: 0.38.0 +Release: %autorelease +Summary: Vulkan bindings for Rust + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/ash +Source: %{crates_source %{crate} %{upstream_version}} +# Automatically generated patch to strip dependencies and normalize metadata +Patch: ash-fix-metadata-auto.diff + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Vulkan bindings for Rust.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{crate}" crate. + +%files devel +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%{crate_instdir}/ + +%package -n %{name}+default-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+default-devel %{_description} + +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 %{crate_instdir}/Cargo.toml + +%package -n %{name}+debug-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+debug-devel %{_description} + +This package contains library source intended for building other packages which +use the "debug" feature of the "%{crate}" crate. + +%files -n %{name}+debug-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+libloading-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+libloading-devel %{_description} + +This package contains library source intended for building other packages which +use the "libloading" feature of the "%{crate}" crate. + +%files -n %{name}+libloading-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+linked-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+linked-devel %{_description} + +This package contains library source intended for building other packages which +use the "linked" feature of the "%{crate}" crate. + +%files -n %{name}+linked-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+loaded-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+loaded-devel %{_description} + +This package contains library source intended for building other packages which +use the "loaded" feature of the "%{crate}" crate. + +%files -n %{name}+loaded-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. + +%files -n %{name}+std-devel +%ghost %{crate_instdir}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{upstream_version} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +# * Skip the doctests due to some tests failing to build, unable to skip failing +# tests correctly +%cargo_test -- --lib +%cargo_test -- --tests +%endif + +%changelog +%autochangelog diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..c259c0a --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,5 @@ +[tests] +comments = [ + "Skip the doctests due to some tests failing to build, unable to skip failing tests correctly", +] +run = ["lib", "tests"] diff --git a/sources b/sources new file mode 100644 index 0000000..4a28798 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (ash-0.38.0+1.3.281.crate) = 9f6ca2bf4fc5df43091c2d41b9c54d26d9b1682ba618895d82106c61e3ea3281065d3f0f50675f95d2db7846277144c57b3c4aab8e4d84b9536ef44ee89b5984
arch-excludes@lists.fedoraproject.org