Accepting request 201212 from home:rmilasan:branches:devel:libraries:c_c++

- Use LIBMTP_ERROR instead of LIBMTP_INFO function in mtpz_loaddata
  (mtpz.c) to dont get junk in the udev rule when generating the rule.
  add: mtpz-use-LIBMTP_ERROR-instead-of-LIBMTP_INFO.patch

OBS-URL: https://build.opensuse.org/request/show/201212
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libmtp?expand=0&rev=61
This commit is contained in:
2013-09-27 20:15:00 +00:00
committed by Git OBS Bridge
parent a74028ea98
commit 108480f16f
3 changed files with 89 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ Version: 1.1.6
Release: 0
%define sonum 9
Source0: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz
Patch0: mtpz-use-LIBMTP_ERROR-instead-of-LIBMTP_INFO.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d
%define _udevdir %(pkg-config --variable=udevdir udev)
@@ -75,6 +76,7 @@ Transfer Protocol) authored by Microsoft.
%prep
%setup -q
%patch0 -p1
%build
%configure --with-udev=%{_udevdir} --disable-static --enable-doxygen