public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-pyperclip] epel8: Also fix end-of-line encodings in AUTHORS.txt and CHANGES.txt
Date: Mon, 21 Sep 2026 14:27:49 GMT	[thread overview]
Message-ID: <179000086922.1.13403263513517456735.rpms-python-pyperclip-8f37f19e0a45@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-09-21 14:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179000086922.1.13403263513517456735.rpms-python-pyperclip-8f37f19e0a45@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox