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