From 9692d8bcbc2bd4e873db1666065f8b7efd777b64cfd7ad0e26c7633855cc482c Mon Sep 17 00:00:00 2001 From: Petr Uzel Date: Wed, 10 Aug 2011 20:25:15 +0000 Subject: [PATCH] bnc#709260 OBS-URL: https://build.opensuse.org/package/show/Archiving/bzip2?expand=0&rev=21 --- bzip2-point-to-doc-pkg.patch | 14 ++++++++++++++ bzip2.changes | 6 ++++++ bzip2.spec | 4 +++- 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 bzip2-point-to-doc-pkg.patch diff --git a/bzip2-point-to-doc-pkg.patch b/bzip2-point-to-doc-pkg.patch new file mode 100644 index 0000000..532a62e --- /dev/null +++ b/bzip2-point-to-doc-pkg.patch @@ -0,0 +1,14 @@ +Index: bzip2-1.0.6/README +=================================================================== +--- bzip2-1.0.6.orig/README ++++ bzip2-1.0.6/README +@@ -17,7 +17,8 @@ in the file LICENSE. + + Complete documentation is available in Postscript form (manual.ps), + PDF (manual.pdf) or html (manual.html). A plain-text version of the +-manual page is available as bzip2.txt. ++manual page is available as bzip2.txt. bzip2 documentation is ++available in separate bzip2-doc package. + + + HOW TO BUILD -- UNIX diff --git a/bzip2.changes b/bzip2.changes index 237aef6..b6fef6a 100644 --- a/bzip2.changes +++ b/bzip2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Aug 10 17:43:49 UTC 2011 - puzel@novell.com + +- package all documentation files referenced by README; also + point to bzip2-doc package (bnc#709260) + ------------------------------------------------------------------- Tue Jul 26 11:43:49 UTC 2011 - jengelh@medozas.de diff --git a/bzip2.spec b/bzip2.spec index f8bb131..94518ba 100644 --- a/bzip2.spec +++ b/bzip2.spec @@ -45,6 +45,7 @@ Patch: http://ftp.suse.com/pub/people/sbrabec/bzip2/for_downstream/bzip Patch2: bzip2-maxlen20.patch Patch3: bzip2-faster.patch Patch5: bzip2-unsafe_strcpy.patch +Patch6: bzip2-point-to-doc-pkg.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -108,6 +109,7 @@ Authors: %patch2 %patch3 %patch5 +%patch6 -p1 %build profile_bzip2() @@ -164,7 +166,7 @@ rm -rf $RPM_BUILD_ROOT %files doc %defattr(-,root,root) -%doc manual.ps.gz manual*.html +%doc manual.ps.gz manual*.html bzip2.txt manual.pdf %files -n libbz2-1 %defattr(-,root,root)