Hi, People.
SPEC used:
[
https://github.com/kamailio/kamailio/blob/4.4/pkg/kamailio/rpm/kamailio.spe…
BRANCH: 4.4
I tried to build kamailio with mock and got errors on files to RPM packaging stage:
```
Processing files: kamailio-4.4.0-0.x86_64
error: File not found:
/builddir/build/BUILDROOT/kamailio-4.4.0-0.x86_64/usr/share/doc/kamailio/modules_k/README.acc
...
File not found:
/builddir/build/BUILDROOT/kamailio-4.4.0-0.x86_64/usr/share/doc/kamailio/modules_k/README.acc
...
```
Build command:
`mock --no-cleanup --no-cleanup-after -r oracle-7-x86_64 --configdir=.
--resultdir=./mock-result /home/developer/rpmbuild/SRPMS/kamailio-4.4.0-0.src.rpm`
Here goes mock configuration file(without yum configuration section):
```
config_opts['basedir'] = '/home/developer/mock/base'
config_opts['cache_topdir'] = '/home/developer/mock/cache'
config_opts['root'] = 'oracle-7-x86_64'
config_opts['target_arch'] = 'x86_64'
config_opts['legal_host_arches'] = ('x86_64',)
config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build
Development'
config_opts['dist'] = 'el7' # only useful for --resultdir variable subst
config_opts['macros']['%dist'] = '.el7'
config_opts['macros']['%el7'] = '1'
config_opts['macros']['%rhel'] = '7'
```
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/586