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] epel9: Use a macro to avoid repeating the description text
Date: Mon, 21 Sep 2026 10:53:04 GMT	[thread overview]
Message-ID: <178998798427.1.1200405246530637855.rpms-python-pyperclip-8318ca9e699d@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-pyperclip
Branch : epel9
Commit : 8318ca9e699d703adb58bdb1cdce281a038dcdca
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2024-06-23T09:54:04-04:00
Stats  : +5/-5 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-pyperclip/c/8318ca9e699d703adb58bdb1cdce281a038dcdca?branch=epel9

Log:
Use a macro to avoid repeating the description text

---
diff --git a/python-pyperclip.spec b/python-pyperclip.spec
index b6ef940..b736e3f 100644
--- a/python-pyperclip.spec
+++ b/python-pyperclip.spec
@@ -17,9 +17,11 @@ URL:            https://github.com/asweigart/%{pypi_name}
 Source0:        %{pypi_source %{pypi_name}}
 BuildArch:      noarch
 
-%description
+%global common_description %{expand:
 Pyperclip is a cross-platform Python module for copy and paste clipboard
-functions.
+functions.}
+
+%description %{common_description}
 
 
 %package -n     python3-%{pypi_name}
@@ -66,9 +68,7 @@ BuildRequires:  /usr/bin/xclip
 # BuildRequires:  /usr/bin/klipper
 # BuildRequires:  /usr/bin/qdbus
 
-%description -n python3-%{pypi_name}
-Pyperclip is a cross-platform Python module for copy and paste clipboard
-functions.
+%description -n python3-%{pypi_name} %{common_description}
 
 
 %package -n python-%{pypi_name}-doc

                 reply	other threads:[~2026-09-21 10:53 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=178998798427.1.1200405246530637855.rpms-python-pyperclip-8318ca9e699d@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