diff --git a/libimobiledevice.changes b/libimobiledevice.changes index 7f9a074..da8bc83 100644 --- a/libimobiledevice.changes +++ b/libimobiledevice.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sat Jul 20 08:49:17 UTC 2013 - dimstar@opensuse.org + +- Mark docs/html as %doc, not %docdir: docdir only 'flags' a + directory to contain documentation, but does not actuall ADD the + documentation, which is clearly not the intent here. + Additionally, RPM 4.11 no longer allows %docdir to be used on + relative paths (as it's meant to flag directories in $DESTDIR). + ------------------------------------------------------------------- Mon Jul 8 23:08:39 UTC 2013 - dimstar@opensuse.org diff --git a/libimobiledevice.spec b/libimobiledevice.spec index a71f73c..7312418 100644 --- a/libimobiledevice.spec +++ b/libimobiledevice.spec @@ -149,8 +149,7 @@ rm -rf $RPM_BUILD_ROOT %files devel %defattr(-,root,root,-) -%dir %{_includedir}/%{name} -%{_includedir}/%{name}/* +%{_includedir}/%{name}/ %{_libdir}/%{name}.so %{_libdir}/pkgconfig/%{name}-1.0.pc @@ -186,7 +185,7 @@ rm -rf $RPM_BUILD_ROOT %files doc %defattr (-, root, root) %doc AUTHORS COPYING COPYING.LESSER NEWS README -%docdir docs/html +%doc docs/html %if %{?suse_version} > 1140 && %{with_python} %files -n python-imobiledevice