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 |
rm %{buildroot}/%{xmldir}/.filemap |
rm -rf %{buildroot}/%{xmldir}/.filemap |
59 |
rm %{buildroot}/%{xmldir}/.lock |
rm -rf %{buildroot}/%{xmldir}/.lock |
60 |
rm -rf %{buildroot}/%{xmldir}/.registry |
rm -rf %{buildroot}/%{xmldir}/.registry |
61 |
rm -rf %{buildroot}/%{xmldir}/.channels |
rm -rf %{buildroot}/%{xmldir}/.channels |
62 |
if [[ -f %{buildroot}%{xmldir}/.depdb ]] ;then |
if [[ -f %{buildroot}%{xmldir}/.depdb ]] ;then |
63 |
rm %{buildroot}%{xmldir}/.depdb |
rm -rf %{buildroot}%{xmldir}/.depdb |
64 |
fi |
fi |
65 |
if [[ -f %{buildroot}{xmldir}/.depdblock ]] ;then |
if [[ -f %{buildroot}{xmldir}/.depdblock ]] ;then |
66 |
rm %{buildroot}%{xmldir}/.depdblock |
rm -rf %{buildroot}%{xmldir}/.depdblock |
67 |
fi |
fi |
68 |
|
|
69 |
|
|