Update to 0.4.0

This commit is contained in:
Mohamed El Morabity 2011-11-20 11:36:17 +01:00
parent df63b0c17a
commit 2bd1c6b189
3 changed files with 11 additions and 5 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ psutil-0.1.3.tar.gz
/psutil-0.2.0.tar.gz
/psutil-0.2.1.tar.gz
/psutil-0.3.0.tar.gz
/psutil-0.4.0.tar.gz

View File

@ -8,7 +8,7 @@
}
Name: python-psutil
Version: 0.3.0
Version: 0.4.0
Release: 1%{?dist}
Summary: A process utilities module for Python
@ -52,6 +52,9 @@ for file in psutil/*.py; do
rm $file.orig
done
# Fix permissions
chmod a-x docs/class_diagram.png
%if 0%{?with_python3}
rm -rf %{py3dir}
cp -a . %{py3dir}
@ -59,12 +62,11 @@ cp -a . %{py3dir}
%build
export CFLAGS=$RPM_OPT_FLAGS
%{__python} setup.py build
CFLAGS=$RPM_OPT_FLAGS %{__python} setup.py build
%if 0%{?with_python3}
pushd %{py3dir}
%{__python3} setup.py build
CFLAGS=$RPM_OPT_FLAGS %{__python3} setup.py build
popd
%endif
@ -102,6 +104,9 @@ popd
%changelog
* Sun Nov 20 2011 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.4.0-1
- Update to 0.4.0
* Mon Jul 18 2011 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.3.0-1
- Update to 0.3.0

View File

@ -1 +1 @@
9bf25e47ee232a1e3cf3bf0937c5b87a psutil-0.3.0.tar.gz
241ac01e6c4a2fb4ccd0b4c9e61b51b0 psutil-0.4.0.tar.gz