rpms/python-protocols/devel python-protocols.spec, 1.4, 1.5 sources, 1.2, 1.3

Shahms King (shahms) fedora-extras-commits at redhat.com
Mon Feb 13 17:53:04 UTC 2006


Author: shahms

Update of /cvs/extras/rpms/python-protocols/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17078

Modified Files:
	python-protocols.spec sources 
Log Message:
Rebuild for FC5 and BuildRequires setuptools



Index: python-protocols.spec
===================================================================
RCS file: /cvs/extras/rpms/python-protocols/devel/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	13 Feb 2006 17:53:03 -0000	1.5
@@ -1,37 +1,37 @@
 %{!?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
 
 Name:           python-protocols
 Version:        0.9.3
-Release:        5%{?dist}
+Release:        7%{?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
 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}-%{version}
 
 %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
@@ -48,8 +48,16 @@
 %{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/*
 
 %changelog
+* 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
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-protocols/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	15 Mar 2005 20:49:49 -0000	1.2
+++ sources	13 Feb 2006 17:53:03 -0000	1.3
@@ -1,2 +1 @@
 50559c9869389e9d576b98f6382b1324  PyProtocols-0.9.3.tar.gz
-1fe0f57c72b81ab7fc357b972ba80f4b  setuptools.tar.gz




More information about the scm-commits mailing list