[python-pyro] new sources

david hannequin hvad at fedoraproject.org
Sat Oct 1 10:47:04 UTC 2011


commit 28d4b400f0672a83dba9ee1f6c2035387a24ef43
Author: hvad <hvad at fedoraproject.org>
Date:   Sat Oct 1 12:46:32 2011 +0200

    new sources

 .gitignore       |    1 +
 python-pyro.spec |   19 +++++++++++++++----
 sources          |    2 +-
 3 files changed, 17 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5ddc438..adeb633 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /python-pyro.spec
 /Pyro4-4.3.tar.gz
+/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 c6fb674..f35664b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-165a6a22821a0b7c16652e07776937c9  Pyro4-4.3.tar.gz
+00bf604303898ee920975a8ddd76bae1  Pyro4-4.9.tar.gz


More information about the scm-commits mailing list