The package rpms/rust-libcramjam0.6.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-libcramjam0.6.git/commit/?id=3f....
Change: -ExcludeArch: %{ix86}
Thanks.
Full change: ============
commit 3fe1166b541703b73cd4c52a687ba67ddd57dbd0 Author: Benjamin A. Beasley code@musicinmybrain.net Date: Tue Feb 25 10:06:18 2025 -0500
Compat package no longer required by python-cramjam
diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 4f87f66..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/libcramjam-0.6.0.crate diff --git a/README.md b/README.md deleted file mode 100644 index d5755ce..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -# rust-libcramjam0.6 - -Compression library combining a plethora of algorithms in a similar as -possible API. \ No newline at end of file diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..b4042e8 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Compat package no longer required by python-cramjam diff --git a/libcramjam-fix-metadata.diff b/libcramjam-fix-metadata.diff deleted file mode 100644 index 31a0364..0000000 --- a/libcramjam-fix-metadata.diff +++ /dev/null @@ -1,123 +0,0 @@ ---- libcramjam-0.6.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ libcramjam-0.6.0/Cargo.toml 2025-01-14T18:53:19.112316+00:00 -@@ -42,9 +42,10 @@ - [lib] - name = "libcramjam" - path = "src/lib.rs" -+crate-type = ["lib", "cdylib"] - - [dependencies.blosc2-rs] --version = "0.3.1+2.15.1" -+version = "0.4.0+2.15.2" - optional = true - default-features = false - -@@ -70,7 +71,7 @@ - optional = true - - [dependencies.libdeflate-sys] --version = "<1.20.0" -+version = "^1" - optional = true - - [dependencies.libdeflater] -@@ -94,17 +95,13 @@ - optional = true - - [build-dependencies.cbindgen] --version = "^0.24" -+version = "^0.27" - - [features] --blosc2 = ["blosc2-static"] -+blosc2 = ["blosc2-shared"] - blosc2-shared = [ - "dep:blosc2-rs", - "blosc2-rs/shared", --] --blosc2-static = [ -- "dep:blosc2-rs", -- "blosc2-rs/static", - ] - brotli = ["dep:brotli"] - bzip2 = ["dep:bzip2"] -@@ -124,47 +121,30 @@ - "izlib", - "zlib", - ] --deflate = ["deflate-static"] -+deflate = ["deflate-shared"] - deflate-shared = [ - "dep:libdeflater", - "dep:libdeflate-sys", - "dep:flate2", - "libdeflate-sys/dynamic", - ] --deflate-static = [ -- "dep:libdeflater", -- "dep:libdeflate-sys", -- "dep:flate2", --] --gzip = ["gzip-static"] -+gzip = ["gzip-shared"] - gzip-shared = [ - "dep:libdeflater", - "dep:libdeflate-sys", - "dep:flate2", - "libdeflate-sys/dynamic", - ] --gzip-static = [ -- "dep:libdeflater", -- "dep:libdeflate-sys", -- "dep:flate2", --] --ideflate = ["isal-static"] -+ideflate = ["isal-shared"] - ideflate-shared = ["isal-shared"] --ideflate-static = ["isal-static"] --igzip = ["isal-static"] -+igzip = ["isal-shared"] - igzip-shared = ["isal-shared"] --igzip-static = ["isal-static"] - isal-shared = [ - "dep:isal-rs", - "isal-rs/shared", - ] --isal-static = [ -- "dep:isal-rs", -- "isal-rs/static", --] --izlib = ["isal-static"] -+izlib = ["isal-shared"] - izlib-shared = ["isal-shared"] --izlib-static = ["isal-static"] - lz4 = ["dep:lz4"] - snappy = ["dep:snap"] - use-system-blosc2 = [ -@@ -175,24 +155,14 @@ - "dep:isal-rs", - "isal-rs/use-system-isal", - ] --wasm32-compat = ["blosc2-rs/deactivate-zlib-optim"] --xz = ["xz-static"] -+xz = ["xz-shared"] - xz-shared = ["dep:xz2"] --xz-static = [ -- "dep:xz2", -- "xz2/static", --] --zlib = ["zlib-static"] -+zlib = ["zlib-shared"] - zlib-shared = [ - "dep:libdeflater", - "dep:libdeflate-sys", - "dep:flate2", - "libdeflate-sys/dynamic", --] --zlib-static = [ -- "dep:libdeflater", -- "dep:libdeflate-sys", -- "dep:flate2", - ] - zstd = ["dep:zstd"] - diff --git a/libcramjam0.6-blosc2-rs-0.4.patch b/libcramjam0.6-blosc2-rs-0.4.patch deleted file mode 100644 index 2799ff4..0000000 --- a/libcramjam0.6-blosc2-rs-0.4.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/src/blosc2.rs b/src/blosc2.rs -index 4dc8b9b..7fa3f79 100644 ---- a/src/blosc2.rs -+++ b/src/blosc2.rs -@@ -73,7 +73,7 @@ mod tests { - - #[test] - fn test_compress() { -- let _guard = blosc2::Blosc2Guard::new(); -+ let _guard = blosc2::Blosc2Guard::get_or_init(); - let mut compressed = vec![]; - let data = b"bytes"; - compress(Cursor::new(data), &mut compressed).unwrap(); diff --git a/rust-libcramjam0.6.rpmlintrc b/rust-libcramjam0.6.rpmlintrc deleted file mode 100644 index 0244557..0000000 --- a/rust-libcramjam0.6.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-libcramjam0.6.spec b/rust-libcramjam0.6.spec deleted file mode 100644 index 68bc608..0000000 --- a/rust-libcramjam0.6.spec +++ /dev/null @@ -1,457 +0,0 @@ -# Generated by rust2rpm 27 -%bcond check 1 - -%global crate libcramjam - -Name: rust-libcramjam0.6 -# Even though this is just MAJOR.MINOR from the SemVer version, we repeat it -# explicitly to help prevent undetected/unannounced SONAME version bumps in the -# libcramjam/libcramjam-devel subpackages. -%global soversion 0.6 -Version: 0.6.0 -Release: %autorelease -b 4 -Summary: Compression library combining a plethora of algorithms - -License: MIT -URL: https://crates.io/crates/libcramjam -Source: %{crates_source} -# Manually created patch for downstream crate metadata changes -# * Add crate-type = ["lib", "cdylib"] to the [lib] table to get a better -# template from rust2rpm -# * Do not upper-bound the version of libdeflate-sys (which is only due to CI -# limitations) -# * Patch out the wasm-compat feature, which requires an unavailable blosc2 -# crate feature -# * Patch out all -static features -# * Update to cbindgen 0.27: https://github.com/cramjam/libcramjam/pull/20 -# * Update to blosc2-rs 0.4.0; backported from 0.7.0: -# https://github.com/cramjam/libcramjam/pull/22/commits/b8f92299c0d4ff6ab40aac... -Patch: libcramjam-fix-metadata.diff - -# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval -ExcludeArch: %{ix86} - -# * Patch a test for blosc2-rs 0.4; excerpted from -# https://github.com/cramjam/libcramjam/pull/22/commits/b8f92299c0d4ff6ab40aac... -Patch10: libcramjam0.6-blosc2-rs-0.4.patch - -BuildRequires: cargo-rpm-macros >= 24 -BuildRequires: cargo-c - -%global _description %{expand: -Compression library combining a plethora of algorithms in a similar as -possible API.} - -%description %{_description} - -%if %{defined fc41} -%package -n %{crate} -Summary: %{summary} -# 0BSD OR MIT OR Apache-2.0 -# Apache-2.0 -# BSD-3-Clause -# BSD-3-Clause AND MIT -# MIT -# MIT OR Apache-2.0 -# MIT OR Zlib OR Apache-2.0 -License: %{shrink: - (0BSD OR MIT OR Apache-2.0) AND - Apache-2.0 AND - BSD-3-Clause AND - MIT AND - (MIT OR Apache-2.0) AND - (MIT OR Zlib OR Apache-2.0) - } -# LICENSE.dependencies contains a full license breakdown - -%description -n %{crate} %{_description} - -This package contains libraries for using the "%{crate}" crate via a C API. - -%files -n %{crate} -%license LICENSE -%license LICENSE.dependencies -%doc README.md -%{_libdir}/%{crate}.so.%{soversion}{,.*} - -%package -n %{crate}-devel -Summary: %{summary} - -Requires: %{crate}%{?_isa} = %{version}-%{release} - -%description -n %{crate}-devel %{_description} - -This package contains libraries and header files for developing applications -that use the "%{crate}" crate via a C API. - -%files -n %{crate}-devel -%{_includedir}/cramjam/cramjam.h -%{_libdir}/%{crate}.so -%{_libdir}/pkgconfig/%{crate}.pc -%else -%global debug_package %{nil} -%endif - -%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}+blosc2-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+blosc2-devel %{_description} - -This package contains library source intended for building other packages which -use the "blosc2" feature of the "%{crate}" crate. - -%files -n %{name}+blosc2-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+blosc2-shared-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+blosc2-shared-devel %{_description} - -This package contains library source intended for building other packages which -use the "blosc2-shared" feature of the "%{crate}" crate. - -%files -n %{name}+blosc2-shared-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+brotli-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+brotli-devel %{_description} - -This package contains library source intended for building other packages which -use the "brotli" feature of the "%{crate}" crate. - -%files -n %{name}+brotli-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+bzip2-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+bzip2-devel %{_description} - -This package contains library source intended for building other packages which -use the "bzip2" feature of the "%{crate}" crate. - -%files -n %{name}+bzip2-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+capi-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+capi-devel %{_description} - -This package contains library source intended for building other packages which -use the "capi" feature of the "%{crate}" crate. - -%files -n %{name}+capi-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+deflate-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+deflate-devel %{_description} - -This package contains library source intended for building other packages which -use the "deflate" feature of the "%{crate}" crate. - -%files -n %{name}+deflate-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+deflate-shared-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+deflate-shared-devel %{_description} - -This package contains library source intended for building other packages which -use the "deflate-shared" feature of the "%{crate}" crate. - -%files -n %{name}+deflate-shared-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+gzip-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+gzip-devel %{_description} - -This package contains library source intended for building other packages which -use the "gzip" feature of the "%{crate}" crate. - -%files -n %{name}+gzip-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+gzip-shared-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+gzip-shared-devel %{_description} - -This package contains library source intended for building other packages which -use the "gzip-shared" feature of the "%{crate}" crate. - -%files -n %{name}+gzip-shared-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+ideflate-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+ideflate-devel %{_description} - -This package contains library source intended for building other packages which -use the "ideflate" feature of the "%{crate}" crate. - -%files -n %{name}+ideflate-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+ideflate-shared-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+ideflate-shared-devel %{_description} - -This package contains library source intended for building other packages which -use the "ideflate-shared" feature of the "%{crate}" crate. - -%files -n %{name}+ideflate-shared-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+igzip-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+igzip-devel %{_description} - -This package contains library source intended for building other packages which -use the "igzip" feature of the "%{crate}" crate. - -%files -n %{name}+igzip-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+igzip-shared-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+igzip-shared-devel %{_description} - -This package contains library source intended for building other packages which -use the "igzip-shared" feature of the "%{crate}" crate. - -%files -n %{name}+igzip-shared-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+isal-shared-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+isal-shared-devel %{_description} - -This package contains library source intended for building other packages which -use the "isal-shared" feature of the "%{crate}" crate. - -%files -n %{name}+isal-shared-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+izlib-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+izlib-devel %{_description} - -This package contains library source intended for building other packages which -use the "izlib" feature of the "%{crate}" crate. - -%files -n %{name}+izlib-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+izlib-shared-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+izlib-shared-devel %{_description} - -This package contains library source intended for building other packages which -use the "izlib-shared" feature of the "%{crate}" crate. - -%files -n %{name}+izlib-shared-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+lz4-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+lz4-devel %{_description} - -This package contains library source intended for building other packages which -use the "lz4" feature of the "%{crate}" crate. - -%files -n %{name}+lz4-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+snappy-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+snappy-devel %{_description} - -This package contains library source intended for building other packages which -use the "snappy" feature of the "%{crate}" crate. - -%files -n %{name}+snappy-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 - -%package -n %{name}+use-system-isal-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+use-system-isal-devel %{_description} - -This package contains library source intended for building other packages which -use the "use-system-isal" feature of the "%{crate}" crate. - -%files -n %{name}+use-system-isal-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+xz-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+xz-devel %{_description} - -This package contains library source intended for building other packages which -use the "xz" feature of the "%{crate}" crate. - -%files -n %{name}+xz-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+xz-shared-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+xz-shared-devel %{_description} - -This package contains library source intended for building other packages which -use the "xz-shared" feature of the "%{crate}" crate. - -%files -n %{name}+xz-shared-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+zlib-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+zlib-devel %{_description} - -This package contains library source intended for building other packages which -use the "zlib" feature of the "%{crate}" crate. - -%files -n %{name}+zlib-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+zlib-shared-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+zlib-shared-devel %{_description} - -This package contains library source intended for building other packages which -use the "zlib-shared" feature of the "%{crate}" crate. - -%files -n %{name}+zlib-shared-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+zstd-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+zstd-devel %{_description} - -This package contains library source intended for building other packages which -use the "zstd" feature of the "%{crate}" crate. - -%files -n %{name}+zstd-devel -%ghost %{crate_instdir}/Cargo.toml - -%prep -%autosetup -n %{crate}-%{version} -p1 -%cargo_prep - -%generate_buildrequires -%cargo_generate_buildrequires -a - -%build -%cargo_build -a -%{cargo_license_summary -a} -%{cargo_license -a} > LICENSE.dependencies -%if %{defined fc41} -%cargo_cbuild -a -%endif - -%install -%cargo_install -a -%if %{defined fc41} -%cargo_cinstall -a -# https://docs.fedoraproject.org/en-US/packaging-guidelines/#packaging-static-... -rm '%{buildroot}%{_libdir}/%{crate}.a' -%endif - -%if %{with check} -%check -# * Segmentation fault if blosc2 is updated to version 2.15.2: -# https://github.com/cramjam/libcramjam/issues/21 -%{cargo_test -a -- -- %{shrink: - --skip roundtrip_compress_via_slice_decompress_via_slice - --skip roundtrip_compress_via_slice_decompress_via_vector - --skip roundtrip_compress_via_vector_decompress_via_slice - --skip roundtrip_compress_via_vector_decompress_via_vector -}} -%endif - -%changelog -%autochangelog diff --git a/rust2rpm.toml b/rust2rpm.toml deleted file mode 100644 index 50d76a2..0000000 --- a/rust2rpm.toml +++ /dev/null @@ -1,55 +0,0 @@ -[package] -summary = "Compression library combining a plethora of algorithms" -cargo-toml-patch-comments = [ - "Add crate-type = ["lib", "cdylib"] to the [lib] table to get a better template from rust2rpm", - "Do not upper-bound the version of libdeflate-sys (which is only due to CI limitations)", - "Patch out the wasm-compat feature, which requires an unavailable blosc2 crate feature", - "Patch out all -static features", - "Update to cbindgen 0.27: https://github.com/cramjam/libcramjam/pull/20", - "Update to blosc2-rs 0.4.0; backported from 0.7.0: https://github.com/cramjam/libcramjam/pull/22/commits/b8f92299c0d4ff6ab40aac...", -] -# This is handled in scripts.install.post. -suppress-cdylib-install-fixme = true - -[[package.extra-patches]] -number = 10 -file = "libcramjam0.6-blosc2-rs-0.4.patch" -comments = [ - "Patch a test for blosc2-rs 0.4; excerpted from https://github.com/cramjam/libcramjam/pull/22/commits/b8f92299c0d4ff6ab40aac...", -] - -[requires] -build = ["cargo-c"] - -[features] -# cargo-c requires all optional dependencies to be available -enable-all = true - -[scripts.build] -post = [ - "%if %{defined fc41}", - "%cargo_cbuild -a", - "%endif", -] -[scripts.install] -post = [ - "%if %{defined fc41}", - "%cargo_cinstall -a", - "# https://docs.fedoraproject.org/en-US/packaging-guidelines/#packaging-static-...", - "rm '%{buildroot}%{_libdir}/%{crate}.a'", - "%endif", -] - -[tests] -comments = [ - """\ - Segmentation fault if blosc2 is updated to version 2.15.2: \ - https://github.com/cramjam/libcramjam/issues/21%5C - """, -] -skip = [ - "roundtrip_compress_via_slice_decompress_via_slice", - "roundtrip_compress_via_slice_decompress_via_vector", - "roundtrip_compress_via_vector_decompress_via_slice", - "roundtrip_compress_via_vector_decompress_via_vector", -] diff --git a/sources b/sources deleted file mode 100644 index afea23c..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (libcramjam-0.6.0.crate) = 9c65f11d676b5589ece5a22d8e6b10ee07b577f2c7075dd1e27548de360ce2194a917eaf7ee19ed0b13036d7e9d148cc8143c1a8377e16b5a765f8d89558bd57
arch-excludes@lists.fedoraproject.org