rpms/python-protocols/FC-5 python-protocols.spec,1.5,1.6

Shahms King (shahms) fedora-extras-commits at redhat.com
Fri Aug 11 15:15:27 UTC 2006


Author: shahms

Update of /cvs/extras/rpms/python-protocols/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9555/FC-5

Modified Files:
	python-protocols.spec 
Log Message:
don't ghost pyo files, update FC4 and FC5 versions to snapshot


Index: python-protocols.spec
===================================================================
RCS file: /cvs/extras/rpms/python-protocols/FC-5/python-protocols.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- python-protocols.spec	13 Feb 2006 17:53:03 -0000	1.5
+++ python-protocols.spec	11 Aug 2006 15:15:27 -0000	1.6
@@ -1,22 +1,26 @@
 %{!?python_sitearch: %define 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
+%define srcname  PyProtocols
+%define alphatag a0dev_r2082
+%define srcver   1.0%{?alphatag}
+%define eggver   1.0a0
 
 Name:           python-protocols
-Version:        0.9.3
-Release:        7%{?dist}
+Version:        1.0
+Release:        0.2.%{alphatag}%{?dist}
 
 Summary:        Open Protocols and Component Adaptation for Python
 
 Group:          Development/Libraries
 License:        PSF or ZPL
 URL:            http://peak.telecommunity.com/PyProtocols.html
-Source0:        http://peak.telecommunity.com/dist/%{srcname}-%{version}.tar.gz
+#Source0:        http://peak.telecommunity.com/dist/%{srcname}-%{version}.tar.gz
+Source0:        http://www.turbogears.org/download/eggs/%{srcname}-%{srcver}.zip
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  python-devel python-setuptools
-Requires:   python-abi = %{python_abi}
+Requires:       python-abi = %{python_abi}
 
 %description
 PyProtocols is an implementation of PEP 246 allowing Python programmers to
@@ -24,7 +28,7 @@
 fragile 'isinstance' if type() comparisons.
 
 %prep
-%setup -q -n %{srcname}-%{version}
+%setup -q -n %{srcname}-%{srcver}
 
 %build
 CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
@@ -44,14 +48,20 @@
 %{python_sitearch}/protocols/*.so
 %{python_sitearch}/protocols/*.py
 %{python_sitearch}/protocols/*.pyc
-%ghost %{python_sitearch}/protocols/*.pyo
+%{python_sitearch}/protocols/*.pyo
 %{python_sitearch}/protocols/*/*.py
 %{python_sitearch}/protocols/*/*.pyc
-%ghost %{python_sitearch}/protocols/*/*.pyo
-%dir %{python_sitearch}/%{srcname}-%{version}-py%{python_abi}.egg-info
-%{python_sitearch}/%{srcname}-%{version}-py%{python_abi}.egg-info/*
+%{python_sitearch}/protocols/*/*.pyo
+%dir %{python_sitearch}/%{srcname}-%{eggver}-py%{python_abi}.egg-info
+%{python_sitearch}/%{srcname}-%{eggver}-py%{python_abi}.egg-info/*
 
 %changelog
+* Fri Aug 11 2006 Shahms E. King <shahms at shahms.com> 1.0-0.2.a0dev_r2082
+- Include, don't ghost .pyo files per new guidelines
+
+* Wed Apr 19 2006 Shahms E. King <shahms at shahms.com> 1.0-0.1.a0dev_r2082
+- Update to new upstream location and snapshot version
+
 * Mon Feb 13 2006 Shahms E. King <shahms at shahms.com> 0.9.3-7
 - Rebuild for FC5
 




More information about the fedora-extras-commits mailing list