rpms/python-zope-interface/devel .cvsignore, 1.2, 1.3 python-zope-interface.spec, 1.5, 1.6 sources, 1.2, 1.3

Paul Howarth (pghmcfc) fedora-extras-commits at redhat.com
Wed Apr 2 13:30:07 UTC 2008


Author: pghmcfc

Update of /cvs/pkgs/rpms/python-zope-interface/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18130

Modified Files:
	.cvsignore python-zope-interface.spec sources 
Log Message:
- update to 3.4.1
- drop the gcc 4.x compatibility patch, no longer needed
- don't run the test suite as it now depends on zope.testing
- exclude _zope_interface_coptimizations.c source from the binary package
- incorporate suggestions from Felix Schwarz:
  - new summary and description
  - new upstream URL (old one out of date)
  - don't package test files
  - include more documentation



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-zope-interface/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	31 Oct 2006 17:41:27 -0000	1.2
+++ .cvsignore	2 Apr 2008 13:29:27 -0000	1.3
@@ -1 +1 @@
-ZopeInterface-3.0.1.tgz
+zope.interface-3.4.1.tar.gz


Index: python-zope-interface.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-zope-interface/devel/python-zope-interface.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- python-zope-interface.spec	14 Feb 2008 15:16:54 -0000	1.5
+++ python-zope-interface.spec	2 Apr 2008 13:29:27 -0000	1.6
@@ -1,28 +1,30 @@
 %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 
 Name:		python-zope-interface
-Version:	3.0.1
-Release:	10%{?dist}
-Summary:	Zope interfaces package
+Version:	3.4.1
+Release:	1%{?dist}
+Summary:	Zope 3 Interface Infrastructure
 Group:		Development/Libraries
 License:	ZPLv2.1
-URL:		http://zope.org/Products/ZopeInterface
-Source0:	http://zope.org/Products/ZopeInterface/3.0.1final/ZopeInterface-%{version}.tgz
+URL:		http://pypi.python.org/pypi/zope.interface
+Source0:	http://pypi.python.org/packages/source/z/zope.interface/zope.interface-%{version}.tar.gz
 Source1:	ZPL-2.1.txt
-Patch0:		ZopeInterface-3.0.1-declbug.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:	python-devel
 
 %description
-This is a separate distribution of the zope.interface package used in Zope 3.
+Interfaces are a mechanism for labeling objects as conforming to a given API
+or contract.
 
-It includes a patch to fix compilation on gcc 4.x, as described here:
-http://www.zope.org/Collectors/Zope3-dev/366/
+This is a separate distribution of the zope.interface package used in Zope 3.
 
 %prep
-%setup -n ZopeInterface-%{version} -q
+%setup -n zope.interface-%{version} -q
 %{__cp} -a %{SOURCE1} .
-%patch0 -p1
+
+# Tests require additional modules and shouldn't be packaged
+%{__rm} -rfv src/zope/interface/tests/
+%{__rm} -rfv src/zope/interface/common/tests/
 
 %build
 CFLAGS="%{optflags}" %{__python} setup.py build
@@ -30,20 +32,43 @@
 %install
 %{__rm} -rf %{buildroot}
 %{__python} setup.py install -O1 --skip-build --root  %{buildroot}
-/usr/bin/find %{buildroot} -name \*.so -exec %{__chmod} 755 {} \;
+
+# Will put docs in %{_docdir} instead
+%{__rm} -f %{buildroot}%{python_sitearch}/zope/interface/*.txt
+
+# C files don't need to be packaged
+%{__rm} -f %{buildroot}%{python_sitearch}/zope/interface/_zope_interface_coptimizations.c
+
+# Fix permissions of shared objects to placate rpmlint
+%{__chmod} 755  %{buildroot}%{python_sitearch}/zope/interface/_zope_interface_coptimizations.so
 
 %check
-cd ./build/lib.* && PYTHONPATH=$(pwd) %{__python} ./zope/testing/tests.py
+# Skipped; would require zope.testing, which isn't in Fedora yet
 
 %clean
 %{__rm} -rf %{buildroot}
 
 %files
 %defattr(-,root,root,-)
-%doc README.txt ZPL-2.1.txt
+%doc ZPL-2.1.txt src/zope/interface/*.txt
 %{python_sitearch}/zope*
 
 %changelog
+* Mon Mar 31 2008 Paul Howarth <paul at city-fan.org> 3.4.1-1
+- update to 3.4.1
+- incorporate suggestions from Felix Schwarz:
+  - new summary and description
+  - new upstream URL (old one out of date)
+  - don't package test files
+  - include more documentation
+
+* Mon Mar 31 2008 Paul Howarth <paul at city-fan.org> 3.3.0-1
+- update to 3.3.0
+- update source URL to include versioned directory and new tarball name
+- drop the gcc 4.x compatibility patch, no longer needed
+- don't run the test suite as it now depends on zope.testing
+- exclude _zope_interface_coptimizations.c source from the binary package
+
 * Thu Feb 14 2008 Paul Howarth <paul at city-fan.org> 3.0.1-10
 - rebuild with gcc 4.3.0 for Fedora 9
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-zope-interface/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	31 Oct 2006 17:41:27 -0000	1.2
+++ sources	2 Apr 2008 13:29:27 -0000	1.3
@@ -1 +1 @@
-114f302c2b132d43ad4e01d108b4d192  ZopeInterface-3.0.1.tgz
+b085f4a774adab688e037ad32fbbf08e  zope.interface-3.4.1.tar.gz




More information about the scm-commits mailing list