Install docs to %{_pkgdocdir} where available.

This commit is contained in:
Ville Skyttä 2013-07-26 22:07:37 +03:00
parent 84fd889159
commit 984bbcd98d

View File

@ -27,7 +27,7 @@
%define postfix_command_dir %{_sbindir} %define postfix_command_dir %{_sbindir}
%define postfix_queue_dir %{_var}/spool/postfix %define postfix_queue_dir %{_var}/spool/postfix
%define postfix_data_dir %{_var}/lib/postfix %define postfix_data_dir %{_var}/lib/postfix
%define postfix_doc_dir %{_docdir}/%{name}-%{version} %define postfix_doc_dir %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}
%define postfix_sample_dir %{postfix_doc_dir}/samples %define postfix_sample_dir %{postfix_doc_dir}/samples
%define postfix_readme_dir %{postfix_doc_dir}/README_FILES %define postfix_readme_dir %{postfix_doc_dir}/README_FILES
@ -38,7 +38,7 @@
Name: postfix Name: postfix
Summary: Postfix Mail Transport Agent Summary: Postfix Mail Transport Agent
Version: 2.10.1 Version: 2.10.1
Release: 3%{?dist} Release: 4%{?dist}
Epoch: 2 Epoch: 2
Group: System Environment/Daemons Group: System Environment/Daemons
URL: http://www.postfix.org URL: http://www.postfix.org
@ -526,6 +526,9 @@ rm -rf $RPM_BUILD_ROOT
%endif %endif
%changelog %changelog
* Fri Jul 26 2013 Ville Skyttä <ville.skytta@iki.fi> - 2:2.10.1-4
- Install docs to %%{_pkgdocdir} where available.
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 2:2.10.1-3 * Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 2:2.10.1-3
- Perl 5.18 rebuild - Perl 5.18 rebuild