mwatts@redhat.com has uploaded this change for review.

View Change

packaging : do not remove __pycache__

Removing __pycache__ at buld time won't work.
It will be built by an automatic rule at %install time which
happens after %build time.

Secondly, removing __pycache__ is Bad. What will happen then is:
the first time root runs across this python module, a .pyc file will
be made. Since that .pyc file isn't being managed, it will interfere
with later attempts to remove or update the package.

Change-Id: I119ebe699a92d6970964ad7859fe9400e24a32a5
Signed-off-by: Marcus Watts <mwatts@redhat.com>
---
M src/nfs-ganesha.spec-in.cmake
1 file changed, 0 insertions(+), 2 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/90/1241290/1

To view, visit change 1241290. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I119ebe699a92d6970964ad7859fe9400e24a32a5
Gerrit-Change-Number: 1241290
Gerrit-PatchSet: 1
Gerrit-Owner: mwatts@redhat.com