Drop some macros that were only defined to be used once or twice
This commit is contained in:
parent
d65410ae2b
commit
c525e61852
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user