Accepting request 296734 from home:Nijel:branches:hardware

- Fix compatibility with libdbi snapshot from Git we are using

OBS-URL: https://build.opensuse.org/request/show/296734
OBS-URL: https://build.opensuse.org/package/show/hardware/gammu?expand=0&rev=26
This commit is contained in:
Michal Čihař
2015-04-15 08:19:48 +00:00
committed by Git OBS Bridge
parent 1ea4a688eb
commit 60e1996568
3 changed files with 60 additions and 0 deletions

View File

@@ -30,6 +30,8 @@ Source0: http://dl.cihar.com/gammu/releases/%{name}-%{version}.tar.xz
Patch0: gammu-smsd.lsb.patch
# PATCH-FIX-OPENSUSE gammu-remove-gplv3-files.patch idoenmez@suse.de -- Remove GPLv3 files bnc#775397
Patch1: gammu-remove-gplv3-files.patch
# PATCH-FIX-UPSTREAM -- Upstream patch for libdbi from git (which we are using)
Patch2: Compatibility-with-libdbi-from-git.patch
# Docdir
%if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora} || 0%{?rhel}
%define gammu_docdir %{_docdir}/%{name}-%{version}
@@ -268,6 +270,7 @@ This package contains the Gammu SMS daemon shared library.
%setup -q
%patch0
%patch1 -p1
%patch2 -p1
# Change permissions - Fix rpmlint warning "doc-file-dependency"
chmod 644 contrib/init/gammu-smsd.lsb