Maven rpm plug-in and sha1header collision

View: New views
1 Messages — Rating Filter:   Alert me  

Maven rpm plug-in and sha1header collision

by Fox, Dudley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
 
My name is Dudley Fox, and I am a developer at PayPal. We have happily been using the maven rpm plug-in for one of our current projects, and we are running into a small problem. I was hoping the users list could help us out.
 
We have a.rpm and b.rpm. And we have user_a and user_b.
We install a.rpm as user_a, and then b.rpm as user_b. The installation of b.rpm fails, because it does not have permission to overwrite a Sha1header, which is created when you have files under your %files section.
 
We know we can fix this if we use something like: %files -f $PWD/$Name.list
 
However we don't see a way using the maven rpm plug-in to achieve this.
 
If we cannot find a way within the existing plug-in to overcome this problem, we will have to modify the plug-in to allow for the -f option. We'd prefer not to do this, since it will take a lot of time.
 
Sincerely,
Dudley Fox