diff --git a/libmtp.spec b/libmtp.spec index 644d8b7..3aceb50 100644 --- a/libmtp.spec +++ b/libmtp.spec @@ -3,7 +3,7 @@ Name: libmtp Version: 0.2.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A software library for MTP media players URL: http://libmtp.sourceforge.net/ @@ -56,6 +56,17 @@ examples/hotplug -a"SYMLINK+=\"libmtp-%k\"" > libmtp.rules %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install +# Touch generated files to make them always have the same time stamp. +touch -r configure.ac \ + $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html/* \ + $RPM_BUILD_ROOT%{_includedir}/*.h \ + $RPM_BUILD_ROOT%{_libdir}/pkgconfig/*.pc +# Remove the Doxygen HTML documentation, this get different +# each time it is generated and thus creates multiarch conflicts. +# I don't want to pre-generate it but will instead wait for upstream +# to find a suitable solution that will always bring the same files, +# or that Doxygen is fixed not to do this. +rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html # Remove libtool archive remnant rm -f $RPM_BUILD_ROOT%{_libdir}/libmtp.la # Install udev rules file. @@ -96,6 +107,13 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Oct 24 2007 Linus Walleij 0.2.2-2 +- Flat out KILL the Doxygen HTML docs to resolve multiarch conflicts. + Either upstream (that's me!) needs to work around the HTML files being + different each time OR Doxygen must stop generating anchors that + hash the system time, creating different files with each generation. + Pre-generating the docs is deemed silly. (Someone will disagree.) + * Fri Aug 17 2007 Linus Walleij 0.2.2-1 - New upstream release.