From 6d59cc5e00740fb42a16844d92e9ffb336309566 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Wed, 7 Aug 2013 12:18:58 +0300 Subject: [PATCH] Install docs using %doc (#993839). --- libdc1394.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libdc1394.spec b/libdc1394.spec index 25c6074..5718609 100644 --- a/libdc1394.spec +++ b/libdc1394.spec @@ -8,7 +8,7 @@ Summary: 1394-based digital camera control library Name: libdc1394 Version: 2.2.0 -Release: 3%{?svn_snapshot}%{?dist} +Release: 4%{?svn_snapshot}%{?dist} License: LGPLv2+ Group: System Environment/Libraries URL: http://sourceforge.net/projects/libdc1394/ @@ -76,8 +76,6 @@ make doc %install %{__rm} -rf %{buildroot} make install DESTDIR=%{buildroot} INSTALL="%{__install} -p" -mkdir -p %{buildroot}%{_docdir}/%{name}-docs-%{version} -%{__install} -p -m 0644 doc/html/* %{buildroot}%{_docdir}/%{name}-docs-%{version} for p in grab_color_image grab_gray_image grab_partial_image ladybug grab_partial_pvn; do %{__install} -p -m 0644 -s examples/.libs/$p %{buildroot}%{_bindir}/dc1394_$p done @@ -108,7 +106,7 @@ done %files docs %defattr(-, root, root, 0755) -%{_docdir}/%{name}-docs-%{version} +%doc doc/html/* %files tools %defattr(-, root, root, 0755) @@ -116,6 +114,9 @@ done %{_mandir}/man1/dc1394_*.1.gz %changelog +* Wed Aug 7 2013 Ville Skyttä - 2.2.0-4 +- Install docs using %%doc (#993839). + * Sat Aug 03 2013 Fedora Release Engineering - 2.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild