public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-rancor] f43: Update to version 0.1.2; Fixes RHBZ#2496666
@ 2026-07-03 18:13 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-07-03 18:13 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-rancor
Branch : f43
Commit : 133f1c42ad67f3249c03031f79b8a34d80160980
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-07-03T19:13:14+01:00
Stats  : +9/-18 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-rancor/c/133f1c42ad67f3249c03031f79b8a34d80160980?branch=f43

Log:
Update to version 0.1.2; Fixes RHBZ#2496666

---
diff --git a/.gitignore b/.gitignore
index cda665e..e4d5d68 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /rancor-0.1.0.crate
 /rancor-0.1.1.crate
+/rancor-0.1.2.crate

diff --git a/rust-rancor.rpmlintrc b/rust-rancor.rpmlintrc
new file mode 100644
index 0000000..0a0e408
--- /dev/null
+++ b/rust-rancor.rpmlintrc
@@ -0,0 +1,6 @@
+# There really is no documentation to package as such; the README would be, but
+# it is included as a (documentation) string in the library, so compilation
+# fails if it is not present. It therefore must not be marked as documentation,
+# because packages should be equally useful when their documentation is not
+# installed.
+addFilter(r"-devel\.noarch: W: no-documentation")

diff --git a/rust-rancor.spec b/rust-rancor.spec
index 9d55cfe..36443db 100644
--- a/rust-rancor.spec
+++ b/rust-rancor.spec
@@ -5,7 +5,7 @@
 %global crate rancor
 
 Name:           rust-rancor
-Version:        0.1.1
+Version:        0.1.2
 Release:        %autorelease
 Summary:        Scalable and efficient error handling without type composition
 
@@ -14,7 +14,6 @@ URL:            https://crates.io/crates/rancor
 Source:         %{crates_source}
 
 BuildRequires:  cargo-rpm-macros >= 24
-BuildRequires:  dos2unix
 
 %global _description %{expand:
 Scalable and efficient error handling without type composition.}
@@ -60,9 +59,6 @@ use the "alloc" feature of the "%{crate}" crate.
 
 %prep
 %autosetup -n %{crate}-%{version} -p1
-# The crate has a mixture of newline styles.
-# https://github.com/rkyv/rancor/commit/b65012a3848487155c072682b151f50599404bae
-find . -type f -exec dos2unix --keepdate '{}' '+'
 %cargo_prep
 
 %generate_buildrequires

diff --git a/rust2rpm.toml b/rust2rpm.toml
index 7012db1..5db7c26 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -6,15 +6,3 @@ doc-files.exclude = [
     # documentation is not installed.
     "README.md",
 ]
-
-[requires]
-build = [
-    "dos2unix",
-]
-
-[scripts.prep]
-pre = [
-    "# The crate has a mixture of newline styles.",
-    "# https://github.com/rkyv/rancor/commit/b65012a3848487155c072682b151f50599404bae",
-    "find . -type f -exec dos2unix --keepdate '{}' '+'",
-]

diff --git a/sources b/sources
index cb0ff00..f1cb101 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (rancor-0.1.1.crate) = 2613ea00cd71f3dc65b4315fc92e4112068e293046060d86bf980e389a40669fed2afc94cec6c3f2e2ea010e04fd27ad2cb4218d4a5d3d6f72e31c6bba53927b
+SHA512 (rancor-0.1.2.crate) = 99da3d9b729f0d0ab453676739b54a968e4757a23508f2bcbfe546c89f34a39dd937ca4b847ca3f2fb4b49058e303082f9e835c7aaaee969717a78da5d877b5a

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

only message in thread, other threads:[~2026-07-03 18:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-03 18:13 [rpms/rust-rancor] f43: Update to version 0.1.2; Fixes RHBZ#2496666 Benjamin A. Beasley

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