[python-pyro/f14] new spec file

david hannequin hvad at fedoraproject.org
Sat Oct 1 17:02:58 UTC 2011


commit e1635bbc196266e2458f7442e90773880220d1f2
Author: hvad <hvad at fedoraproject.org>
Date:   Sat Oct 1 19:02:19 2011 +0200

    new spec file

 python-pyro.spec |   19 +++++++++++++++----
 1 files changed, 15 insertions(+), 4 deletions(-)
---
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)
 


More information about the scm-commits mailing list