[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

specifying the srpm name to be created?



Hi,

I have been looking for a way to change the filename of the SRPM that rpm
(or rpmbuild) creates and haven't been successful.

For example, you can specify the binary rpm name with:
rpmbuild --define _rpmfilename %{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}.rpm 

Is there something similar to change the resulting SRPM filename?

Renaming the SRPM file isn't enough; because it embeds its name in the
SRPM file.

Thanks.

-- 
Mike Snitzer                           msnitzer@lnxi.com
Linux Networx                          http://www.lnxi.com 





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []