diff options
author | Robin Lee <robinlee.sysu@gmail.com> | 2010-08-31 12:08:30 +0800 |
---|---|---|
committer | Robin Lee <robinlee.sysu@gmail.com> | 2010-08-31 12:08:30 +0800 |
commit | 0a17ac241c27081efdcc67dad454916ed7ee51f6 (patch) | |
tree | e215a6c9664c59ffc825168c0a29220e32cdcf17 | |
parent | 941515c3455e27b850dd33753ca3daa4569ca7fb (diff) | |
download | zope-rpm-0a17ac241c27081efdcc67dad454916ed7ee51f6.tar.gz zope-rpm-0a17ac241c27081efdcc67dad454916ed7ee51f6.tar.xz zope-rpm-0a17ac241c27081efdcc67dad454916ed7ee51f6.zip |
python-zope-exceptions imported
3 files changed, 0 insertions, 103 deletions
diff --git a/python-five-filesystem/F-13/python-five-filesystem-__init__.py b/python-five-filesystem/F-13/python-five-filesystem-__init__.py deleted file mode 100644 index 2e2033b..0000000 --- a/python-five-filesystem/F-13/python-five-filesystem-__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# this is a namespace package -try: - import pkg_resources - pkg_resources.declare_namespace(__name__) -except ImportError: - import pkgutil - __path__ = pkgutil.extend_path(__path__, __name__) diff --git a/python-five-filesystem/F-13/python-five-filesystem.spec b/python-five-filesystem/F-13/python-five-filesystem.spec deleted file mode 100644 index b2642cc..0000000 --- a/python-five-filesystem/F-13/python-five-filesystem.spec +++ /dev/null @@ -1,46 +0,0 @@ -%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())")} -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} -%endif - -Name: python-five-filesystem -Version: 1 -Release: 1%{?dist} -Summary: python-five Libraries Base Filesystem -Group: Development/Languages -License: ZPLv2.1 -URL: http://fedorapeople.org/gitweb?p=cheeselee/public_git/rpm.git;a=summary -Source0: python-five-filesystem-__init__.py - -BuildRequires: python2-devel - -%description -This package contains the base filesystem layout for all Fedora -python-five-* packages. - -%prep - -%build - -%install -rm -rf $RPM_BUILD_ROOT -install -Dpm 644 %{SOURCE0} $RPM_BUILD_ROOT%{python_sitelib}/five/__init__.py -install -Dpm 644 %{SOURCE0} $RPM_BUILD_ROOT%{python_sitearch}/five/__init__.py - - -%clean -rm -rf $RPM_BUILD_ROOT - - -%files -%defattr(-,root,root,-) -# For noarch packages: sitelib -%{python_sitelib}/five -%if "%{python_sitearch}" != "%{python_sitelib}" -# For arch-specific packages: sitearch -%{python_sitearch}/five -%endif - -%changelog -* Wed Jun 16 2010 Robin Lee <robinlee.sysu@gmail.com> - 1-1 -- Initial package imitating python-zope-filesystem. diff --git a/python-zope-exceptions/F-13/python-zope-exceptions.spec b/python-zope-exceptions/F-13/python-zope-exceptions.spec deleted file mode 100644 index 5767ff5..0000000 --- a/python-zope-exceptions/F-13/python-zope-exceptions.spec +++ /dev/null @@ -1,50 +0,0 @@ -%global modname zope.exceptions - -Summary: Zope Exceptions -Name: python-zope-exceptions -Version: 3.6.1 -Release: 2%{?dist} -Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.zip -License: ZPLv2.1 -Group: Development/Libraries -BuildArch: noarch -URL: http://cheeseshop.python.org/pypi/zope.exceptions - -BuildRequires: python2-devel -BuildRequires: python-setuptools -Requires: python-zope-filesystem -Requires: python-zope-interface - -%description -This package contains exception interfaces and implementations which are so -general purpose that they don't belong in Zope application-specific packages. - -%prep -%setup -q -n %{modname}-%{version} - -%build -python setup.py build - -%install -python setup.py install --root=$RPM_BUILD_ROOT - -%files -%defattr(-,root,root,-) -%doc LICENSE.txt CHANGES.txt README.txt COPYRIGHT.txt -%{python_sitelib}/zope/exceptions/ -%{python_sitelib}/%{modname}-*.egg-info -%{python_sitelib}/%{modname}-*-nspkg.pth - - -%changelog -* Mon Aug 30 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.6.1-2 -- Remove %%clean section -- Remove python-setuptools from requirements -- Remove definitions of Python-related macros - -* Mon Aug 30 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.6.1-1 -- Update to 3.6.1 -- Summit review request - -* Wed Jun 16 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.6.0-1 -- Initial packaging |