public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pyperclip] f43: Also fix end-of-line encodings in AUTHORS.txt and CHANGES.txt
@ 2026-09-21  8:09 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-21  8:09 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-pyperclip
Branch : f43
Commit : 9f2a458fd4ef81bb31e6ab1ca0370f69323ef12e
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-09-10T14:40:36+01:00
Stats  : +4/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-pyperclip/c/9f2a458fd4ef81bb31e6ab1ca0370f69323ef12e?branch=f43

Log:
Also fix end-of-line encodings in AUTHORS.txt and CHANGES.txt

---
diff --git a/python-pyperclip.spec b/python-pyperclip.spec
index 574a3e0..2e95757 100644
--- a/python-pyperclip.spec
+++ b/python-pyperclip.spec
@@ -35,6 +35,8 @@ functions.}
 %package -n     python3-pyperclip
 Summary:        %{summary}
 
+BuildRequires:  dos2unix
+
 BuildRequires:  python3-devel
 BuildRequires:  python3dist(setuptools)
 
@@ -129,8 +131,7 @@ Documentation for pyperclip
 
 %prep
 %autosetup -p1 -n pyperclip-%{version}
-# Fix ends of line encoding
-sed -i 's/\r$//' README.md docs/*
+dos2unix --keepdate AUTHORS.txt CHANGES.txt README.md docs/*
 
 %build
 %py3_build
@@ -175,6 +176,7 @@ k="${k-}${k+ and }not TestXSel"
 * Thu Sep 10 2026 Benjamin A. Beasley <code@musicinmybrain.net> - 1.9.0-1
 - Update to 1.9.0
 - Use xwayland-run for tests where we can
+- Also fix end-of-line encodings in AUTHORS.txt and CHANGES.txt
 
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.2-18
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild

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

only message in thread, other threads:[~2026-09-21  8:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-21  8:09 [rpms/python-pyperclip] f43: Also fix end-of-line encodings in AUTHORS.txt and CHANGES.txt 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