]> git.pld-linux.org Git - packages/Zope-Deprecation.git/blame - Zope-Deprecation.spec
- py_sitedir is not noarch
[packages/Zope-Deprecation.git] / Zope-Deprecation.spec
CommitLineData
69d8a7de 1Summary: Deprecation library for Python code
853d4e59 2Summary(pl.UTF-8): Biblioteka odradzajÄ…ca dla kodu w Pythonie
25e68304 3Name: Zope-Deprecation
4Version: 3.4.0
99929afd 5Release: 2
69d8a7de 6License: ZPL 2.1
7Group: Libraries/Python
25e68304 8Source0: http://download.zope.org/distribution/zope.deprecation-%{version}.tar.gz
9# Source0-md5: cc5814063505f217c6df3fc93ec8b2df
69d8a7de 10URL: http://www.zope.org/
853d4e59
JB
11BuildRequires: python >= 1:2.5
12BuildRequires: python-devel >= 1:2.5
13BuildRequires: rpm-pythonprov
14BuildRequires: rpmbuild(macros) >= 1.219
25e68304 15%pyrequires_eq python-modules
727fd8f2 16Requires: Zope-Testing
25e68304 17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
69d8a7de 20Deprecation library for Python code.
25e68304 21
853d4e59
JB
22%description -l pl.UTF-8
23Biblioteka odradzajÄ…ca dla kodu w Pythonie.
24
25e68304 25%prep
26%setup -q -n zope.deprecation-%{version}
27
28%build
29python ./setup.py build
30
31%install
32rm -rf $RPM_BUILD_ROOT
33
34python ./setup.py install \
99929afd 35 --install-purelib=%{py_sitedir} \
25e68304 36 --optimize 2 \
37 --root=$RPM_BUILD_ROOT
38
853d4e59 39%py_postclean
25e68304 40
41%clean
42rm -rf $RPM_BUILD_ROOT
43
44%files
45%defattr(644,root,root,755)
99929afd 46%{py_sitedir}/zope/deprecation
47%{py_sitedir}/zope.deprecation-*.egg-info
48%{py_sitedir}/zope.deprecation-*-nspkg.pth
This page took 0.050295 seconds and 5 git commands to generate.