PDA

View Full Version : Simple patch and replace package question


mikeym
8th January 2012, 03:48 PM
Hi,


I've just had a go at patching and packaging xord-x11-drv-synaptics package to give a new option for the orientation of the pad using this patch (http://cc.oulu.fi/~rantalai/synaptics/oneiric/125_enable_orientation.patch).

This is fine except that when I come to install I get:

file /usr/bin/synclient from install of xorg-x11-drv-synaptics-1.5.0-2.fc16.a.x86_64 conflicts with file from package xorg-x11-drv-synaptics-1.5.0-2.fc16.x86_64


I thought since I was modifying an existing package I wouldn't need to worry about conflicts (apart from perhaps the release number, to which I appended ".a").

What step am I missing in making a functioning patched package?

leigh123linux
8th January 2012, 03:55 PM
Hi,


I've just had a go at patching and packaging xord-x11-drv-synaptics package to give a new option for the orientation of the pad using this patch (http://cc.oulu.fi/%7Erantalai/synaptics/oneiric/125_enable_orientation.patch).

This is fine except that when I come to install I get:

file /usr/bin/synclient from install of xorg-x11-drv-synaptics-1.5.0-2.fc16.a.x86_64 conflicts with file from package xorg-x11-drv-synaptics-1.5.0-2.fc16.x86_64
I thought since I was modifying an existing package I wouldn't need to worry about conflicts (apart from perhaps the release number, to which I appended ".a").

What step am I missing in making a functioning patched package?


Bump the package version (your package has the same version) or use the --force option with rpm to install it