rpms/python-zope-testing/devel .cvsignore, 1.2, 1.3 python-zope-testing.spec, 1.4, 1.5 sources, 1.2, 1.3

Robin 'cheese' Lee cheeselee at fedoraproject.org
Wed Jun 16 19:14:28 UTC 2010


Author: cheeselee

Update of /cvs/pkgs/rpms/python-zope-testing/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv5531

Modified Files:
	.cvsignore python-zope-testing.spec sources 
Log Message:
* Thu Jun 17 2010 Robin Lee <robinlee.sysu at gmail.com> - 3.9.5-1
- Update to 3.9.5
- Rearrange documents
- Requires: python-zope-interface and python-zope-exceptions added



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-zope-testing/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- .cvsignore	27 Apr 2009 02:32:51 -0000	1.2
+++ .cvsignore	16 Jun 2010 19:14:28 -0000	1.3
@@ -1 +1 @@
-zope.testing-3.7.3.tar.gz
+zope.testing-3.9.5.tar.gz


Index: python-zope-testing.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-zope-testing/devel/python-zope-testing.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- python-zope-testing.spec	27 Jul 2009 01:35:36 -0000	1.4
+++ python-zope-testing.spec	16 Jun 2010 19:14:28 -0000	1.5
@@ -1,8 +1,10 @@
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%endif
 
 Name:           python-zope-testing
-Version:        3.7.3
-Release:        4%{?dist}
+Version:        3.9.5
+Release:        1%{?dist}
 Summary:        Zope Testing Framework
 Group:          Development/Languages
 License:        ZPLv2.1
@@ -13,6 +15,8 @@ BuildRoot:      %{_tmppath}/%{name}-%{ve
 BuildArch:      noarch
 BuildRequires:  python-devel
 Requires:       python-zope-filesystem
+Requires:       python-zope-exceptions
+Requires:       python-zope-interface
 
 
 %description
@@ -35,6 +39,15 @@ rm -rf $RPM_BUILD_ROOT
 # Use the __init__.py from python-zope-filesystem instead.
 rm -f $RPM_BUILD_ROOT%{python_sitelib}/zope/__init__.py*
 
+# Deal with documents
+rm -f $RPM_BUILD_ROOT%{python_sitelib}/zope/testing/*.txt
+rm -f $RPM_BUILD_ROOT%{python_sitearch}/zope/testing/testrunner/*.txt
+mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/testrunner/
+cp -p src/zope/testing/*.txt $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/
+cp -p src/zope/testing/testrunner/*.txt \
+   $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/testrunner/
+cp -p COPYRIGHT.txt LICENSE.txt CHANGES.txt README.txt \
+   $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/
  
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -42,12 +55,17 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc documentation.txt CHANGES.txt README.txt
-%{python_sitelib}/zope/*
+%{_docdir}/%{name}-%{version}/
+%{python_sitelib}/zope/testing/
 %{python_sitelib}/zope.testing*
 
 
 %changelog
+* Thu Jun 17 2010 Robin Lee <robinlee.sysu at gmail.com> - 3.9.5-1
+- Update to 3.9.5
+- Rearrange documents
+- Requires: python-zope-interface and python-zope-exceptions added
+
 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.7.3-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-zope-testing/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- sources	27 Apr 2009 02:32:51 -0000	1.2
+++ sources	16 Jun 2010 19:14:28 -0000	1.3
@@ -1 +1 @@
-5b4beacff550fb306fb49500679080cf  zope.testing-3.7.3.tar.gz
+39092299d71c5dea5378c912df4cc84c  zope.testing-3.9.5.tar.gz



More information about the scm-commits mailing list