[python-protocols] The turbogears mirror of this has gone away. Update to PEAK source

Toshio くらとみ toshio at fedoraproject.org
Sat Jul 16 00:15:21 UTC 2011


commit 5e1032f7898350cc82ae18257b04a460102b559f
Author: Toshio Kuratomi <toshio at fedoraproject.org>
Date:   Fri Jul 15 17:14:50 2011 -0700

    The turbogears mirror of this has gone away.  Update to PEAK source

 .gitignore            |    1 +
 python-protocols.spec |   18 +++++-------------
 sources               |    2 +-
 3 files changed, 7 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 51b3f2a..77f6b89 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 PyProtocols-1.0a0dev-r2302.zip
+/PyProtocols-1.0a0dev-r2302.tar.gz
diff --git a/python-protocols.spec b/python-protocols.spec
index 21280a3..56f85b9 100644
--- a/python-protocols.spec
+++ b/python-protocols.spec
@@ -1,4 +1,4 @@
-%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 %define python_abi %(%{__python} -c "import sys; print sys.version[:3]")
 
 %define srcname  PyProtocols
@@ -16,10 +16,10 @@ Summary:        Open Protocols and Component Adaptation for Python
 Group:          Development/Libraries
 License:        Python or ZPLv2.1
 URL:            http://peak.telecommunity.com/PyProtocols.html
-Source0:        http://files.turbogears.org/eggs/%{srcname}-%{filever}.zip
+Source0: http://peak.telecommunity.com/snapshots/%{srcname}-%{filever}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires:  python-devel
+BuildRequires:  python2-devel
 BuildRequires: python-setuptools
 BuildRequires: python-decoratortools
 Requires: python-decoratortools
@@ -49,16 +49,8 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(-,root,root,-)
 %doc README.txt CHANGES.txt docs/*
-%dir %{python_sitearch}/protocols
-%{python_sitearch}/protocols/*.so
-%{python_sitearch}/protocols/*.py
-%{python_sitearch}/protocols/*.pyc
-%{python_sitearch}/protocols/*.pyo
-%{python_sitearch}/protocols/*/*.py
-%{python_sitearch}/protocols/*/*.pyc
-%{python_sitearch}/protocols/*/*.pyo
-%dir %{python_sitearch}/%{srcname}-%{eggver}%{alphatag}_%{revision}-py%{python_abi}.egg-info
-%{python_sitearch}/%{srcname}-%{eggver}%{alphatag}_%{revision}-py%{python_abi}.egg-info/*
+%{python_sitearch}/protocols/
+%{python_sitearch}/%{srcname}-%{eggver}%{alphatag}_%{revision}-py%{python_abi}.egg-info/
 
 %changelog
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0-0.14.a0dev_r2302
diff --git a/sources b/sources
index 2f63623..81bd057 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-04ab0051ceb961919607b025a92671f7  PyProtocols-1.0a0dev-r2302.zip
+1e2636a364f2f7305832551efeb80b4b  PyProtocols-1.0a0dev-r2302.tar.gz


More information about the scm-commits mailing list