Update to version 1.2.0; Fixes RHBZ#2170490

epel9 imports/e9/rust-libflate_lz77-1.2.0-1.el9
Fabio Valentini 2 years ago
parent 5780be7dd1
commit 12221084a1
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

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

@ -1,3 +0,0 @@
# rust-libflate_lz77
The rust-libflate_lz77 package

@ -0,0 +1,30 @@
--- 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
-
[dependencies.rle-decode-fast]
version = "1.0.0"
[dev-dependencies.libflate]
version = "1"
-[features]
-no_std = [
- "core2",
- "hashbrown",
-]
-
[badges.coveralls]
repository = "sile/libflate"

@ -1,25 +1,22 @@
# Generated by rust2rpm 17 # Generated by rust2rpm 24
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate libflate_lz77 %global crate libflate_lz77
Name: rust-%{crate} Name: rust-libflate_lz77
Version: 1.1.0 Version: 1.2.0
Release: %autorelease Release: %autorelease
Summary: LZ77 encoder for libflate crate Summary: LZ77 encoder for libflate crate
# Upstream license specification: MIT
License: MIT License: MIT
URL: https://crates.io/crates/libflate_lz77 URL: https://crates.io/crates/libflate_lz77
Source: %{crates_source} Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * drop unused no_std feature with missing dependencies
Patch: libflate_lz77-fix-metadata.diff
ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
LZ77 encoder for libflate crate.} LZ77 encoder for libflate crate.}
@ -32,13 +29,13 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE %license %{crate_instdir}/LICENSE
%doc README.md %doc %{crate_instdir}/README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -46,11 +43,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "default" feature of "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (libflate_lz77-1.1.0.crate) = ab0cba9d324d2f7bf2a741e8ef8b0ee7bfa85ab6ee63b9ccf6ff912461ca854d6b7467e527d74ee93a219d6dec5bcecc3e61eea83d4cf5b2452f9a0aa97cd95c SHA512 (libflate_lz77-1.2.0.crate) = 5aeb0d1ab0bef43a87552f93dca760450e6fcb0213c9dfdc0ed2f72fcb6ee1b26add02705f7c5a8552c975c9673b1a147fa036b6f4c42c07675a11b3cb1929d0

Loading…
Cancel
Save