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}