diff --git a/python-dialog.spec b/python-dialog.spec index fe42696..36618c3 100644 --- a/python-dialog.spec +++ b/python-dialog.spec @@ -19,8 +19,6 @@ BuildArch: noarch BuildRequires: python2-devel BuildRequires: python3-devel -%global _docdir_fmt %{name} - %description A Python interface to the Unix dialog utility, designed to provide an easy, pythonic and as complete as possible way to use the dialog @@ -54,6 +52,7 @@ tar -xvf %{SOURCE1} iconv -f latin2 -t utf-8 README.rst > README pushd %{upstream_name2}-%{version} %py2_build +iconv -f latin2 -t utf-8 README.rst > README popd %install @@ -64,14 +63,14 @@ popd %files -n python3-dialog %license COPYING -%doc README +%doc README examples/ %{python3_sitelib}/dialog.py* %{python3_sitelib}/__pycache__/ %{python3_sitelib}/pythondialog-*.egg-info %files -n python2-dialog -%license COPYING -%doc README +%license %{upstream_name2}-%{version}/COPYING +%doc %{upstream_name2}-%{version}/README %{upstream_name2}-%{version}/examples/ %{python2_sitelib}/dialog.py* %{python2_sitelib}/python2_pythondialog-*.egg-info @@ -81,7 +80,7 @@ popd - Add python3 subpackage * Wed Oct 28 2015 Felix Schwarz - 3.3.0-1 -- update to new upstream version +- update to new upstream version (#998103) - drop patch for demo.py (included in upstream release) * Thu Jun 18 2015 Fedora Release Engineering - 2.7-20