I have tested install using yum install kamailio and using yum install --disablerepo=kamailio --enablerepo=kamailio-5.6.2 kamailio
Both works for me. Please provide more info about your install method. On Wed, Nov 16, 2022 at 6:23 PM Ryan Cloherty <[email protected]> wrote: > Hello, > > I am aware of the updates that have been made to that file. I actually > referenced pkg/kamailio/obs/kamailio.spec in my first email. My issue is > that the RPMs at rpm.kamailio.org have dependencies that aren't present > in the repository's SPEC file. Per the wiki > <https://www.kamailio.org/wiki/packages/rpms>, that's the correct URL to > look for the latest releases. However, when I tried installing > https://rpm.kamailio.org/centos/7/5.6/5.6.2/x86_64/Packages/k/kamailio-5.6.2-0.el7.centos.x86_64.rpm > it claimed that it needed libpython3.6 but the dependency on Python 3.6 was > removed several months ago. It was removed in this > <https://github.com/kamailio/kamailio/commit/19edea067f890814c767581fef65713046c768c6#diff-8dbb56c7af7d1365d881484b7a9f216df7bb0ff6275d92b1debce86641491311L793-L796> > commit > on master and this > <https://github.com/kamailio/kamailio/commit/10c3a432d8f032788bf57e304ccf728c3a379740#diff-8dbb56c7af7d1365d881484b7a9f216df7bb0ff6275d92b1debce86641491311L793-L796> > commit on the 5.6 branch. This leads me to believe that whatever build > server *is* being used to produce these RPMs is somehow using a very old > copy of the SPEC file. > > Best, > Ryan > > On Wed, Nov 16, 2022 at 10:04 AM Henning Westerholt <[email protected]> wrote: > >> 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 >> >> >> >> *From:* Ryan Cloherty <[email protected]> >> *Sent:* Wednesday, November 16, 2022 3:58 PM >> *To:* [email protected] >> *Cc:* Henning Westerholt <[email protected]> >> *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 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 <[email protected]> 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 >> >> >> >> *From:* sr-users <[email protected]> *On Behalf Of *Ryan >> Cloherty >> *Sent:* Tuesday, November 15, 2022 9:06 PM >> *To:* [email protected] >> *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 >> >> __________________________________________________________ > Kamailio - Users Mailing List - Non Commercial Discussions > [email protected] > Important: keep the mailing list in the recipients, do not reply only to > the sender! > Edit mailing list options or unsubscribe: > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >
__________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
