[why] Install docs to %{_pkgdocdir} where available.
Ville Skyttä
scop at fedoraproject.org
Sat Jul 27 16:24:27 UTC 2013
commit abb71eaed61d37a4c4296ee2830c5494a83124a5
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Sat Jul 27 19:23:56 2013 +0300
Install docs to %{_pkgdocdir} where available.
why.spec | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/why.spec b/why.spec
index 00d00fa..9f1df07 100644
--- a/why.spec
+++ b/why.spec
@@ -20,7 +20,7 @@
Name: why
Version: 2.33
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Software verification platform
Group: Applications/Engineering
@@ -331,7 +331,7 @@ cp -p %{SOURCE10} %{SOURCE11} %{buildroot}%{_libdir}/pvs/lib/ints/
cp -p %{SOURCE12} %{buildroot}%{_bindir}/
%endif
-%global why_doc_dir %{_defaultdocdir}/%{name}-%{version}
+%global why_doc_dir %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}
%global why_examples_dir %{why_doc_dir}/examples/
# Fix up documentation and examples
@@ -438,6 +438,9 @@ diff -u min.why min_why.why.result # Show differences from correct result.
%changelog
+* Sat Jul 27 2013 Ville Skyttä <ville.skytta at iki.fi> - 2.33-4
+- Install docs to %%{_pkgdocdir} where available.
+
* Fri Jun 21 2013 Jerry James <loganjerry at gmail.com> - 2.33-3
- Rebuild for frama-c Fluorine 20130601
More information about the scm-commits
mailing list