]>
Commit | Line | Data |
---|---|---|
25e68304 | 1 | Summary: zope.deprecation package used in Zope 3 |
2 | Name: Zope-Deprecation | |
3 | Version: 3.4.0 | |
4 | Release: 0.1 | |
5 | License: ZPL 2.0 | |
6 | Group: Development/Tools | |
7 | Source0: http://download.zope.org/distribution/zope.deprecation-%{version}.tar.gz | |
8 | # Source0-md5: cc5814063505f217c6df3fc93ec8b2df | |
9 | URL: http://pypi.python.org/pypi/zope.deprecation/3.5.1 | |
10 | BuildRequires: python | |
11 | BuildRequires: python-devel | |
12 | %pyrequires_eq python-modules | |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
14 | ||
15 | %description | |
16 | zope.deprecation package used in Zope 3. | |
17 | ||
18 | %prep | |
19 | %setup -q -n zope.deprecation-%{version} | |
20 | ||
21 | %build | |
22 | python ./setup.py build | |
23 | ||
24 | %install | |
25 | rm -rf $RPM_BUILD_ROOT | |
26 | ||
27 | python ./setup.py install \ | |
28 | --optimize 2 \ | |
29 | --root=$RPM_BUILD_ROOT | |
30 | ||
31 | %{py_postclean} | |
32 | ||
33 | %clean | |
34 | rm -rf $RPM_BUILD_ROOT | |
35 | ||
36 | %files | |
37 | %defattr(644,root,root,755) | |
38 | %{py_sitescriptdir}/zope/deprecation | |
39 | %{py_sitescriptdir}/zope*egg* | |
40 | %{py_sitescriptdir}/zope*pth |