Replies: 2 comments
-
I can patch each spec file and do this in |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to ghost a regex pattern while packaging files?
A good use case of of this I can think of is, while packaging python modules we can ghost all byte compiled
.pyc
files and upon package removal, these.pyc
files will get auto removed.For instance, I want to do:
Fedora currently packages all
.pyc
files along with rpm which makes package size bigger and many byte compiled files might just be present in the system without ever getting used.Second question in the same context is:
Is it possible to own a directory fully in rpm, upon removal; the directory should get removed without bothering about the content within.
For the same use case as above:
All the .pyc files get generated at runtime when used and if package gets removed,
__pycache__
dir should be gone entirely.Beta Was this translation helpful? Give feedback.
All reactions