[bash] Clean up unneeded bash-doc files.
Roman Rakus
rrakus at fedoraproject.org
Fri Jul 29 08:11:04 UTC 2011
commit b7f1f4973a22a7dcb1d8686754333c2d482f53de
Author: Roman Rakus <rrakus at redhat.com>
Date: Fri Jul 29 10:09:44 2011 +0200
Clean up unneeded bash-doc files.
Original patch from Ville Skyttä <ville.skytta at iki.fi>
Signed-off-by: Roman Rakus <rrakus at redhat.com>
bash.spec | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/bash.spec b/bash.spec
index 80f8591..c26d1ef 100644
--- a/bash.spec
+++ b/bash.spec
@@ -6,7 +6,7 @@
Version: %{baseversion}%{patchleveltag}
Name: bash
Summary: The GNU Bourne Again shell
-Release: 4%{?dist}
+Release: 5%{?dist}
Group: System Environment/Shells
License: GPLv3+
Url: http://www.gnu.org/software/bash
@@ -222,13 +222,14 @@ done
# copy doc to /usr/share/doc
cat /dev/null > %{name}-doc.files
-mkdir -p $RPM_BUILD_ROOT/%{pkgdocdir}
+mkdir -p $RPM_BUILD_ROOT/%{pkgdocdir}/doc
cp -p COPYING $RPM_BUILD_ROOT/%{pkgdocdir}
# loadables aren't buildable
rm -rf examples/loadables
-for file in CHANGES COMPAT NEWS NOTES POSIX doc examples
+for file in CHANGES COMPAT NEWS NOTES POSIX examples\
+ doc/{FAQ,INTRO,rose94.pdf,article.{pdf,txt},bashref.{html,pdf}}
do
- cp -rp "$file" $RPM_BUILD_ROOT/%{pkgdocdir}
+ cp -rp "$file" $RPM_BUILD_ROOT/%{pkgdocdir}/"$file"
echo "%%doc %{pkgdocdir}/$file" >> %{name}-doc.files
done
@@ -316,6 +317,9 @@ end
#%doc doc/*.ps doc/*.0 doc/*.html doc/article.txt
%changelog
+* Fri Jul 29 2011 Roman Rakus <rrakus at redhat.com> - 4.2.10-5
+- Clean up unneeded bash-doc files (Ville Skyttä) (#721116)
+
* Wed Jun 22 2011 Roman Rakus <rrakus at redhat.com> - 4.2.10-4
- Don't crash when use `read' with associative array (#715050)
More information about the scm-commits
mailing list