The package rpms/rust-blosc2-rs.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-blosc2-rs.git/commit/?id=2aa9ee....
Change: -%ifnarch s390x
Thanks.
Full change: ============
commit 2aa9eee34b1694dc06a2fb3b1567c78f2f4d9b0a Author: Benjamin A. Beasley code@musicinmybrain.net Date: Tue Feb 25 10:12:40 2025 -0500
No longer required for rust-libcramjam-0.7 (experimental features disabled), and rust-libcramjam0.6 is now retired. Furthermore, there are unresolved unsoundness issues; see https://github.com/milesgranger/blosc2-rs/issues/32 and the discussion in https://github.com/milesgranger/blosc2-rs/pull/34.
diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 94bf3b5..0000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/blosc2-rs-0.3.1+2.15.1-clean.crate -/blosc2-rs-0.4.0+2.15.2.crate diff --git a/README.md b/README.md deleted file mode 100644 index 7f5fa01..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-blosc2-rs - -The rust-blosc2-rs package diff --git a/blosc2-rs-fix-metadata-auto.diff b/blosc2-rs-fix-metadata-auto.diff deleted file mode 100644 index 7c7622c..0000000 --- a/blosc2-rs-fix-metadata-auto.diff +++ /dev/null @@ -1,16 +0,0 @@ ---- blosc2-rs-0.4.0+2.15.2/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ blosc2-rs-0.4.0+2.15.2/Cargo.toml 2025-01-14T18:24:26.104650+00:00 -@@ -12,7 +12,7 @@ - [package] - edition = "2021" - name = "blosc2-rs" --version = "0.4.0+2.15.2" -+version = "0.4.0" - build = false - exclude = [ - ".gitignore", -@@ -71,3 +71,4 @@ - shared = ["blosc2-sys/shared"] - static = ["blosc2-sys/static"] - use-system-blosc2 = ["blosc2-sys/use-system-blosc2"] -+ diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..561d2d1 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +No longer required for rust-libcramjam-0.7 (experimental features disabled), and rust-libcramjam0.6 is now retired. Furthermore, there are unresolved unsoundness issues; see https://github.com/milesgranger/blosc2-rs/issues/32 and the discussion in https://github.com/milesgranger/blosc2-rs/pull/34. diff --git a/rust-blosc2-rs.rpmlintrc b/rust-blosc2-rs.rpmlintrc deleted file mode 100644 index 0244557..0000000 --- a/rust-blosc2-rs.rpmlintrc +++ /dev/null @@ -1,2 +0,0 @@ -# Feature metapackages are not supposed to have documentation! -addFilter(r"+[-_\w]+-devel.noarch: W: no-documentation") diff --git a/rust-blosc2-rs.spec b/rust-blosc2-rs.spec deleted file mode 100644 index 4c91614..0000000 --- a/rust-blosc2-rs.spec +++ /dev/null @@ -1,168 +0,0 @@ -# Generated by rust2rpm 27 -%bcond check 1 -%global debug_package %{nil} - -%global crate blosc2-rs -%global crate_version 0.4.0+2.15.2 - -Name: rust-blosc2-rs -Version: 0.4.0 -Release: %autorelease -Summary: Bindings to C Blosc2 - -License: MIT -URL: https://crates.io/crates/blosc2-rs -Source: %{crates_source %{crate} %{crate_version}} -# Automatically generated patch to strip dependencies and normalize metadata -Patch: blosc2-rs-fix-metadata-auto.diff - -BuildRequires: cargo-rpm-macros >= 24 -BuildRequires: tomcli - -%global _description %{expand: -Bindings to C Blosc2.} - -%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 -%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}+prefer-external-lz4-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+prefer-external-lz4-devel %{_description} - -This package contains library source intended for building other packages which -use the "prefer-external-lz4" feature of the "%{crate}" crate. - -%files -n %{name}+prefer-external-lz4-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+prefer-external-zlib-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+prefer-external-zlib-devel %{_description} - -This package contains library source intended for building other packages which -use the "prefer-external-zlib" feature of the "%{crate}" crate. - -%files -n %{name}+prefer-external-zlib-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+prefer-external-zstd-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+prefer-external-zstd-devel %{_description} - -This package contains library source intended for building other packages which -use the "prefer-external-zstd" feature of the "%{crate}" crate. - -%files -n %{name}+prefer-external-zstd-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+regenerate-bindings-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+regenerate-bindings-devel %{_description} - -This package contains library source intended for building other packages which -use the "regenerate-bindings" feature of the "%{crate}" crate. - -%files -n %{name}+regenerate-bindings-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+shared-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+shared-devel %{_description} - -This package contains library source intended for building other packages which -use the "shared" feature of the "%{crate}" crate. - -%files -n %{name}+shared-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+use-system-blosc2-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+use-system-blosc2-devel %{_description} - -This package contains library source intended for building other packages which -use the "use-system-blosc2" feature of the "%{crate}" crate. - -%files -n %{name}+use-system-blosc2-devel -%ghost %{crate_instdir}/Cargo.toml - -%prep -%autosetup -n %{crate}-%{crate_version} -p1 -%cargo_prep -# Do not depend on criterion; it is needed only for benchmarks. -tomcli set Cargo.toml del dev-dependencies.criterion - -%generate_buildrequires -%cargo_generate_buildrequires - -%build -%cargo_build - -%install -%cargo_install - -%if %{with check} -%check -%ifnarch s390x -# * Do not test that the blosc2-sys bidings were generated against the exact -# version of c-blosc2 that upstream expects; we always use the system blosc2, -# whatever that may be. -%cargo_test -- -- --exact --skip tests::test_get_version_string -%else -skip="${skip-} --skip tests::test_get_version_string" -# Even after serious effort by upstream (see -# https://github.com/milesgranger/blosc2-rs/issues/23), several tests still -# fail on s390x. This would seem to justify making this package ExcludeArch, -# but that would have a ripple effect on python-cramjam and a whole tree of -# packages that depend on it, and which probably do not even use its blosc2 -# support. We consider that outcome even worse than shipping broken blosc2 -# support on s390x. Note that the endianness issues are probably in the C -# blosc2 library (and that the blosc2 packages ignores any and all test -# failures on s390x), and see also: -# https://github.com/Blosc/c-blosc2/issues/467. -skip="${skip-} --skip schunk::Chunk::decompress" -skip="${skip-} --skip schunk::Chunk::repeatval" -skip="${skip-} --skip schunk::Chunk::uninit" -skip="${skip-} --skip schunk::Chunk::zeros" -%cargo_test -- -- ${skip-} -%endif -%endif - -%changelog -%autochangelog diff --git a/rust2rpm.toml b/rust2rpm.toml deleted file mode 100644 index 205a5f0..0000000 --- a/rust2rpm.toml +++ /dev/null @@ -1,63 +0,0 @@ -[package] -# The summary in the crate is simply "Blosc2"; this seems too cryptic. -summary = "Bindings to C Blosc2" -description = "Bindings to C Blosc2." - -[requires] -build = [ - "tomcli", -] - -[scripts.prep] -post = [ - "# Do not depend on criterion; it is needed only for benchmarks.", - "tomcli set Cargo.toml del dev-dependencies.criterion", -] - -[features] -hide = [ - "static", - # These features correspond to blosc2 CMake options that are *not* enabled - # in the system blosc2 package. - "deactivate-zlib-optim", - "deactivate-zlib", - "deactivate-zstd", -] - -[tests] -comments = [ - """\ - Do not test that the blosc2-sys bidings were generated against the exact \ - version of c-blosc2 that upstream expects; we always use the system blosc2, \ - whatever that may be.\ - """ -] -skip-exact = true -skip = [ - "tests::test_get_version_string", -] - -[scripts.check] -pre = [ - "%ifnarch s390x", -] -post = [ - "%else", - "skip="${skip-} --skip tests::test_get_version_string"", - "# Even after serious effort by upstream (see", - "# https://github.com/milesgranger/blosc2-rs/issues/23), several tests still", - "# fail on s390x. This would seem to justify making this package ExcludeArch,", - "# but that would have a ripple effect on python-cramjam and a whole tree of", - "# packages that depend on it, and which probably do not even use its blosc2", - "# support. We consider that outcome even worse than shipping broken blosc2", - "# support on s390x. Note that the endianness issues are probably in the C", - "# blosc2 library (and that the blosc2 packages ignores any and all test", - "# failures on s390x), and see also:", - "# https://github.com/Blosc/c-blosc2/issues/467.", - "skip="${skip-} --skip schunk::Chunk::decompress"", - "skip="${skip-} --skip schunk::Chunk::repeatval"", - "skip="${skip-} --skip schunk::Chunk::uninit"", - "skip="${skip-} --skip schunk::Chunk::zeros"", - "%cargo_test -- -- ${skip-}", - "%endif", -] diff --git a/sources b/sources deleted file mode 100644 index 06c3ef9..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (blosc2-rs-0.4.0+2.15.2.crate) = b6129a3bbde2bc1ec6fe618a689cd865dd9a8881f5dfdc388129fe4202a61f726f80b2c5156acb6b860765d46180625bad7830860ae1915b6f7aa31316722a99
arch-excludes@lists.fedoraproject.org