From 2008cd835fb24ccfa0e14b35a496b3b943a8aa7d1c98e7d778f570e1b1344071 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 22 Mar 2015 20:26:28 +0000 Subject: [PATCH] Separate doc package OBS-URL: https://build.opensuse.org/package/show/utilities/gnu_parallel?expand=0&rev=32 --- gnu_parallel.changes | 2 ++ gnu_parallel.spec | 12 ++++++++++++ 2 files changed, 14 insertions(+) diff --git a/gnu_parallel.changes b/gnu_parallel.changes index cfbf20c..721a372 100644 --- a/gnu_parallel.changes +++ b/gnu_parallel.changes @@ -3,6 +3,8 @@ Sun Mar 22 20:22:03 UTC 2015 - jengelh@inai.de - Avoid SLE11SP3 build failure by not mixing %doc with %_docdir/%name in the files list. +- Split documentation (82%) into separate package per + rpmlint suggestion ------------------------------------------------------------------- Sun Mar 22 20:14:15 UTC 2015 - astieger@suse.com diff --git a/gnu_parallel.spec b/gnu_parallel.spec index 5f81a1d..30b8a8a 100644 --- a/gnu_parallel.spec +++ b/gnu_parallel.spec @@ -40,6 +40,15 @@ URLs, or a list of tables. A job can also be a command that reads from a pipe. GNU Parallel can then split the input and pipe it into commands in parallel. +%package doc +Summary: Documentation for GNU parallel +Group: Documentation/HTML + +%description doc +GNU Parallel is a shell tool for executing jobs in parallel using one +or more computers. +This subpackage contains the documentation for Parallel. + %prep %setup -qn parallel-%version @@ -59,6 +68,9 @@ cp -a CITATION COPYING NEWS README "%buildroot/%_docdir/%name/" %_bindir/sql %_mandir/man1/*.1* %_mandir/man7/*.7* + +%files doc +%defattr(-,root,root) %_docdir/%name/ %changelog