[Fedora-packaging] remove source files

Scott Frankel frankel at circlesfx.com
Wed Feb 10 22:07:42 UTC 2010


Hi all,

What's the best way to remove source files during a package build?   
I'm quite new to rpm packaging.

I'm using a simple spec file to package a python-based application for  
distribution.  When passed to rpmbuild, it creates an rpm with both  
source (.py) and bytecode compiled (.pyc) files.  I'd like to remove  
the source files from the rpm.

Thanks in advance!
Scott









More information about the packaging mailing list