Skip to content

Commit

Permalink
MT#55283 Fix EL build errors
Browse files Browse the repository at this point in the history
* Added libatomic to the el/ build dependencies. This was required since
  commit 741f6ac when -latomic was added to lib/common.Makefile
* Changed link to the copr repo with spandsp3. There is seperate repo
  for EL9 now.

Closes #1880

Change-Id: I9ba2246bd0f2fa6f2d6196d6c66a527f5f1dd3f0
  • Loading branch information
asolovjov authored and rfuchs committed Dec 3, 2024
1 parent 352465f commit f07dd41
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions el/rtpengine-8-x86_64.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ enabled=1
[copr:copr.fedorainfracloud.org:beaveryoga:broadvoice]
name=Copr repo for broadvoice owned by beaveryoga
baseurl=https://download.copr.fedorainfracloud.org/results/beaveryoga/broadvoice/epel-8-$basearch/
baseurl=https://download.copr.fedorainfracloud.org/results/beaveryoga/broadvoice/epel-$releasever-$basearch/
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://download.copr.fedorainfracloud.org/results/beaveryoga/broadvoice/pubkey.gpg
Expand All @@ -27,7 +27,7 @@ enabled_metadata=1
"""

config_opts['chroot_additional_packages'] = "perl-interpreter libdb-devel gdbm-devel libuuid-devel speexdsp-devel"
config_opts['chroot_additional_packages'] += " spandsp3-devel perl-podlators pandoc"
config_opts['chroot_additional_packages'] += " spandsp3-devel perl-podlators pandoc libatomic"

config_opts['root'] = 'rtpengine-8-x86_64'
config_opts['target_arch'] = 'x86_64'
Expand Down
4 changes: 2 additions & 2 deletions el/rtpengine-9-x86_64.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ enabled=1
[copr:copr.fedorainfracloud.org:beaveryoga:broadvoice]
name=Copr repo for broadvoice owned by beaveryoga
baseurl=https://download.copr.fedorainfracloud.org/results/beaveryoga/broadvoice/epel-8-$basearch/
baseurl=https://download.copr.fedorainfracloud.org/results/beaveryoga/broadvoice/epel-$releasever-$basearch/
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://download.copr.fedorainfracloud.org/results/beaveryoga/broadvoice/pubkey.gpg
Expand All @@ -28,7 +28,7 @@ enabled_metadata=1

config_opts['chroot_additional_packages'] = "perl-interpreter libdb-devel gdbm-devel libuuid-devel speexdsp-devel"
config_opts['chroot_additional_packages'] += " spandsp3-devel perl-podlators pandoc"
config_opts['chroot_additional_packages'] += " gcc make autoconf automake gcc-c++ libtool"
config_opts['chroot_additional_packages'] += " gcc make autoconf automake gcc-c++ libtool libatomic"

config_opts['root'] = 'rtpengine-9-x86_64'
config_opts['target_arch'] = 'x86_64'
Expand Down
1 change: 1 addition & 0 deletions el/rtpengine.spec
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ BuildRequires: libpcap-devel libevent-devel json-glib-devel
BuildRequires: mosquitto-devel
BuildRequires: gperf perl-IPC-Cmd
BuildRequires: perl-podlators
BuildRequires: libatomic
BuildRequires: pkgconfig(libwebsockets)
BuildRequires: pkgconfig(spandsp)
BuildRequires: pkgconfig(opus)
Expand Down

0 comments on commit f07dd41

Please sign in to comment.