public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pyperclip] epel10.3: Use a macro to avoid repeating the description text
@ 2026-09-21  9:02 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-21  9:02 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-pyperclip
Branch : epel10.3
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=epel10.3

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

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

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

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