| |
@@ -16,7 +16,7 @@
|
| |
%global _description\
|
| |
pySVG is a pure Python library to create/load and manipulate SVG documents.\
|
| |
\
|
| |
- It's main use is to "code" svg images.
|
| |
+ Its main use is to "code" svg images.
|
| |
|
| |
%description %_description
|
| |
|
| |
@@ -26,28 +26,21 @@
|
| |
|
| |
%description -n python2-svg %_description
|
| |
|
| |
+ %package -n python3-svg
|
| |
+ Summary: %summary
|
| |
+ %{?python_provide:%python_provide python3-svg}
|
| |
+
|
| |
+ %description -n python3-svg %_description
|
| |
+
|
| |
%package doc
|
| |
Summary: Documentation for python-syg
|
| |
Group: Development/Libraries
|
| |
Requires: python2-svg = %{version}-%{release}
|
| |
|
| |
- %description doc
|
| |
- pySVG is a pure Python library to create/load and manipulate SVG documents.
|
| |
-
|
| |
- It's main use is to "code" svg images.
|
| |
+ %description doc %_description
|
| |
|
| |
These are the documentation files.
|
| |
|
| |
- %package -n python3-svg
|
| |
- Summary: %{sum}
|
| |
- %{?python_provide:%python_provide python3-svg}
|
| |
-
|
| |
- %description -n python3-svg
|
| |
- pySVG is a pure Python library to create/load and manipulate SVG documents.
|
| |
-
|
| |
- It's main use is to "code" svg images.
|
| |
-
|
| |
-
|
| |
%prep
|
| |
%setup -qn pysvg-%{version}
|
| |
|
| |
Because this is not a defined macro:
The summary field of
python3-svg-0.2.2b-14.fc28.noarch.rpm
currently reads "%{sum}".These changes:
python3-svg
subpackage summary field-doc
subpackage definition below both python subs, to reuse%summary
forpython3-svg
%_description
on each subpackage, instead of repeating