rpms/python-protocols/FC-4 python-protocols.spec,1.4,1.5
Shahms King (shahms)
fedora-extras-commits at redhat.com
Fri Aug 11 15:15:26 UTC 2006
Author: shahms
Update of /cvs/extras/rpms/python-protocols/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9555/FC-4
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-4/python-protocols.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- python-protocols.spec 12 May 2005 14:52:33 -0000 1.4
+++ python-protocols.spec 11 Aug 2006 15:15:26 -0000 1.5
@@ -1,37 +1,41 @@
%{!?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: 5%{?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/PyProtocols-0.9.3.tar.gz
-Source1: setuptools.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
-Requires: python-abi = %(%{__python} -c "import sys ; print sys.version[:3]")
+BuildRequires: python-devel python-setuptools
+Requires: python-abi = %{python_abi}
%description
-PyProtocols is an implementation of PEP 246 allowing Python programmers to define
-Interfaces and adapters between them, thereby reducing or eliminating fragile 'isinstance'
-if type() comparisons.
+PyProtocols is an implementation of PEP 246 allowing Python programmers to
+define Interfaces and adapters between them, thereby reducing or eliminating
+fragile 'isinstance' if type() comparisons.
%prep
-%setup -q -n %{srcname}-%{version} -a 1
+%setup -q -n %{srcname}-%{srcver}
%build
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT --single-version-externally-managed
%clean
rm -rf $RPM_BUILD_ROOT
@@ -44,12 +48,26 @@
%{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
+%{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
+
+* Tue Jan 31 2006 Shahms E. King <shahms at shahms.com> 0.9.3-6
+- BuildRequires setuptools, rather than including it
+
* Thu May 12 2005 Shahms E. King <shahms at shahms.com> 0.9.3-4
- rebuilt, add dist tag
More information about the scm-commits
mailing list