diff --git a/README.md b/README.md deleted file mode 100644 index 27520e8..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-xz2 - -The rust-xz2 package \ No newline at end of file diff --git a/rust-xz2.spec b/rust-xz2.spec index e844619..95ad957 100644 --- a/rust-xz2.spec +++ b/rust-xz2.spec @@ -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} diff --git a/rust2rpm.conf b/rust2rpm.conf new file mode 100644 index 0000000..797832d --- /dev/null +++ b/rust2rpm.conf @@ -0,0 +1,2 @@ +[DEFAULT] +summary = Rust bindings to liblzma diff --git a/xz2-fix-metadata.diff b/xz2-fix-metadata.diff index 1836a79..5f8b10d 100644 --- a/xz2-fix-metadata.diff +++ b/xz2-fix-metadata.diff @@ -1,5 +1,5 @@ --- xz2-0.1.7/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ xz2-0.1.7/Cargo.toml 2022-07-16T12:16:30.646078+00:00 ++++ xz2-0.1.7/Cargo.toml 2023-08-07T18:47:19.875968+00:00 @@ -60,7 +60,6 @@ version = "0.1.17"