Accepting request 200181 from devel:languages:python

The examples are way too useful to not being included in -doc
but keep them in examples dir

- include examples in -doc package (forwarded request 200178 from frispete)

OBS-URL: https://build.opensuse.org/request/show/200181
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyparsing?expand=0&rev=18
This commit is contained in:
Stephan Kulow 2013-09-24 05:11:38 +00:00 committed by Git OBS Bridge
commit abc2f78bd9
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Sep 23 08:45:12 UTC 2013 - hpj@urpla.net
- include examples in -doc package
-------------------------------------------------------------------
Tue Sep 17 13:15:51 UTC 2013 - speilicke@suse.com

View File

@ -59,7 +59,7 @@ This package contains the documentation of %{name}
%build
python setup.py build
# Fix wrong EOL encoding:
sed -i 's/\r$//' CHANGES LICENSE README
sed -i 's/\r$//' CHANGES LICENSE README examples/*.py
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
@ -71,6 +71,6 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files doc
%defattr(-,root,root,-)
%doc docs/*
%doc docs/* examples
%changelog