[opensuse-packaging] /usr/share/icons/hicolor directories not owned by a package
Hi! I experimented with packaging Thonny, Python IDE for beginners (http://thonny.org). Here is my attempt: https://build.opensuse.org/package/show/home:aivarannamaa/thonny It is based on Fedora package https://src.fedoraproject.org/rpms/thonny but I changed some package names and included some other tweaks. This SPEC builds nicely on my own computer (Tumbleweed) but the Open Build Service complains about icon folders not owned by a package: [ 44s] thonny-2.1.16-7.1.noarch.rpm: directories not owned by a package: [ 44s] - /usr/share/icons/hicolor [ 44s] - /usr/share/icons/hicolor/128x128 [ 44s] - /usr/share/icons/hicolor/128x128/apps ... My SPEC does require hicolor-icon-theme, so I expected that these folder are owned by that package. Any ideas how to fix this? Do I understand correctly that in order to get this Thonny into openSUSE repos it needs to first build on Open Build Service? best regards, Aivar -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Tue, Mar 20, 2018 at 06:35:22PM +0200, Aivar Annamaa wrote:
Hi!
I experimented with packaging Thonny, Python IDE for beginners (http://thonny.org).
Here is my attempt: https://build.opensuse.org/package/show/home:aivarannamaa/thonny
It is based on Fedora package https://src.fedoraproject.org/rpms/thonny but I changed some package names and included some other tweaks.
This SPEC builds nicely on my own computer (Tumbleweed) but the Open Build Service complains about icon folders not owned by a package:
[ 44s] thonny-2.1.16-7.1.noarch.rpm: directories not owned by a package: [ 44s] - /usr/share/icons/hicolor [ 44s] - /usr/share/icons/hicolor/128x128 [ 44s] - /usr/share/icons/hicolor/128x128/apps ...
My SPEC does require hicolor-icon-theme, so I expected that these folder are owned by that package.
Any ideas how to fix this?
Do I understand correctly that in order to get this Thonny into openSUSE repos it needs to first build on Open Build Service?
you could just add %dir /usr/share/icons/hicolor/128x128/apps %dir /usr/share/icons/hicolor/128x128/ %dir /usr/share/icons/hicolor to the filelist to fix the build. Directories can be owned by multiple packages. Ciao, Marcus -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Tue, Mar 20, 2018 at 12:37 PM, Marcus Meissner <meissner@suse.de> wrote:
On Tue, Mar 20, 2018 at 06:35:22PM +0200, Aivar Annamaa wrote:
Hi!
I experimented with packaging Thonny, Python IDE for beginners (http://thonny.org).
Here is my attempt: https://build.opensuse.org/package/show/home:aivarannamaa/thonny
It is based on Fedora package https://src.fedoraproject.org/rpms/thonny but I changed some package names and included some other tweaks.
This SPEC builds nicely on my own computer (Tumbleweed) but the Open Build Service complains about icon folders not owned by a package:
[ 44s] thonny-2.1.16-7.1.noarch.rpm: directories not owned by a package: [ 44s] - /usr/share/icons/hicolor [ 44s] - /usr/share/icons/hicolor/128x128 [ 44s] - /usr/share/icons/hicolor/128x128/apps ...
My SPEC does require hicolor-icon-theme, so I expected that these folder are owned by that package.
Any ideas how to fix this?
Do I understand correctly that in order to get this Thonny into openSUSE repos it needs to first build on Open Build Service?
you could just add
%dir /usr/share/icons/hicolor/128x128/apps %dir /usr/share/icons/hicolor/128x128/ %dir /usr/share/icons/hicolor
to the filelist to fix the build. Directories can be owned by multiple packages.
This sounds like a packaging bug in hicolor-icon-theme. It should correctly own all of them. -- 真実はいつも一つ!/ Always, there's only one truth! -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Mär 20 2018, Aivar Annamaa <aivar.annamaa@gmail.com> wrote:
Hi!
I experimented with packaging Thonny, Python IDE for beginners (http://thonny.org).
Here is my attempt: https://build.opensuse.org/package/show/home:aivarannamaa/thonny
It is based on Fedora package https://src.fedoraproject.org/rpms/thonny but I changed some package names and included some other tweaks.
This SPEC builds nicely on my own computer (Tumbleweed) but the Open Build Service complains about icon folders not owned by a package:
[ 44s] thonny-2.1.16-7.1.noarch.rpm: directories not owned by a package: [ 44s] - /usr/share/icons/hicolor [ 44s] - /usr/share/icons/hicolor/128x128 [ 44s] - /usr/share/icons/hicolor/128x128/apps ...
My SPEC does require hicolor-icon-theme
But it doesn't BuildRequire it. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (4)
-
Aivar Annamaa
-
Andreas Schwab
-
Marcus Meissner
-
Neal Gompa