From c525e618521d75dc9b47fb3d4cba3e20d7988d43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 28 Feb 2023 16:19:14 +0100 Subject: [PATCH] Drop some macros that were only defined to be used once or twice --- babel.spec | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/babel.spec b/babel.spec index 29e4c56..ce60459 100644 --- a/babel.spec +++ b/babel.spec @@ -1,6 +1,3 @@ -%global srcname Babel -%global sum Library for internationalizing Python applications - # There is some bootstrapping involved when upgrading Python 3 # First of all we need babel (this package) to use sphinx # And pytest is at this point not yet ready @@ -23,7 +20,7 @@ Summary: Tools for internationalizing Python applications License: BSD URL: https://babel.pocoo.org/ -Source0: %{pypi_source} +Source0: %{pypi_source Babel} BuildArch: noarch @@ -59,7 +56,7 @@ Babel is composed of two major parts: %package -n python3-babel -Summary: %sum +Summary: Library for internationalizing Python applications %{?python_provide:%python_provide python3-babel} @@ -83,7 +80,7 @@ Documentation for Babel %endif %prep -%autosetup -p1 -n %{srcname}-%{version} +%autosetup -p1 -n Babel-%{version} %build %py3_build