51 |
|
|
52 |
# Clean up unnecessary files |
# Clean up unnecessary files |
53 |
rm pearrc |
rm pearrc |
54 |
rm %{buildroot}/%{peardir}/.filemap |
rm -rf %{buildroot}/%{peardir}/.filemap |
55 |
rm %{buildroot}/%{peardir}/.lock |
rm -rf %{buildroot}/%{peardir}/.lock |
56 |
rm -rf %{buildroot}/%{peardir}/.registry |
rm -rf %{buildroot}/%{peardir}/.registry |
57 |
rm -rf %{buildroot}%{peardir}/.channels |
rm -rf %{buildroot}%{peardir}/.channels |
58 |
|
|
59 |
rm %{buildroot}/%{xmldir}/.filemap |
rm -rf %{buildroot}/%{xmldir}/.filemap |
60 |
rm %{buildroot}/%{xmldir}/.lock |
rm -rf %{buildroot}/%{xmldir}/.lock |
61 |
rm -rf %{buildroot}/%{xmldir}/.registry |
rm -rf %{buildroot}/%{xmldir}/.registry |
62 |
rm -rf %{buildroot}/%{xmldir}/.channels |
rm -rf %{buildroot}/%{xmldir}/.channels |
63 |
if [[ -f %{buildroot}%{xmldir}/.depdb ]] ;then |
if [[ -f %{buildroot}%{xmldir}/.depdb ]] ;then |
64 |
rm %{buildroot}%{xmldir}/.depdb |
rm -rf %{buildroot}%{xmldir}/.depdb |
65 |
fi |
fi |
66 |
if [[ -f %{buildroot}{xmldir}/.depdblock ]] ;then |
if [[ -f %{buildroot}{xmldir}/.depdblock ]] ;then |
67 |
rm %{buildroot}%{xmldir}/.depdblock |
rm -rf %{buildroot}%{xmldir}/.depdblock |
68 |
fi |
fi |
69 |
|
|
70 |
|
|