[aespipe] Use special %doc to install docs (#993663).

Ville Skyttä scop at fedoraproject.org
Thu Aug 8 12:47:37 UTC 2013


commit 72e5549b8bec300c0abee101a1fb1030c4736081
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Thu Aug 8 15:47:24 2013 +0300

    Use special %doc to install docs (#993663).

 aespipe.spec |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/aespipe.spec b/aespipe.spec
index 51f470e..c59952c 100644
--- a/aespipe.spec
+++ b/aespipe.spec
@@ -1,7 +1,7 @@
 Summary:        AES-based encryption tool for tar/cpio and loop-aes images
 Name:           aespipe
 Version:        2.4c
-Release:        4%{?dist}
+Release:        5%{?dist}
 License:        GPLv2+
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Group:          Applications/System
@@ -42,9 +42,7 @@ kernel module.
 
 %install
 %{__rm} -rf %{buildroot}
-%{__mkdir} -p %{buildroot}%{_defaultdocdir}/%{name}-%{version}/examples
-%{__cp} -p ChangeLog README %{buildroot}%{_defaultdocdir}/%{name}-%{version}
-%{__install} -Dp -m0644 bz2aespipe %{buildroot}%{_defaultdocdir}/%{name}-%{version}/examples
+%{__install} -Dp -m0644 bz2aespipe examples/bz2aespipe
 %{__install} -Dp -m0644 aespipe.1 %{buildroot}%{_mandir}/man1/aespipe.1
 %{__install} -Dp -m0755 aespipe %{buildroot}%{_bindir}/aespipe
 
@@ -53,12 +51,14 @@ kernel module.
 
 %files
 %defattr(-, root, root, -)
-%dir %{_defaultdocdir}/%{name}-%{version}
-%{_defaultdocdir}/%{name}-%{version}/*
+%doc ChangeLog README examples
 %{_mandir}/man1/*
 %{_bindir}/aespipe
 
 %changelog
+* Thu Aug  8 2013 Ville Skyttä <ville.skytta at iki.fi> - 2.4c-5
+- Use special %%doc to install docs (#993663).
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.4c-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 


More information about the scm-commits mailing list