| |
@@ -51,16 +51,17 @@
|
| |
|
| |
BuildArch: noarch
|
| |
|
| |
- %description
|
| |
- An python module which provides a convenient example.
|
| |
+ %global _description %{expand:
|
| |
+ A python module which provides a convenient example.}
|
| |
+
|
| |
+ %description %_description
|
| |
|
| |
%package -n python2-%{srcname}
|
| |
Summary: %{summary}
|
| |
BuildRequires: python2-devel
|
| |
%{?python_provide:%python_provide python2-%{srcname}}
|
| |
|
| |
- %description -n python2-%{srcname}
|
| |
- An python module which provides a convenient example.
|
| |
+ %description -n python2-%{srcname} %_description
|
| |
|
| |
|
| |
%package -n python3-%{srcname}
|
| |
@@ -68,8 +69,7 @@
|
| |
BuildRequires: python3-devel
|
| |
%{?python_provide:%python_provide python3-%{srcname}}
|
| |
|
| |
- %description -n python3-%{srcname}
|
| |
- An python module which provides a convenient example.
|
| |
+ %description -n python3-%{srcname} %_description
|
| |
|
| |
|
| |
%prep
|
| |
@@ -210,10 +210,10 @@
|
| |
|
| |
BuildArch: noarch
|
| |
|
| |
+ %global _description %{expand:
|
| |
+ A python module which provides a convenient example.}
|
| |
|
| |
- %description
|
| |
- An python module which provides a convenient example.
|
| |
-
|
| |
+ %description %_description
|
| |
|
| |
%if %{with python2}
|
| |
%package -n python2-%{srcname}
|
| |
@@ -221,8 +221,7 @@
|
| |
BuildRequires: python2-devel
|
| |
%{?python_provide:%python_provide python2-%{srcname}}
|
| |
|
| |
- %description -n python2-%{srcname}
|
| |
- An python module which provides a convenient example.
|
| |
+ %description -n python2-%{srcname} %_description
|
| |
%endif
|
| |
|
| |
|
| |
@@ -231,8 +230,7 @@
|
| |
BuildRequires: python3-devel
|
| |
%{?python_provide:%python_provide python3-%{srcname}}
|
| |
|
| |
- %description -n python3-%{srcname}
|
| |
- An python module which provides a convenient example.
|
| |
+ %description -n python3-%{srcname} %_description
|
| |
|
| |
|
| |
%prep
|
| |
This is a matter of style isn't it?