public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-delharc] epel9: Update to version 0.6.2
@ 2026-11-16 14:27 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-11-16 14:27 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-delharc
Branch : epel9
Commit : f6441a0fb91fd26e980064b62a400800f4fe9654
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-11-16T14:36:24+01:00
Stats  : +14/-45 in 6 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-delharc/c/f6441a0fb91fd26e980064b62a400800f4fe9654?branch=epel9

Log:
Update to version 0.6.2

---
diff --git a/.gitignore b/.gitignore
index 9af4ec7..538030c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /delharc-0.6.1.crate
 /rust-delharc-0.6.1-github.tar.gz
+/delharc-0.6.2.crate

diff --git a/README.md b/README.md
deleted file mode 100644
index c8cd27b..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-delharc
-
-The rust-delharc package

diff --git a/delharc-fix-metadata.diff b/delharc-fix-metadata.diff
deleted file mode 100644
index d233c8e..0000000
--- a/delharc-fix-metadata.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- delharc-0.6.1/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ delharc-0.6.1/Cargo.toml	2024-10-16T03:03:24.095981+00:00
-@@ -34,11 +34,6 @@
- 
- [package.metadata.docs.rs]
- all-features = true
--
--[[example]]
--name = "extract"
--path = "examples/extract.rs"
--required-features = ["std"]
- 
- [[test]]
- name = "decode"

diff --git a/rust-delharc.spec b/rust-delharc.spec
index 4819d52..2e9d7ec 100644
--- a/rust-delharc.spec
+++ b/rust-delharc.spec
@@ -1,24 +1,20 @@
-# Generated by rust2rpm 26
-%bcond_without check
+# Generated by rust2rpm 28
+%bcond check 1
 %global debug_package %{nil}
 
 %global crate delharc
 
 Name:           rust-delharc
-Version:        0.6.1
+Version:        0.6.2
 Release:        %autorelease
 Summary:        Library for parsing and extracting files from LHA/LZH archives
 
 License:        MIT OR Apache-2.0
 URL:            https://crates.io/crates/delharc
 Source:         %{crates_source}
-# * Crate is missing tests - https://github.com/royaltm/rust-delharc/issues/9
-Source2:        https://github.com/royaltm/rust-delharc/archive/v%{version}/%{name}-%{version}-github.tar.gz
-# Manually created patch for downstream crate metadata changes
-# * Remove exmaples
-Patch:          delharc-fix-metadata.diff
 
 BuildRequires:  cargo-rpm-macros >= 24
+BuildRequires:  dos2unix
 
 %global _description %{expand:
 A library for parsing and extracting files from LHA/LZH archives.}
@@ -103,9 +99,9 @@ use the "std" feature of the "%{crate}" crate.
 
 %prep
 %autosetup -n %{crate}-%{version} -p1
-tar xvf %SOURCE2 --strip-components=1 %{name}-%{version}/tests/\*
 %cargo_prep
-sed -i 's/\r//' *.md
+# fix CLRF line endings
+find . -type f -exec dos2unix --keepdate '{}' +
 
 %generate_buildrequires
 %cargo_generate_buildrequires

diff --git a/rust2rpm.toml b/rust2rpm.toml
index 1c9c56b..b10c7d7 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,19 +1,9 @@
-[package]
-cargo-toml-patch-comments = [
-    "Remove exmaples",
-]
+[requires]
+build = ["dos2unix"]
 
-[[package.extra-sources]]
-number = 2
-file = "https://github.com/royaltm/rust-delharc/archive/v%{version}/%{name}-%{version}-github.tar.gz"
-comments = [
-    "Crate is missing tests - https://github.com/royaltm/rust-delharc/issues/9",
+[scripts]
+prep.post = [
+    "# fix CLRF line endings",
+    "find . -type f -exec dos2unix --keepdate '{}' +",
 ]
 
-[scripts.prep]
-pre = [
-    "tar xvf %SOURCE2 --strip-components=1 %{name}-%{version}/tests/\\*",
-]
-post = [
-    "sed -i 's/\\r//' *.md",
-]

diff --git a/sources b/sources
index a28e293..4c69dbd 100644
--- a/sources
+++ b/sources
@@ -1,2 +1 @@
-SHA512 (delharc-0.6.1.crate) = 33652b33c26880a4a5613fc9adad92364f15ed8d13d19f60b0eb92bd8163d36ae9329894b90f43ad5e76daa685882ec52ca01dd23b95e8bf4fb7d04955836939
-SHA512 (rust-delharc-0.6.1-github.tar.gz) = 9b1bccdfe38f5fe215bdc9b1a25a53861e6e2d49207310f6f59dd539f6d49b68cb2f5d7587192a9624e2c367e82203d94091f1e6ff76c9dcc3a71e1123f1f116
+SHA512 (delharc-0.6.2.crate) = b80effa4f4ef66aaa58ed46cb5602568f904b019728842fa1e34138f09bef7f2ab81e333371d08a5bdfa28c9ab366469888e96d86f2489ad1835461a1dcd8613

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-16 14:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-16 14:27 [rpms/rust-delharc] epel9: Update to version 0.6.2 Fabio Valentini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox