From 113f77842a4d776f144421970101ca3594495f52 Mon Sep 17 00:00:00 2001 From: Ville Skyttä Date: Aug 07 2013 09:37:21 +0000 Subject: Install docs to %{_pkgdocdir} where available (#992149). --- diff --git a/ltrace.spec b/ltrace.spec index ae47cb1..eaadbc9 100644 --- a/ltrace.spec +++ b/ltrace.spec @@ -1,7 +1,7 @@ Summary: Tracks runtime library calls from dynamically linked executables Name: ltrace Version: 0.7.2 -Release: 6%{?dist} +Release: 7%{?dist} URL: http://ltrace.alioth.debian.org/ License: GPLv2+ Group: Development/Debuggers @@ -46,11 +46,11 @@ execution of processes. %build autoreconf -i -%configure +%configure --docdir=%{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}} make %{?_smp_mflags} %install -make DESTDIR=$RPM_BUILD_ROOT bindir=%{_bindir} docdir=%{_docdir}/ltrace-%{version}/ install +make DESTDIR=$RPM_BUILD_ROOT bindir=%{_bindir} install # The testsuite is useful for development in real world, but fails in # koji for some reason. Disable it, but have it handy. @@ -61,13 +61,16 @@ echo ====================TESTING END===================== %files %defattr(-,root,root) -%doc COPYING README NEWS +%doc NEWS %{_bindir}/ltrace %{_mandir}/man1/ltrace.1* %{_mandir}/man5/ltrace.conf.5* %config(noreplace) %{_sysconfdir}/ltrace.conf %changelog +* Wed Aug 7 2013 Ville Skyttä - 0.7.2-7 +- Install docs to %%{_pkgdocdir} where available (#992149). + * Sat Aug 03 2013 Fedora Release Engineering - 0.7.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild