Mailinglist Archive: opensuse-packaging (118 mails)

< Previous Next >
[opensuse-packaging] Re: How exactly rpm is packaged?
On Thursday, 11 June 2015 14:17:50 CEST, Andreas Schwab wrote:
Stanislav Baiduzhyi <baiduzhyi.devel@xxxxxxxxx> writes:

I really-really don't want this thread to be stolen by discussion of single particular package, I still would like to get some concrete info on what is going on after %install and till the end.

Most likely you have an XY problem. If you don't tell us about X we
cannot help you to find out the right Y.

That is true, but you know how easily those discussions can go the wrong way on mailing lists :( I hoped to get a link to detailed spec what is going on during rpmbuild, and to diagnose the issue myself as much as possible.

But if you need it to reproduce the problem and see it for youself:

(sorry for line breaks)

wget 'http://download.opensuse.org/repositories/Java:/Factory/openSUSE_13.2/x86_64/java-1_8_0-openjdk-headless-1.8.0.45-100.1.x86_64.rpm'
'http://download.opensuse.org/repositories/Java:/Factory/openSUSE_13.2/x86_64/java-1_8_0-openjdk-1.8.0.45-100.1.x86_64.rpm' ...

And what is that supposed to tell us?

When you build the openjdk yourself, those files are different, md5sum is different and 'fdupes -r' does not detect them as identical. Yet in the package above and when trying to create my own rpm for java 8 [0] those files are actually identical inside the rpm. You can see the %fdupes macro used in [1] and still there is rpmlint warning at the end of [2], and both of them are correct, I've changed %clean to do nothing and checked the files after %install is performed.

[0]: https://build.opensuse.org/package/show/home:TheIndifferent:tuxjdk/tuxjdk
[1]: https://build.opensuse.org/package/view_file/home:TheIndifferent:tuxjdk/tuxjdk/tuxjdk.spec?expand=1
[2]: https://build.opensuse.org/package/live_build_log/home:TheIndifferent:tuxjdk/tuxjdk/openSUSE_13.2/x86_64


--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups