forked from pool/python-pyparsing
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user