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

A new commit has been pushed.

Repo   : rpms/python-pyperclip
Branch : epel8
Commit : 8f37f19e0a454fb0b7c0e72279c8281704a62224
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-09-21T14:58:27+01:00
Stats  : +4/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-pyperclip/c/8f37f19e0a454fb0b7c0e72279c8281704a62224?branch=epel8

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

---
diff --git a/python-pyperclip.spec b/python-pyperclip.spec
index c64e77a..9393fc2 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
 
 * Tue Nov 29 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 1.8.2-3
 - Update License to SPDX

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-21 14:27 [rpms/python-pyperclip] epel8: 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