[SR-Users] RPM SPEC file differs between repo and build server

Henning Westerholt hw at gilawa.com
Wed Nov 16 16:04:48 CET 2022


Hello,

please check the mentioned directory, there are updates recently:

git log pkg/kamailio/obs/

commit e49e5a52ded4bef36b5958a748b9556af52d2d33
Date:   Fri Sep 16 21:06:53 2022 +0100

    pkg/kamailio/obs: added readline-devel build dependency (#3233)

    * pkg/kamailio/obs: added readline-devel build dependency

    - Added a readline-devel dependency when generating rpm's. This ensures that when generating rpm's (mock context), kamcmd uses this library in its compilation and autocomplete is available in kamcmd's interactive mode.

commit 44b3ccd71467b78d9e9a7184c9fd25bc5f616ac4
Date:   Tue Aug 16 16:31:25 2022 +0300

    pkg/kamailio/obs: fixed rpm packaging on CentOS 8 and Fedora

commit 4a6aa75dd1de4e33ba6ac3f1d770a1beed61e157
Date:   Tue Aug 16 12:30:56 2022 +0000

    pkg/kamailio/obs: fixed packaging for RHEL 7 and RHEL 6 based dists [skip ci]

Cheers,

Henning

--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com<https://gilawa.com/>

From: Ryan Cloherty <rcloherty at cogitocorp.com>
Sent: Wednesday, November 16, 2022 3:58 PM
To: sr-users at lists.kamailio.org
Cc: Henning Westerholt <hw at gilawa.com>
Subject: Re: [SR-Users] RPM SPEC file differs between repo and build server

I did see somewhere that the openSUSE build service isn't used anymore but I thought that the correct source of RPMs was rpm.kamailio.org<http://rpm.kamailio.org> but that seems like it was built with the same outdated SPEC as what I see on OBS. Regardless of where it's being built, it seems that the SPEC file used is quite out of date (unless I'm using the wrong source for RPMs).

Best,
Ryan

On Wed, Nov 16, 2022, 8:08 AM Henning Westerholt <hw at gilawa.com<mailto:hw at gilawa.com>> wrote:
Hello,

Just a note – the openSUSE build service is not used anymore, so I would expect that its not up to date to the spec files. You can find the current SPEC files in pkg/kamailio in the git repository.
Maybe somebody with more insight about RPM packaging can comment as well.

Cheers,

Henning

--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com<https://gilawa.com/>

From: sr-users <sr-users-bounces at lists.kamailio.org<mailto:sr-users-bounces at lists.kamailio.org>> On Behalf Of Ryan Cloherty
Sent: Tuesday, November 15, 2022 9:06 PM
To: sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
Subject: [SR-Users] RPM SPEC file differs between repo and build server

Hello,

When trying to install the Kamailio RPM from https://rpm.kamailio.org/centos/7/5.6/5.6.2/x86_64/Packages/k/kamailio-5.6.2-0.el7.centos.src.rpm, I encountered an issue due to a dependency on "libpython3.6m". It seems like the SPEC file in the repository<https://github.com/kamailio/kamailio/blob/5.6/pkg/kamailio/obs/kamailio.spec#L851-L852> differs quite wildly from the SPEC file on the openSUSE Build Service<https://build.opensuse.org/package/view_file/home:kamailio:v5.6.x-rpms/kamailio56/kamailio.spec?expand=1>. On lines 667-668 of the OBS copy, you can see the explicit dependency on "python36". Is this intentional or is this something that needs to be fixed?

Thank you,
Ryan C
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20221116/1e82bc81/attachment.htm>


More information about the sr-users mailing list