Accepting request 263252 from network

1

OBS-URL: https://build.opensuse.org/request/show/263252
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libqmi?expand=0&rev=5
This commit is contained in:
Stephan Kulow 2014-11-29 07:39:31 +00:00 committed by Git OBS Bridge
commit 36beb65130
3 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,16 @@
diff -Ndur libqmi-1.10.2/utils/qmi-network.in libqmi-1.10.2-fix-bashisms/utils/qmi-network.in
--- libqmi-1.10.2/utils/qmi-network.in 2014-06-16 17:39:11.000000000 +0300
+++ libqmi-1.10.2-fix-bashisms/utils/qmi-network.in 2014-11-27 03:10:12.692197726 +0200
@@ -47,10 +47,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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Nov 27 01:11:00 UTC 2014 - Led <ledest@gmail.com>
- fix bashisms in qmi-network script
- add patches:
* libqmi-1.10.2-fix-bashisms.patch
-------------------------------------------------------------------
Mon Oct 6 06:51:48 UTC 2014 - mardnh@gmx.de

View File

@ -28,6 +28,7 @@ Group: System/Libraries
Url: http://cgit.freedesktop.org/libqmi/
Source0: http://www.freedesktop.org/software/libqmi/%{name}-%{version}.tar.xz
Source99: libqmi-rpmlintrc
Patch0: %{name}-1.10.2-fix-bashisms.patch
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.32
BuildRequires: pkgconfig(gobject-2.0)
@ -66,6 +67,7 @@ This package contains files required to link sources against libqmi.
%prep
%setup -q
%patch0 -p1
%build
%configure \