Install docs to %{_pkgdocdir} where available (#992149).
This commit is contained in:
parent
0c1c3d78a6
commit
113f77842a
11
ltrace.spec
11
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ä <ville.skytta@iki.fi> - 0.7.2-7
|
||||
- Install docs to %%{_pkgdocdir} where available (#992149).
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user