diff --git a/python-simpleline.spec b/python-simpleline.spec index 10d0ddfbbf1d389c2739020a18c2b444c9fe0422..791218afd79e2057cccab225da1dbc08a50f0957 100644 --- a/python-simpleline.spec +++ b/python-simpleline.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 %global srcname simpleline Name: python-%{srcname} @@ -27,7 +27,6 @@ and tools (e.g. serial console) so that every new line is appended to the bottom of the screen. Printed lines are never rewritten! - %package -n python3-%{srcname} Summary: A Python3 library for creating text UI Requires: rpm-python3 @@ -41,6 +40,14 @@ and tools (e.g. serial console) so that every new line is appended to the bottom of the screen. Printed lines are never rewritten! +%package doc +Summary: Documentation files for %{name} +Requires: python3-%{srcname} = %{version}-%{release} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + %prep %setup -q -n %{srcname}-%{version} @@ -57,9 +64,14 @@ make test %files -n python3-%{srcname} -f python-%{srcname}.lang %license LICENSE.md -%doc ChangeLog README.md %{python3_sitelib}/* +%files doc +%doc ChangeLog README.md + %changelog +* Sun Oct 09 2022 mgb01105731 - 1.9.0-2 +- add doc package + * Mon Apr 18 2022 Chunmei Xu - 1.9.0-1 - init from upstream