From ee3c26e71878bb7f7c5e78d0f78735938d1781a6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Aug 05 2013 20:12:50 +0000 Subject: Move of files removed --- diff --git a/python-wifi.spec b/python-wifi.spec index 0fd1e38..fc8d747 100644 --- a/python-wifi.spec +++ b/python-wifi.spec @@ -29,6 +29,7 @@ for file in docs/AUTHORS; do iconv -f ISO-8859-1 -t UTF-8 -o $file timestamp touch -r timestamp $file done +rm -rf python_wifi.egg-info %build %{__python} setup.py build @@ -38,21 +39,15 @@ done # Delete the doc files, wrong location rm %{buildroot}/usr/{INSTALL,README} rm %{buildroot}/usr/docs/{AUTHORS,BUGS,ChangeLog,DEVEL.txt,LICENSE*,NEWS,ROADMAP,TODO,VERSION} -# Move the examples -mkdir -p %{buildroot}%{_defaultdocdir}/%{name}-%{version}/examples/ -mv %{buildroot}/usr/examples/{iwconfig.py,iwlist.py} \ - %{buildroot}%{_defaultdocdir}/%{name}-%{version}/examples/ # Move the man pages mkdir -p %{buildroot}%{_mandir}/man8/ mv %{buildroot}/usr/man/man8/iw* %{buildroot}%{_mandir}/man8/ -# Move the doc files to the right directory -mv %{buildroot}/usr/docs/*.txt %{buildroot}%{_defaultdocdir}/%{name}-%{version}/ # Delete the logos rm %{buildroot}/usr/docs/logos/* %files -%doc README docs/AUTHORS docs/BUGS docs/ChangeLog -%doc docs/LICENSE* docs/NEWS docs/ROADMAP docs/TODO docs/VERSION +%doc README docs/AUTHORS docs/BUGS ChangeLog LICENSE NEWS docs/DEVEL.txt +%doc docs/TODO %doc examples/*.py* tests feature*.txt %{_mandir}/man*/iw*.* %{python_sitelib}/pythonwifi/