Remove a debugging echo statement from the spec file
Fix some line endings and permissions in -doc sub-package
This commit is contained in:
parent
680c73ce28
commit
0e79a43bbf
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
Name: python-matplotlib
|
Name: python-matplotlib
|
||||||
Version: 1.0.1
|
Version: 1.0.1
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: Python plotting library
|
Summary: Python plotting library
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -93,6 +93,9 @@ chmod -x lib/matplotlib/mpl-data/images/*.svg
|
|||||||
# drag in dependencies
|
# drag in dependencies
|
||||||
find examples -name '*.py' -exec chmod a-x '{}' \;
|
find examples -name '*.py' -exec chmod a-x '{}' \;
|
||||||
|
|
||||||
|
# Fix line ending in this example file
|
||||||
|
sed -i 's/\r//' examples/api/font_family_rc.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cp %{SOURCE2} ./setup.cfg
|
cp %{SOURCE2} ./setup.cfg
|
||||||
%{__python} setup.py build
|
%{__python} setup.py build
|
||||||
@ -106,9 +109,11 @@ pushd doc
|
|||||||
echo "examples.download : False" >> matplotlibrc
|
echo "examples.download : False" >> matplotlibrc
|
||||||
echo "examples.directory : %{sampledatadir}" >> matplotlibrc
|
echo "examples.directory : %{sampledatadir}" >> matplotlibrc
|
||||||
# This really does need to be ran twice
|
# This really does need to be ran twice
|
||||||
echo $PYTHONPATH
|
|
||||||
export PYTHONPATH=%{libpath}
|
export PYTHONPATH=%{libpath}
|
||||||
%{__python} make.py --small html && %{__python} make.py --small html
|
%{__python} make.py --small html && %{__python} make.py --small html
|
||||||
|
rm -f html/.buildinfo
|
||||||
|
chmod -x html/pyplots/make.py
|
||||||
|
sed -i 's/\r//' html/_sources/devel/add_new_projection.txt
|
||||||
popd
|
popd
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -158,6 +163,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 25 2011 Jonathan G. Underwood <jonathan.underwood@gmail.com> - 1.0.1-7
|
||||||
|
- Remove a debugging echo statement from the spec file
|
||||||
|
- Fix some line endings and permissions in -doc sub-package
|
||||||
|
|
||||||
* Fri Feb 25 2011 Jonathan G. Underwood <jonathan.underwood@gmail.com> - 1.0.1-6
|
* Fri Feb 25 2011 Jonathan G. Underwood <jonathan.underwood@gmail.com> - 1.0.1-6
|
||||||
- Spec file cleanups to silence some rpmlint warnings
|
- Spec file cleanups to silence some rpmlint warnings
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user