Update to 0.2.0
This commit is contained in:
parent
e29d9ec918
commit
059244eb3b
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
psutil-0.1.3.tar.gz
|
psutil-0.1.3.tar.gz
|
||||||
|
/psutil-0.2.0.tar.gz
|
||||||
|
@ -7,8 +7,8 @@
|
|||||||
%global short_name psutil
|
%global short_name psutil
|
||||||
|
|
||||||
Name: python-psutil
|
Name: python-psutil
|
||||||
Version: 0.1.3
|
Version: 0.2.0
|
||||||
Release: 5%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: A process utilities module for Python
|
Summary: A process utilities module for Python
|
||||||
|
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
@ -47,21 +47,13 @@ task manager.
|
|||||||
%setup -q -n %{short_name}-%{version}
|
%setup -q -n %{short_name}-%{version}
|
||||||
|
|
||||||
# Remove shebangs
|
# Remove shebangs
|
||||||
pushd psutil
|
for file in psutil/*.py; do
|
||||||
for file in __init__.py _psbsd.py _pslinux.py _psmswindows.py _psosx.py; do
|
|
||||||
sed -i.orig -e 1d $file && \
|
sed -i.orig -e 1d $file && \
|
||||||
touch -r $file.orig $file && \
|
touch -r $file.orig $file && \
|
||||||
rm $file.orig
|
rm $file.orig
|
||||||
done
|
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
|
chmod a-x docs/class_diagram.png
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
@ -102,7 +94,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc HISTORY LICENSE README docs
|
%doc CREDITS HISTORY LICENSE README docs
|
||||||
%{python_sitelib}/%{short_name}
|
%{python_sitelib}/%{short_name}
|
||||||
%{python_sitelib}/*.egg-info
|
%{python_sitelib}/*.egg-info
|
||||||
|
|
||||||
@ -110,13 +102,16 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
%files -n python3-psutil
|
%files -n python3-psutil
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc HISTORY LICENSE README docs
|
%doc CREDITS HISTORY LICENSE README docs
|
||||||
%{python3_sitelib}/%{short_name}
|
%{python3_sitelib}/%{short_name}
|
||||||
%{python3_sitelib}/*.egg-info
|
%{python3_sitelib}/*.egg-info
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 22 2010 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.2.0-1
|
||||||
|
- Update to 0.2.0
|
||||||
|
|
||||||
* Wed Aug 25 2010 Thomas Spura <tomspur@fedoraproject.org> - 0.1.3-5
|
* Wed Aug 25 2010 Thomas Spura <tomspur@fedoraproject.org> - 0.1.3-5
|
||||||
- rebuild with python3.2
|
- rebuild with python3.2
|
||||||
http://lists.fedoraproject.org/pipermail/devel/2010-August/141368.html
|
http://lists.fedoraproject.org/pipermail/devel/2010-August/141368.html
|
||||||
|
Loading…
Reference in New Issue
Block a user