From 25e683044c5e28a62a3c0b8dfc4f3e58c188a661 Mon Sep 17 00:00:00 2001 From: wrobell Date: Mon, 10 Sep 2007 17:46:58 +0000 Subject: [PATCH] - based on Zope-Testing.spec Changed files: Zope-Deprecation.spec -> 1.1 --- Zope-Deprecation.spec | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Zope-Deprecation.spec diff --git a/Zope-Deprecation.spec b/Zope-Deprecation.spec new file mode 100644 index 0000000..62e3ebf --- /dev/null +++ b/Zope-Deprecation.spec @@ -0,0 +1,40 @@ +Summary: zope.deprecation package used in Zope 3 +Name: Zope-Deprecation +Version: 3.4.0 +Release: 0.1 +License: ZPL 2.0 +Group: Development/Tools +Source0: http://download.zope.org/distribution/zope.deprecation-%{version}.tar.gz +# Source0-md5: cc5814063505f217c6df3fc93ec8b2df +URL: http://pypi.python.org/pypi/zope.deprecation/3.5.1 +BuildRequires: python +BuildRequires: python-devel +%pyrequires_eq python-modules +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +zope.deprecation package used in Zope 3. + +%prep +%setup -q -n zope.deprecation-%{version} + +%build +python ./setup.py build + +%install +rm -rf $RPM_BUILD_ROOT + +python ./setup.py install \ + --optimize 2 \ + --root=$RPM_BUILD_ROOT + +%{py_postclean} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%{py_sitescriptdir}/zope/deprecation +%{py_sitescriptdir}/zope*egg* +%{py_sitescriptdir}/zope*pth -- 2.43.0