Compare commits

..

5 Commits

Author SHA1 Message Date
Fedora Release Engineering 9bf62a0ccb Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
7 months ago
Davide Cavalca 7f9be3bac6 Drop libflate to break circular dependency
10 months ago
Davide Cavalca 7ebe439625 Update to 2.1.0; Fixes: RHBZ#2221371
10 months ago
Fedora Release Engineering e27f2037de Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
1 year ago
Fedora Release Engineering 59d40e049d Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
2 years ago

1
.gitignore vendored

@ -1,3 +1,4 @@
/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,30 +1,18 @@
--- 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"
-[dependencies.core2]
-version = "0.4"
-features = ["alloc"]
-optional = true
-default-features = false
-
-[dependencies.hashbrown]
-version = "0.13"
-optional = true
-
--- 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"
[dev-dependencies.libflate]
version = "1"
-[features]
-no_std = [
- "core2",
- "hashbrown",
-]
-[dev-dependencies.libflate]
-version = "2.0"
-default-features = false
-
[features]
default = ["std"]
std = [
"core2/std",
- "libflate/std",
]
[badges.coveralls]
repository = "sile/libflate"

@ -1,11 +1,11 @@
# Generated by rust2rpm 24
# Generated by rust2rpm 26
%bcond_without check
%global debug_package %{nil}
%global crate libflate_lz77
Name: rust-libflate_lz77
Version: 1.2.0
Version: 2.1.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 unused no_std feature with missing dependencies
# * drop libflate to break circular dependency
Patch: libflate_lz77-fix-metadata.diff
BuildRequires: rust-packaging >= 21
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
LZ77 encoder for libflate crate.}
@ -49,8 +49,20 @@ 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_no_tilde} -p1
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires
@ -64,7 +76,8 @@ use the "default" feature of the "%{crate}" crate.
%if %{with check}
%check
%cargo_test
# * Skip doc tests as they require libflate
%cargo_test -- --lib
%endif
%changelog

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

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

Loading…
Cancel
Save