Update to 0.3.0

This commit is contained in:
Mohamed El Morabity 2011-07-18 21:40:20 +02:00
parent e7200f2df0
commit df63b0c17a
3 changed files with 9 additions and 8 deletions

1
.gitignore vendored
View File

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

View File

@ -8,7 +8,7 @@
} }
Name: python-psutil Name: python-psutil
Version: 0.2.1 Version: 0.3.0
Release: 1%{?dist} Release: 1%{?dist}
Summary: A process utilities module for Python Summary: A process utilities module for Python
@ -52,9 +52,6 @@ for file in psutil/*.py; do
rm $file.orig rm $file.orig
done done
# Fix permissions
chmod a-x docs/class_diagram.png
%if 0%{?with_python3} %if 0%{?with_python3}
rm -rf %{py3dir} rm -rf %{py3dir}
cp -a . %{py3dir} cp -a . %{py3dir}
@ -62,7 +59,7 @@ cp -a . %{py3dir}
%build %build
export CFLAGS="$RPM_OPT_FLAGS" export CFLAGS=$RPM_OPT_FLAGS
%{__python} setup.py build %{__python} setup.py build
%if 0%{?with_python3} %if 0%{?with_python3}
@ -88,7 +85,7 @@ popd
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc CREDITS HISTORY LICENSE README docs %doc CREDITS HISTORY LICENSE README docs/
%{python_sitearch}/%{short_name}/ %{python_sitearch}/%{short_name}/
%{python_sitearch}/*.egg-info %{python_sitearch}/*.egg-info
%{python_sitearch}/*.so %{python_sitearch}/*.so
@ -97,7 +94,7 @@ popd
%if 0%{?with_python3} %if 0%{?with_python3}
%files -n python3-psutil %files -n python3-psutil
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc CREDITS HISTORY LICENSE README docs %doc CREDITS HISTORY LICENSE README docs/
%{python3_sitearch}/%{short_name}/ %{python3_sitearch}/%{short_name}/
%{python3_sitearch}/*.egg-info %{python3_sitearch}/*.egg-info
%{python3_sitearch}/*.so %{python3_sitearch}/*.so
@ -105,6 +102,9 @@ popd
%changelog %changelog
* Mon Jul 18 2011 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.3.0-1
- Update to 0.3.0
* Wed Mar 23 2011 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.2.1-1 * Wed Mar 23 2011 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.2.1-1
- Update to 0.2.1 - Update to 0.2.1
- Spec cleanup - Spec cleanup

View File

@ -1 +1 @@
d86bcadaa8bcc1281620d2dc5427d0a8 psutil-0.2.1.tar.gz 9bf25e47ee232a1e3cf3bf0937c5b87a psutil-0.3.0.tar.gz