Accepting request 264136 from network
More bashism OBS-URL: https://build.opensuse.org/request/show/264136 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmbim?expand=0&rev=5
This commit is contained in:
commit
7310daba77
16
libmbim-1.10.0-fix-bashisms.patch
Normal file
16
libmbim-1.10.0-fix-bashisms.patch
Normal file
@ -0,0 +1,16 @@
|
||||
diff -Ndur libmbim-1.10.0/utils/mbim-network.in libmbim-1.10.0-fix-bashisms/utils/mbim-network.in
|
||||
--- libmbim-1.10.0/utils/mbim-network.in 2014-01-22 12:17:48.000000000 +0200
|
||||
+++ libmbim-1.10.0-fix-bashisms/utils/mbim-network.in 2014-11-27 02:57:48.792248052 +0200
|
||||
@@ -50,10 +50,10 @@
|
||||
}
|
||||
|
||||
if [ $# -ne 2 ]; then
|
||||
- if [ $1 == "--help" ]; then
|
||||
+ if [ "$1" = "--help" ]; then
|
||||
help
|
||||
exit 0
|
||||
- elif [ $1 == "--version" ]; then
|
||||
+ elif [ "$1" = "--version" ]; then
|
||||
version
|
||||
exit 0
|
||||
fi
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 27 01:00:00 UTC 2014 - Led <ledest@gmail.com>
|
||||
|
||||
- Add libmbim-1.10.0-fix-bashisms.patch: fix bashisms in
|
||||
mbim-network script.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 20 12:09:00 UTC 2014 - dimstar@opensuse.org
|
||||
|
||||
|
@ -25,6 +25,8 @@ License: GPL-2.0+ and LGPL-2.0+
|
||||
Group: Productivity/Networking/System
|
||||
Url: http://www.freedesktop.org/wiki/Software/libmbim/
|
||||
Source: http://www.freedesktop.org/software/libmbim/libmbim-%{version}.tar.xz
|
||||
# PATCH-FIX-UPSTREAM libmbim-1.10.0-fix-bashisms.patch ledest@gmail.com
|
||||
Patch1: libmbim-1.10.0-fix-bashisms.patch
|
||||
BuildRequires: pkgconfig(gio-2.0)
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.32
|
||||
BuildRequires: pkgconfig(gobject-2.0)
|
||||
@ -56,6 +58,7 @@ which speak the Mobile Interface Broadband Model (MBIM) protocol.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
%configure \
|
||||
|
Loading…
Reference in New Issue
Block a user