|
|
|
@ -1,29 +1,27 @@
|
|
|
|
|
# Generated by rust2rpm 21
|
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate xz2
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Name: rust-xz2
|
|
|
|
|
Version: 0.1.7
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Rust bindings to liblzma
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
|
License: MIT OR Apache-2.0
|
|
|
|
|
URL: https://crates.io/crates/xz2
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
|
# * drop feature for statically linking liblzma
|
|
|
|
|
Patch0: xz2-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
Patch: xz2-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Rust bindings to liblzma providing Read/Write streams as well as low-level in-
|
|
|
|
|
memory encoding/decoding.}
|
|
|
|
|
Rust bindings to liblzma providing Read/Write streams as well as low-
|
|
|
|
|
level in-memory encoding/decoding.}
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
|