[python-psutil/epel7] update to 1.2.1
Matthias Runge
mrunge at fedoraproject.org
Wed Mar 11 19:34:39 UTC 2015
commit a38c1ffabb5563eed384aef0955c5632f31f6720
Author: Matthias Runge <mrunge at redhat.com>
Date: Wed Mar 11 20:34:28 2015 +0100
update to 1.2.1
.gitignore | 1 +
python-psutil.spec | 26 ++++++++++++++------------
sources | 2 +-
3 files changed, 16 insertions(+), 13 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8ddf796..87e63a4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@ psutil-0.1.3.tar.gz
/psutil-0.4.1.tar.gz
/psutil-0.5.1.tar.gz
/psutil-0.6.1.tar.gz
+/psutil-1.2.1.tar.gz
diff --git a/python-psutil.spec b/python-psutil.spec
index 0160c5f..e3270b4 100644
--- a/python-psutil.spec
+++ b/python-psutil.spec
@@ -10,14 +10,14 @@
}
Name: python-psutil
-Version: 0.6.1
-Release: 3%{?dist}
+Version: 1.2.1
+Release: 1%{?dist}
Summary: A process and system utilities module for Python
Group: Development/Languages
License: BSD
URL: http://psutil.googlecode.com/
-Source0: http://psutil.googlecode.com/files/%{short_name}-%{version}.tar.gz
+Source0: https://pypi.python.org/packages/source/p/%{short_name}/%{short_name}-%{version}.tar.gz
BuildRequires: python2-devel
%if 0%{?with_python3}
@@ -77,23 +77,19 @@ popd
--skip-build \
--root $RPM_BUILD_ROOT
-# Fix permissions
-chmod 0755 $RPM_BUILD_ROOT%{python_sitearch}/*.so
-
%if 0%{?with_python3}
pushd %{py3dir}
%{__python3} setup.py install \
--skip-build \
--root $RPM_BUILD_ROOT
popd
-
-# Fix permissions
-chmod 0755 $RPM_BUILD_ROOT%{python3_sitearch}/*.so
%endif
-
+
%files
-%doc CREDITS HISTORY LICENSE README
+%{!?_licensedir:%global license %%doc}
+%license LICENSE
+%doc CREDITS HISTORY README TODO
%{python_sitearch}/%{short_name}/
%{python_sitearch}/*.egg-info
%{python_sitearch}/*.so
@@ -101,7 +97,9 @@ chmod 0755 $RPM_BUILD_ROOT%{python3_sitearch}/*.so
%if 0%{?with_python3}
%files -n python3-psutil
-%doc CREDITS HISTORY LICENSE README
+%{!?_licensedir:%global license %%doc}
+%license LICENSE
+%doc CREDITS HISTORY README TODO
%{python3_sitearch}/%{short_name}/
%{python3_sitearch}/*.egg-info
%{python3_sitearch}/*.so
@@ -109,9 +107,13 @@ chmod 0755 $RPM_BUILD_ROOT%{python3_sitearch}/*.so
%changelog
+* Wed Mar 11 2015 Alan Pevec <apevec at redhat.com> - 1.2.1-1
+- Update to 1.2.1
+
* Tue Feb 18 2014 Matthias Runge <mrunge at redhat.com> - 0.6.1-3
- epel doesn't have python3
+
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.6.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
diff --git a/sources b/sources
index 076c4dd..241f9cf 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3cfcbfb8525f6e4c70110e44a85e907e psutil-0.6.1.tar.gz
+80c3b251389771ab472e554e6c729c36 psutil-1.2.1.tar.gz
More information about the scm-commits
mailing list