Accepting request 183893 from mobile:synchronization:FACTORY

Make actually the -doc package contain the documentation (forwarded request 183802 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/183893
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libimobiledevice?expand=0&rev=27
This commit is contained in:
Stephan Kulow 2013-07-22 11:00:56 +00:00 committed by Git OBS Bridge
parent ee43038078
commit 3c60e970a5
2 changed files with 11 additions and 3 deletions

View File

@ -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

View File

@ -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