Compare commits

..

No commits in common. 'epel10' and 'epel9' have entirely different histories.

1
.gitignore vendored

@ -1,4 +1,3 @@
/libflate_lz77-1.0.0.crate
/libflate_lz77-1.1.0.crate
/libflate_lz77-1.2.0.crate
/libflate_lz77-2.1.0.crate

@ -1,18 +1,30 @@
--- libflate_lz77-2.1.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ libflate_lz77-2.1.0/Cargo.toml 2024-05-01T17:54:23.366782+00:00
@@ -33,15 +33,10 @@
[dependencies.rle-decode-fast]
version = "1.0.0"
--- libflate_lz77-1.2.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ libflate_lz77-1.2.0/Cargo.toml 2023-05-22T18:18:29.510490+00:00
@@ -22,27 +22,11 @@
license = "MIT"
repository = "https://github.com/sile/libflate"
-[dev-dependencies.libflate]
-version = "2.0"
-[dependencies.core2]
-version = "0.4"
-features = ["alloc"]
-optional = true
-default-features = false
-
[features]
default = ["std"]
std = [
"core2/std",
- "libflate/std",
]
-[dependencies.hashbrown]
-version = "0.13"
-optional = true
-
[dependencies.rle-decode-fast]
version = "1.0.0"
[dev-dependencies.libflate]
version = "1"
-[features]
-no_std = [
- "core2",
- "hashbrown",
-]
-
[badges.coveralls]
repository = "sile/libflate"

@ -1,11 +1,11 @@
# Generated by rust2rpm 26
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate libflate_lz77
Name: rust-libflate_lz77
Version: 2.1.0
Version: 1.2.0
Release: %autorelease
Summary: LZ77 encoder for libflate crate
@ -13,10 +13,10 @@ License: MIT
URL: https://crates.io/crates/libflate_lz77
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * drop libflate to break circular dependency
# * drop unused no_std feature with missing dependencies
Patch: libflate_lz77-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
BuildRequires: rust-packaging >= 21
%global _description %{expand:
LZ77 encoder for libflate crate.}
@ -49,20 +49,8 @@ use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-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}-%{version} -p1
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
@ -76,8 +64,7 @@ use the "std" feature of the "%{crate}" crate.
%if %{with check}
%check
# * Skip doc tests as they require libflate
%cargo_test -- --lib
%cargo_test
%endif
%changelog

@ -1,3 +0,0 @@
[tests]
run = ["lib"]
comments = ["Skip doc tests as they require libflate"]

@ -1 +1 @@
SHA512 (libflate_lz77-2.1.0.crate) = 5e521a46a6ef2976deab481d2410db0797fbf5a78e6ac4d406bc0ac4464b01836938a528990657328b29698a19a631d641dd1e3093cfddc91be62fcb4b646ba7
SHA512 (libflate_lz77-1.2.0.crate) = 5aeb0d1ab0bef43a87552f93dca760450e6fcb0213c9dfdc0ed2f72fcb6ee1b26add02705f7c5a8552c975c9673b1a147fa036b6f4c42c07675a11b3cb1929d0

Loading…
Cancel
Save