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