[opensuse-packaging] help with permissions : no package build in factory
Hi everyone, I need someone to point me in the right direction, why none of my packages are build for factory. They all fail, although the rpm's are written. Here is the error message at the end of the build log: lwtt-1.2.0-6.1.noarch.rpm: directories not owned by a package: - /usr/share/lwtt I understand, it has to do with permissions. So i changed a few things in the file section, but without any success. Here is a link to one project: https://build.opensuse.org/package/show?package=lwtt&project=home%3Alumnis Cheers guy's, De nny -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Denny, On Mon, 2008-12-01 at 23:08 +0000, Denny Beyer wrote:
Hi everyone, I need someone to point me in the right direction, why none of my packages are build for factory. They all fail, although the rpm's are written.
Here is the error message at the end of the build log: lwtt-1.2.0-6.1.noarch.rpm: directories not owned by a package: - /usr/share/lwtt
Add this to the %files section in your .spec file: %{_datadir}/lwtt Cheers, Magnus -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Monday 01 December 2008 23:28:24 Magnus Boman wrote:
Denny,
[...]
Add this to the %files section in your .spec file:
%{_datadir}/lwtt
wow, that was quick! Thanks! Will try right now and let you know!
Cheers, Magnus
Denny -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Monday 01 December 2008 23:28:24 Magnus Boman wrote:
Denny,
[...]
Add this to the %files section in your .spec file:
%{_datadir}/lwtt
Yes, that does the trick. Funny enough, it was building for all other versions.
Cheers, Magnus
Thanks again for your help! De nny -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Tuesday 02 December 2008, Denny Beyer wrote:
Add this to the %files section in your .spec file: %{_datadir}/lwtt Yes, that does the trick. Funny enough, it was building for all other versions.
You might want to add %dir in front of that, otherwise you get "file listed twice" warnings. Greetings, Dirk -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (3)
-
Denny Beyer
-
Dirk Müller
-
Magnus Boman