public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pyperclip] epel8: Use a macro to avoid repeating the description text
@ 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 : fcb19f3ee8637e97ca35a8c318395000fe97e6e9
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-09-21T14:57:02+01:00
Stats  : +5/-5 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-pyperclip/c/fcb19f3ee8637e97ca35a8c318395000fe97e6e9?branch=epel8

Log:
Use a macro to avoid repeating the description text

---
diff --git a/python-pyperclip.spec b/python-pyperclip.spec
index 40a2f37..0993812 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

^ 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: Use a macro to avoid repeating the description text 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