From ed5e23c30d343cef926019504602f4c49755ac99 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Aug 21 2013 21:07:17 +0000 Subject: Remove examples dir --- diff --git a/python-wifi.spec b/python-wifi.spec index b92ebd5..c5cfb9b 100644 --- a/python-wifi.spec +++ b/python-wifi.spec @@ -38,17 +38,16 @@ rm -rf python_wifi.egg-info %{__python} setup.py install --skip-build --root="%{buildroot}" # Delete the doc files, wrong location rm %{buildroot}/usr/{INSTALL,README} -rm %{buildroot}/usr/docs/* +rm -rf %{buildroot}/usr/docs/ +rm -rf %{buildroot}/usr/examples/ # Move the man pages mkdir -p %{buildroot}%{_mandir}/man8/ mv %{buildroot}/usr/man/man8/iw* %{buildroot}%{_mandir}/man8/ -# Delete the logos -rm -rf %{buildroot}/usr/docs/logos %files %doc README docs/AUTHORS docs/BUGS docs/ChangeLog docs/LICENSE* docs/DEVEL.txt %doc docs/TODO docs/ROADMAP docs/NEWS -%doc examples/*.py* tests feature*.txt +%doc examples/*.py* tests %{_mandir}/man*/iw*.* %{python_sitelib}/pythonwifi/ %{python_sitelib}/python_wifi*.egg-info