[sr-dev] git:master:c70c4c54: pkg/kamailio: Fixed db_redis RPM packaging after ee95675177466a7ae5f9575db300df32e42661f2
Henning Westerholt
henningw at users.noreply.github.com
Sun Oct 14 21:16:40 CEST 2018
Module: kamailio
Branch: master
Commit: c70c4c5486831b0b8e87450869fee091ecfbda04
URL: https://github.com/kamailio/kamailio/commit/c70c4c5486831b0b8e87450869fee091ecfbda04
Author: Sergey Safarov <s.safarov at gmail.com>
Committer: Henning Westerholt <henningw at users.noreply.github.com>
Date: 2018-10-14T21:16:34+02:00
pkg/kamailio: Fixed db_redis RPM packaging after ee95675177466a7ae5f9575db300df32e42661f2
Please look ticket #1676
---
Modified: pkg/kamailio/Makefile
Modified: pkg/kamailio/obs/kamailio.spec
---
Diff: https://github.com/kamailio/kamailio/commit/c70c4c5486831b0b8e87450869fee091ecfbda04.diff
Patch: https://github.com/kamailio/kamailio/commit/c70c4c5486831b0b8e87450869fee091ecfbda04.patch
---
diff --git a/pkg/kamailio/Makefile b/pkg/kamailio/Makefile
index 86f826a788..63c024c158 100644
--- a/pkg/kamailio/Makefile
+++ b/pkg/kamailio/Makefile
@@ -40,7 +40,7 @@ src.rpm: tar
mv ../../kamailio-$(RELEASE)_src.tar.gz ${RPMBUILD_TOP}/SOURCES/${DIST_ARCHIVE}
sed -i -e 's/setup -n %{name}-%{ver}/setup -n kamailio-$(RELEASE)/' obs/kamailio.spec
rpmbuild ${RPMBUILD_OPT} -bs obs/kamailio.spec
- mv ${RPMBUILD_TOP}/SRPMS/kamailio-$(RELEASE).*.src.rpm ../..
+ mv ${RPMBUILD_TOP}/SRPMS/kamailio-$(RELEASE)*.src.rpm ../..
rm -Rf ${RPMBUILD_TOP}
# build rpm packages
diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec
index f147835e6f..eef0d607d4 100644
--- a/pkg/kamailio/obs/kamailio.spec
+++ b/pkg/kamailio/obs/kamailio.spec
@@ -1005,7 +1005,11 @@ ln -s ../obs pkg/kamailio/centos/7
%if 0%{?fedora} || 0%{?suse_version}
export FREERADIUS=1
%endif
-make cfg prefix=/usr basedir=%{buildroot} cfg_prefix=%{buildroot} doc_prefix=%{buildroot} \
+make cfg prefix=/usr \
+ basedir=%{buildroot} \
+ cfg_prefix=%{buildroot} \
+ doc_prefix=%{buildroot} \
+ share_prefix=%{_prefix} \
doc_dir=%{_docdir}/kamailio/ \
cfg_target=%{_sysconfdir}/kamailio/ modules_dirs="modules"
make
More information about the sr-dev
mailing list