From 8614b2032d93d9e336b88a075e60521f522a98cf Mon Sep 17 00:00:00 2001 From: melmorabity Date: Sat, 27 Mar 2010 00:12:18 +0000 Subject: [PATCH] Update to 0.1.3 --- .cvsignore | 2 +- import.log | 1 + python-psutil.spec | 21 ++++++++++----------- sources | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.cvsignore b/.cvsignore index 73623be..295ea03 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -psutil-0.1.2.tar.gz +psutil-0.1.3.tar.gz diff --git a/import.log b/import.log index 7e5d389..d80265f 100644 --- a/import.log +++ b/import.log @@ -1 +1,2 @@ python-psutil-0_1_2-4_fc12:HEAD:python-psutil-0.1.2-4.fc12.src.rpm:1266869787 +python-psutil-0_1_3-1_fc12:HEAD:python-psutil-0.1.3-1.fc12.src.rpm:1269648689 diff --git a/python-psutil.spec b/python-psutil.spec index ee6b6f4..28165c8 100644 --- a/python-psutil.spec +++ b/python-psutil.spec @@ -7,8 +7,8 @@ %global short_name psutil Name: python-psutil -Version: 0.1.2 -Release: 4%{?dist} +Version: 0.1.3 +Release: 1%{?dist} Summary: A process utilities module for Python Group: Development/Languages @@ -20,7 +20,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python2-devel %if 0%{?with_python3} -BuildRequires: python2-tools BuildRequires: python3-devel %endif @@ -49,7 +48,7 @@ task manager. # Remove shebangs pushd psutil -for file in _psbsd.py _pslinux.py _psmswindows.py _psosx.py _psutil.py; do +for file in __init__.py _psbsd.py _pslinux.py _psmswindows.py _psosx.py; do sed -i.orig -e 1d $file && \ touch -r $file.orig $file && \ rm $file.orig @@ -65,14 +64,9 @@ done chmod a-x docs/class_diagram.png -rm docs/.DS_Store - - %if 0%{?with_python3} -cp -rp . %{py3dir} -pushd %{py3dir} -2to3 --nobackups --write . -popd +rm -rf %{py3dir} +cp -a . %{py3dir} %endif @@ -122,6 +116,11 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Mar 27 2010 ELMORABITY Mohamed 0.1.3-1 +- Update to 0.1.3 +- Remove useless call to 2to3 and the corresponding BuildRequires python2-tools + (this version supports Python 3) + * Sat Feb 20 2010 ELMORABITY Mohamed 0.1.2-4 - Change python-utils BuildRequires for python2-utils diff --git a/sources b/sources index 9551e3a..8fc9ac7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -67235cdecf5c61ee64fc8ee05cc3c47e psutil-0.1.2.tar.gz +ebf8812edf9b79d3952837df2554016a psutil-0.1.3.tar.gz