From 4cc2a1fdbc3c7de7f2061a32eaa8ff4837e236499a6179d219b06992a8b22821 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Tue, 27 May 2014 06:26:01 +0000 Subject: [PATCH] Accepting request 235473 from home:elvigia:branches:devel:libraries:c_c++ - Tell doxygen to stop producing files with timestamps. - define udev macros only if not already there. OBS-URL: https://build.opensuse.org/request/show/235473 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libmtp?expand=0&rev=65 --- libmtp.changes | 6 ++++++ libmtp.spec | 8 +++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/libmtp.changes b/libmtp.changes index 34ccc04..d8dadd2 100644 --- a/libmtp.changes +++ b/libmtp.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue May 27 01:39:24 UTC 2014 - crrodriguez@opensuse.org + +- Tell doxygen to stop producing files with timestamps. +- define udev macros only if not already there. + ------------------------------------------------------------------- Mon Dec 9 12:45:01 UTC 2013 - meissner@suse.com diff --git a/libmtp.spec b/libmtp.spec index 0b27465..36d4ed4 100644 --- a/libmtp.spec +++ b/libmtp.spec @@ -1,7 +1,7 @@ # # spec file for package libmtp # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -34,8 +34,9 @@ Source0: http://downloads.sourceforge.net/project/%{name}/%{name}/%{versi Source1: music-players.h 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) +%{!?_udevrulesdir: %global _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d } +%{!?_udevdir: %global _udevdir %(pkg-config --variable=udevdir udev) } + %description This package contains binaries and documentation that allow access to USB based media players based on the MTP (Media Transfer Protocol) @@ -82,6 +83,7 @@ Transfer Protocol) authored by Microsoft. cp %{SOURCE1} src/music-players.h %build +echo 'HTML_TIMESTAMP=NO' >> doc/Doxyfile.in %configure --with-udev=%{_udevdir} --disable-static --enable-doxygen make %{?_smp_mflags}