Re: File conflict when upgrading package

2013-11-22 Thread Kevin Kofler
Mattias Ellert wrote: > os.execute("rm -rf %{_datadir}/applications/%{name}.desktop") Ewww… Using os.execute in Lua scriptlets is scary because the whole point of writing them in Lua rather than shell is to avoid depending on stuff being installed on the file system. Now in this case, you'll l

Re: File conflict when upgrading package

2013-11-18 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Nov 18, 2013 at 01:31:32PM -0800, Adam Williamson wrote: > On Mon, 2013-11-18 at 00:44 +0100, Mattias Ellert wrote: > > sön 2013-11-17 klockan 22:12 +0100 skrev Sandro Mani: > > > Upgrading from xflr5-6.09.05-4.fc21.x86_64 to xflr5-6.09.05-5.fc21.x86_64 > > > however fails with > > > Trans

Re: File conflict when upgrading package

2013-11-18 Thread Adam Williamson
On Mon, 2013-11-18 at 00:44 +0100, Mattias Ellert wrote: > sön 2013-11-17 klockan 22:12 +0100 skrev Sandro Mani: > > Upgrading from xflr5-6.09.05-4.fc21.x86_64 to xflr5-6.09.05-5.fc21.x86_64 > > however fails with > > Transaction check error: > > file /usr/share/applications/xflr5.desktop from

Re: File conflict when upgrading package

2013-11-18 Thread Sandro Mani
On 18.11.2013 09:48, Panu Matilainen wrote: On 11/18/2013 10:27 AM, Florian Weimer wrote: On 11/18/2013 12:44 AM, Mattias Ellert wrote: sön 2013-11-17 klockan 22:12 +0100 skrev Sandro Mani: Upgrading from xflr5-6.09.05-4.fc21.x86_64 to xflr5-6.09.05-5.fc21.x86_64 however fails with Transactio

Re: File conflict when upgrading package

2013-11-18 Thread Panu Matilainen
On 11/18/2013 10:27 AM, Florian Weimer wrote: On 11/18/2013 12:44 AM, Mattias Ellert wrote: sön 2013-11-17 klockan 22:12 +0100 skrev Sandro Mani: Upgrading from xflr5-6.09.05-4.fc21.x86_64 to xflr5-6.09.05-5.fc21.x86_64 however fails with Transaction check error: file /usr/share/applicatio

Re: File conflict when upgrading package

2013-11-18 Thread Florian Weimer
On 11/18/2013 12:44 AM, Mattias Ellert wrote: sön 2013-11-17 klockan 22:12 +0100 skrev Sandro Mani: Upgrading from xflr5-6.09.05-4.fc21.x86_64 to xflr5-6.09.05-5.fc21.x86_64 however fails with Transaction check error: file /usr/share/applications/xflr5.desktop from install of xflr5-6.09.0

Re: File conflict when upgrading package

2013-11-17 Thread Mattias Ellert
sön 2013-11-17 klockan 22:12 +0100 skrev Sandro Mani: > Upgrading from xflr5-6.09.05-4.fc21.x86_64 to xflr5-6.09.05-5.fc21.x86_64 > however fails with > Transaction check error: > file /usr/share/applications/xflr5.desktop from install of > xflr5-6.09.05-5.fc21.x86_64 conflicts with file from

Re: File conflict when upgrading package

2013-11-17 Thread Sandro Mani
On 17.11.2013 22:18, Reindl Harald wrote: Am 17.11.2013 22:12, schrieb Sandro Mani: On 17.11.2013 22:07, Reindl Harald wrote: Am 17.11.2013 22:02, schrieb Sandro Mani: On 17.11.2013 22:00, Reindl Harald wrote: Am 17.11.2013 21:47, schrieb Sandro Mani: There was an incorrect desktop-file-ins

Re: File conflict when upgrading package

2013-11-17 Thread Reindl Harald
Am 17.11.2013 22:12, schrieb Sandro Mani: > On 17.11.2013 22:07, Reindl Harald wrote: >> Am 17.11.2013 22:02, schrieb Sandro Mani: >>> On 17.11.2013 22:00, Reindl Harald wrote: Am 17.11.2013 21:47, schrieb Sandro Mani: > There was an incorrect desktop-file-install call in a package I main

Re: File conflict when upgrading package

2013-11-17 Thread Sandro Mani
On 17.11.2013 22:07, Reindl Harald wrote: Am 17.11.2013 22:02, schrieb Sandro Mani: On 17.11.2013 22:00, Reindl Harald wrote: Am 17.11.2013 21:47, schrieb Sandro Mani: There was an incorrect desktop-file-install call in a package I maintain, i.e. |desktop-file-install --dir=%{buildroot}%{_d

Re: File conflict when upgrading package

2013-11-17 Thread Reindl Harald
Am 17.11.2013 22:02, schrieb Sandro Mani: > On 17.11.2013 22:00, Reindl Harald wrote: >> >> Am 17.11.2013 21:47, schrieb Sandro Mani: >>> There was an incorrect desktop-file-install call in a package I maintain, >>> i.e. >>> >>> |desktop-file-install >>> --dir=%{buildroot}%{_datadir}/application

Re: File conflict when upgrading package

2013-11-17 Thread Sandro Mani
On 17.11.2013 22:00, Reindl Harald wrote: Am 17.11.2013 21:47, schrieb Sandro Mani: There was an incorrect desktop-file-install call in a package I maintain, i.e. |desktop-file-install --dir=%{buildroot}%{_datadir}/applications/%{name}.desktop %{SOURCE1} which caused the .desktop file to ge

Re: File conflict when upgrading package

2013-11-17 Thread Reindl Harald
Am 17.11.2013 21:47, schrieb Sandro Mani: > There was an incorrect desktop-file-install call in a package I maintain, i.e. > > |desktop-file-install > --dir=%{buildroot}%{_datadir}/applications/%{name}.desktop %{SOURCE1} > > which caused the .desktop file to get installed to > > /usr/share/ap

File conflict when upgrading package

2013-11-17 Thread Sandro Mani
Hi, There was an incorrect desktop-file-install call in a package I maintain, i.e. |desktop-file-install --dir=%{buildroot}%{_datadir}/applications/%{name}.desktop %{SOURCE1} which caused the .desktop file to get installed to /usr/share/applications/%{name}.desktop/%{name}.desktop I fixed