58 |
|
|
59 |
# Clean up unnecessary files |
# Clean up unnecessary files |
60 |
rm pearrc |
rm pearrc |
61 |
rm %{buildroot}/%{peardir}/.filemap |
rm -rf %{buildroot}/%{peardir}/.filemap |
62 |
rm %{buildroot}/%{peardir}/.lock |
rm -rf %{buildroot}/%{peardir}/.lock |
63 |
rm -rf %{buildroot}/%{peardir}/.registry |
rm -rf %{buildroot}/%{peardir}/.registry |
64 |
rm -rf %{buildroot}%{peardir}/.channels |
rm -rf %{buildroot}%{peardir}/.channels |
65 |
rm %{buildroot}/%{xmldir}/.filemap |
rm -rf %{buildroot}/%{xmldir}/.filemap |
66 |
rm %{buildroot}/%{xmldir}/.lock |
rm -rf %{buildroot}/%{xmldir}/.lock |
67 |
rm -rf %{buildroot}/%{xmldir}/.registry |
rm -rf %{buildroot}/%{xmldir}/.registry |
68 |
rm -rf %{buildroot}/%{xmldir}/.channels |
rm -rf %{buildroot}/%{xmldir}/.channels |
69 |
if [[ -f %{buildroot}%{xmldir}/.depdb ]] ;then |
if [[ -f %{buildroot}%{xmldir}/.depdb ]] ;then |
70 |
rm %{buildroot}%{xmldir}/.depdb |
rm -rf %{buildroot}%{xmldir}/.depdb |
71 |
fi |
fi |
72 |
if [[ -f %{buildroot}{xmldir}/.depdblock ]] ;then |
if [[ -f %{buildroot}{xmldir}/.depdblock ]] ;then |
73 |
rm %{buildroot}%{xmldir}/.depdblock |
rm -rf %{buildroot}%{xmldir}/.depdblock |
74 |
fi |
fi |
75 |
|
|
76 |
mv %{buildroot}/docs . |
mv %{buildroot}/docs . |