Re: packaging problem - rm: cannot remove ... Permission denied

2017-01-22 Thread Martin Gansser
> Il 22/01/2017 12:38, Martin Gansser ha scritto: > This one works > for me: > https://mattia.fedorapeople.org/nuvola-app-spotify.spec > > There was nothing really wrong in your .spec, but for some reason the > 'make install' script tried to run also 'make uninstall' (and thus all > the errors a

Re: packaging problem - rm: cannot remove ... Permission denied

2017-01-22 Thread Martin Gansser
> On 01/22/2017 01:03 PM, Martin Gansser wrote: > IMHO, you have an install tree leftover by a previous run with incorrect > user/permissions. You should remove it manually with the appropriate > privileges before retrying. yes you are right, that was the reason. Many Thanks _

Re: packaging problem - rm: cannot remove ... Permission denied

2017-01-22 Thread Nico Kadel-Garcia
On Sun, Jan 22, 2017 at 8:49 AM, Ralf Corsepius wrote: > On 01/22/2017 01:47 PM, Till Maas wrote: >> >> On Sun, Jan 22, 2017 at 12:47:15PM +0100, Alec Leamas wrote: >>> >>> At a glance: the usual convention is 'make DESTDIR=... install', not >>> 'make >>> install DEST=---' >> >> >> Actually there

Re: packaging problem - rm: cannot remove ... Permission denied

2017-01-22 Thread Ralf Corsepius
On 01/22/2017 01:47 PM, Till Maas wrote: On Sun, Jan 22, 2017 at 12:47:15PM +0100, Alec Leamas wrote: At a glance: the usual convention is 'make DESTDIR=... install', not 'make install DEST=---' Actually there is %make_install which is recommended by the Packaging Guidelines IIRC. %make_inst

Re: packaging problem - rm: cannot remove ... Permission denied

2017-01-22 Thread Mattia Verga
Il 22/01/2017 12:38, Martin Gansser ha scritto: This is the rpm spec file I use: https://martinkg.fedorapeople.org/Packages/nuvolaplayer/nuvola-app-spotify.spec have somebody a idea how can this be fixed ? ___ devel mailing list -- devel@lists.fedorap

Re: packaging problem - rm: cannot remove ... Permission denied

2017-01-22 Thread Till Maas
On Sun, Jan 22, 2017 at 12:47:15PM +0100, Alec Leamas wrote: > At a glance: the usual convention is 'make DESTDIR=... install', not 'make > install DEST=---' Actually there is %make_install which is recommended by the Packaging Guidelines IIRC. Kind regards Till __

Re: packaging problem - rm: cannot remove ... Permission denied

2017-01-22 Thread Patrick Monnerat
On 01/22/2017 01:03 PM, Martin Gansser wrote: I tried several combinations, but always the same behaviour. #%make_install DEST=%{buildroot}%{_datadir}/nuvolaplayer3/web_apps/ #make DESTDIR=%{buildroot}%{_datadir}/nuvolaplayer3/web_apps/ install make install DESTDIR=$RPM_BUILD_ROOT INSTALL="inst

Re: packaging problem - rm: cannot remove ... Permission denied

2017-01-22 Thread Martin Gansser
I tried several combinations, but always the same behaviour. #%make_install DEST=%{buildroot}%{_datadir}/nuvolaplayer3/web_apps/ #make DESTDIR=%{buildroot}%{_datadir}/nuvolaplayer3/web_apps/ install make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" _

Re: packaging problem - rm: cannot remove ... Permission denied

2017-01-22 Thread Alec Leamas
On 22/01/17 12:38, Martin Gansser wrote: Hi, i want o create a rpm package of a small plugin for nuvolaplayer, but this fails with this error: + cd /home/martin/rpmbuild/BUILD + '[' /home/martin/rpmbuild/BUILDROOT/nuvola-app-spotify-2.2-0.1git1828d92.fc25.x86_64 '!=' / ']' + rm -rf /hom

packaging problem - rm: cannot remove ... Permission denied

2017-01-22 Thread Martin Gansser
Hi, i want o create a rpm package of a small plugin for nuvolaplayer, but this fails with this error: + cd nuvola-app-spotify-1828d92b7e9412fba629b95b33ed63e819203dd3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.dldLHl + umask 022 + cd /home/mar