[python-pyro/f15] new sources
david hannequin
hvad at fedoraproject.org
Sat Oct 1 17:14:18 UTC 2011
commit 47ea83a5f065f22ca829e8e32758e7a09ba41bb2
Author: hvad <hvad at fedoraproject.org>
Date: Sat Oct 1 19:13:56 2011 +0200
new sources
.gitignore | 1 +
python-pyro.spec | 19 +++++++++++++++----
sources | 3 +--
3 files changed, 17 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8365e2c..484418b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/Pyro4-4.3.tar.gz
/python-pyro.spec
+/Pyro4-4.9.tar.gz
diff --git a/python-pyro.spec b/python-pyro.spec
index b65d4f2..801021f 100644
--- a/python-pyro.spec
+++ b/python-pyro.spec
@@ -1,14 +1,14 @@
%global with_python3 1
Name: python-pyro
-Version: 4.3
-Release: 2%{?dist}
+Version: 4.9
+Release: 1%{?dist}
Summary: PYthon Remote Objects
Group: Development/Languages
License: MIT
URL: http://www.xs4all.nl/~irmen/pyro4/index.html
-Source0: http://www.xs4all.nl/~irmen/pyro4/download/Pyro4-%{version}.tar.gz
+Source0: http://pypi.python.org/packages/source/P/Pyro4/Pyro4-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -57,16 +57,24 @@ popd
%install
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
find examples -type f -exec sed -i 's/\r//' {} \;
+#find source -type f -exec sed -i 's/\r//' {} \;
sed -i 's/\r//' README.txt LICENSE
+chmod -x examples/echoserver/{Readme.txt,client.py}
+chmod -x examples/gui_eventloop/gui_threads.py
+
+
%if 0%{?with_python3}
pushd %{py3dir}
%{__python3} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
find examples -type f -exec sed -i 's/\r//' {} \;
+#find source -type f -exec sed -i 's/\r//' {} \;
sed -i 's/\r//' README.txt LICENSE
+chmod -x examples/echoserver/{Readme.txt,client.py}
+chmod -x examples/gui_eventloop/gui_threads.py
popd
%endif # with_python3
-
+
%files
%defattr(-,root,root,-)
%doc docs/* examples README.txt LICENSE
@@ -82,6 +90,9 @@ popd
%endif
%changelog
+* Sat Oct 1 2011 David Hannequin <david.hannequin at gmail.com> 4.9-1
+- Update from upstream
+
* Wed Mar 13 2011 David Hannequin <david.hannequin at gmail.com> 4.3-2
- Python 3 support (thanks Haïkel Guémar)
diff --git a/sources b/sources
index 9d93192..f35664b 100644
--- a/sources
+++ b/sources
@@ -1,2 +1 @@
-165a6a22821a0b7c16652e07776937c9 Pyro4-4.3.tar.gz
-80474ad525e2b6ab840249909697e110 python-pyro.spec
+00bf604303898ee920975a8ddd76bae1 Pyro4-4.9.tar.gz
More information about the scm-commits
mailing list