Skip to content

Commit

Permalink
redhat_fedora: specify cfg_target when installing
Browse files Browse the repository at this point in the history
When installing osipsconsole, we need to know the `cfg_target` to be
able to retrieve it later, otherwise it will default to
`/usr/etc/opensips.cfg`, which is broken.

This addresses #1676
  • Loading branch information
razvancrainea committed Jul 3, 2019
1 parent b07a82d commit 21f3bdb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packaging/redhat_fedora/opensips.spec
Expand Up @@ -778,6 +778,7 @@ rm -rf $RPM_BUILD_ROOT
exclude_modules="%EXCLUDE_MODULES" \
basedir=%{buildroot} prefix=%{_prefix} \
cfg_prefix=%{buildroot} \
cfg_target=%{_sysconfdir}/opensips/ \
modules_prefix=%{buildroot}/%{_prefix} \
modules_dir=%{_lib}/%{name}/modules \
DBTEXTON=yes # fixed dbtext documentation installation
Expand Down

0 comments on commit 21f3bdb

Please sign in to comment.