Accepting request 200178 from home:frispete:python

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

- include examples in -doc package

OBS-URL: https://build.opensuse.org/request/show/200178
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=29
This commit is contained in:
Todd R 2013-09-23 12:02:05 +00:00 committed by Git OBS Bridge
parent e37a4cfdf7
commit 130a93a6d7
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