From 059244eb3bc81ceda193fd766e26ed1909301876 Mon Sep 17 00:00:00 2001 From: Mohamed ElMorabity Date: Nov 22 2010 09:03:49 +0000 Subject: Update to 0.2.0 --- diff --git a/.gitignore b/.gitignore index 295ea03..008a8fe 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ psutil-0.1.3.tar.gz +/psutil-0.2.0.tar.gz diff --git a/python-psutil.spec b/python-psutil.spec index d792079..eaee740 100644 --- a/python-psutil.spec +++ b/python-psutil.spec @@ -7,8 +7,8 @@ %global short_name psutil Name: python-psutil -Version: 0.1.3 -Release: 5%{?dist} +Version: 0.2.0 +Release: 1%{?dist} Summary: A process utilities module for Python Group: Development/Languages @@ -47,21 +47,13 @@ task manager. %setup -q -n %{short_name}-%{version} # Remove shebangs -pushd psutil -for file in __init__.py _psbsd.py _pslinux.py _psmswindows.py _psosx.py; do +for file in psutil/*.py; do sed -i.orig -e 1d $file && \ touch -r $file.orig $file && \ rm $file.orig done -popd - -# Remove DOS line endings -for file in HISTORY LICENSE README; do - sed 's|\r||g' $file > $file.new && \ - touch -r $file $file.new && \ - mv $file.new $file -done +# Fix permissions chmod a-x docs/class_diagram.png %if 0%{?with_python3} @@ -102,7 +94,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%doc HISTORY LICENSE README docs +%doc CREDITS HISTORY LICENSE README docs %{python_sitelib}/%{short_name} %{python_sitelib}/*.egg-info @@ -110,13 +102,16 @@ rm -rf $RPM_BUILD_ROOT %if 0%{?with_python3} %files -n python3-psutil %defattr(-,root,root,-) -%doc HISTORY LICENSE README docs +%doc CREDITS HISTORY LICENSE README docs %{python3_sitelib}/%{short_name} %{python3_sitelib}/*.egg-info %endif %changelog +* Mon Nov 22 2010 Mohamed El Morabity - 0.2.0-1 +- Update to 0.2.0 + * Wed Aug 25 2010 Thomas Spura - 0.1.3-5 - rebuild with python3.2 http://lists.fedoraproject.org/pipermail/devel/2010-August/141368.html diff --git a/sources b/sources index 8fc9ac7..9fe800e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ebf8812edf9b79d3952837df2554016a psutil-0.1.3.tar.gz +4731301ce7a7b856790e01f5da2fdfdd psutil-0.2.0.tar.gz