[packages/asterisk-chan_dongle] - rel .2; merge patch that adds support for newer asterisks
arekm
arekm at pld-linux.org
Tue Dec 22 23:02:49 CET 2015
commit bb77ff068e000abcbb490dea8e825930312c85f4
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Dec 22 23:02:44 2015 +0100
- rel .2; merge patch that adds support for newer asterisks
asterisk-chan_dongle.spec | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/asterisk-chan_dongle.spec b/asterisk-chan_dongle.spec
index e43ceff..85eaa8c 100644
--- a/asterisk-chan_dongle.spec
+++ b/asterisk-chan_dongle.spec
@@ -2,15 +2,18 @@
Summary: Asterisk huawei 3g dongle channel driver
Name: asterisk-chan_dongle
Version: 1.1
-Release: 0.%{snap}.1
+Release: 0.%{snap}.2
License: GPL v2
Group: Applications
Source0: https://github.com/bg111/asterisk-chan-dongle/archive/master.zip
# Source0-md5: 8527ea21c083821fb0bd69c834d17737
Patch0: chan_dongle-pin.patch
+# https://patch-diff.githubusercontent.com/raw/bg111/asterisk-chan-dongle/pull/216.patch
+Patch1: https://patch-diff.githubusercontent.com/raw/bg111/asterisk-chan-dongle/pull/216.patch
+# Patch1-md5: 32e612b27570a06a67f2295f88b4ede1
URL: http://wiki.e1550.mobi/
BuildRequires: asterisk-devel >= 1.8
-BuildRequires: asterisk-devel < 1.9
+BuildRequires: awk
Requires: usb-modeswitch
Requires: usb-modeswitch-data
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -34,12 +37,14 @@ modems (dongles). At this moment, the supported features are:
%prep
%setup -q -n asterisk-chan-dongle-master
%patch0 -p1
+%patch1 -p1
%build
install /usr/share/automake/{config.*,install-sh,missing} .
%{__aclocal}
%{__autoconf}
-%configure
+%configure \
+ --with-astversion=$(rpm -q --queryformat "%{VERSION}\n" asterisk-devel | awk -F. ' { printf("%02d%02d%02d", $1, $2, $3); } ')
%{__make}
%install
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/asterisk-chan_dongle.git/commitdiff/bb77ff068e000abcbb490dea8e825930312c85f4
More information about the pld-cvs-commit
mailing list