]> git.pld-linux.org Git - packages/python-telepathy.git/blobdiff - python-telepathy.spec
- noarch
[packages/python-telepathy.git] / python-telepathy.spec
index 3475c28172fb753753c25176646097ad320cc6fc..7e1019be99b0ca9ea429d45a901f96290be99e34 100644 (file)
@@ -8,8 +8,10 @@ Group:         Libraries/Python
 Source0:       http://telepathy.freedesktop.org/releases/telepathy-python/telepathy-python-%{version}.tar.gz
 # Source0-md5: a8c7d7cd3c0f18eff5848a1f060b979e
 URL:           http://telepathy.freedesktop.org/wiki/
-BuildRequires: python
+BuildRequires: python >= 1:2.5
 BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -31,14 +33,14 @@ python setup.py install \
         --root=$RPM_BUILD_ROOT \
         --optimize=2
 
-find $RPM_BUILD_ROOT%{py_sitescriptdir} -name \*.py | xargs rm -f
+%py_postclean
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS README
+%doc AUTHORS README TODO-*
 %dir %{py_sitescriptdir}/telepathy
 %{py_sitescriptdir}/telepathy/*.py[co]
 %dir %{py_sitescriptdir}/telepathy/_generated
@@ -47,3 +49,4 @@ rm -rf $RPM_BUILD_ROOT
 %{py_sitescriptdir}/telepathy/client/*.py[co]
 %dir %{py_sitescriptdir}/telepathy/server
 %{py_sitescriptdir}/telepathy/server/*.py[co]
+%{py_sitescriptdir}/telepathy_python-*.egg-info
This page took 0.054103 seconds and 4 git commands to generate.