[python-urwid] Add docs and examples

Fabian Deutsch fabiand at fedoraproject.org
Tue Oct 23 17:16:47 UTC 2012


commit 2706bcb94d65331b356e4a6d46ca74da95c3ec59
Author: Fabian Deutsch <fabiand at fedoraproject.org>
Date:   Tue Oct 23 19:15:22 2012 +0200

    Add docs and examples
    
    Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>

 python-urwid.spec |   13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)
---
diff --git a/python-urwid.spec b/python-urwid.spec
index dd5337c..977a0d0 100644
--- a/python-urwid.spec
+++ b/python-urwid.spec
@@ -9,7 +9,7 @@
 
 Name:          python-urwid
 Version:       1.1.0
-Release:       1%{?dist}
+Release:       2%{?dist}
 Summary:       Console user interface library
 
 Group:         Development/Libraries
@@ -86,10 +86,6 @@ popd
 %endif # with_python3
 
 %{__python} setup.py install --skip-build --no-compile --root %{buildroot}
-rm -f tmpl_tutorial.html
-mkdir examples
-cp -p *.py examples/
-rm -f examples/test_urwid.py examples/docgen_*.py
 
 %check
 python setup.py test
@@ -105,19 +101,22 @@ rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root,-)
-%doc CHANGELOG *.html examples
+%doc CHANGELOG *.html examples docs
 %{python_sitearch}/urwid
 %{python_sitearch}/urwid-%{version}*.egg-info
 
 %if 0%{?with_python3}
 %files -n python3-urwid
 %defattr(-,root,root,-)
-%doc CHANGELOG *.html examples
+%doc CHANGELOG *.html examples docs
 %{python3_sitearch}/urwid
 %{python3_sitearch}/urwid-%{version}*.egg-info
 %endif
 
 %changelog
+* Tue Oct 23 2012 Fabian Deutsch <fabiand at fedoraproject.org> - 1.1.0-2
+- Add new docs and examples dir
+
 * Tue Oct 23 2012 Fabian Deutsch <fabiand at fedoraproject.org> - 1.1.0-1
 - Update to upstream 1.1.0
 


More information about the scm-commits mailing list