From 28815e9b856f1a7c7668e92b9cc5ae7713717f552eaa9d4c6faa5c0d82c163b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= Date: Wed, 23 Sep 2020 08:38:15 +0000 Subject: [PATCH] - drop cfengine-doc subpackage in favor of cfengine-documentation OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=190 --- cfengine.changes | 5 +++++ cfengine.spec | 26 ++------------------------ 2 files changed, 7 insertions(+), 24 deletions(-) diff --git a/cfengine.changes b/cfengine.changes index 3dc0f7f..8b8e40f 100644 --- a/cfengine.changes +++ b/cfengine.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Sep 23 08:34:55 UTC 2020 - Klaus Kämpf + +- drop cfengine-doc subpackage in favor of cfengine-documentation + ------------------------------------------------------------------- Tue Sep 22 07:52:50 UTC 2020 - Klaus Kämpf diff --git a/cfengine.spec b/cfengine.spec index 46b1beb..60f2358 100644 --- a/cfengine.spec +++ b/cfengine.spec @@ -55,14 +55,8 @@ Source6: cf-execd Source7: cf-serverd Source10: %{name}.cron Source11: %{name}-rpmlintrc -# docs -Source101: http://www.cfengine.org/manuals/cf3-Reference.pdf -Source102: http://www.cfengine.org/manuals/cf3-conceptguide.pdf -Source103: http://www.cfengine.org/manuals/cf3-glossary.pdf -Source104: http://www.cfengine.org/manuals/cf3-quickstart.pdf -Source105: http://www.cfengine.org/manuals/cf3-solutions.pdf -Source106: http://www.cfengine.org/manuals/cf3-tutorial.pdf -Source107: http://www.verticalsysadmin.com/cfengine/primer.pdf + +Recommends: %{name}-documentation BuildRequires: bison BuildRequires: db-devel @@ -127,14 +121,6 @@ A character set detection library. This package contains the files needed to compile programs that use the libpromises library. -%package doc -Summary: Documentation for CFEngine, a config management framework -Group: Documentation/Other -BuildArch: noarch - -%description doc -Documentation for cfengine. - %package examples Summary: CFEngine example promises Group: Documentation/Other @@ -152,10 +138,6 @@ Lots of example promises for CFEngine. ### http://www.fsf.org/about/contact/ find ./examples -type f -name "*.cf" -exec perl -p -i -e 's|\r\n|\n|,s|^# Foundation.*|# Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA|' {} \; -### install extra docs -install -d docs -cp -a $RPM_SOURCE_DIR/*pdf docs/ - %build EXPLICIT_VERSION=%{version} autoreconf -fvi -I m4 CC=cc CFLAGS="%{optflags} -fno-strict-aliasing" \ @@ -318,10 +300,6 @@ fi %defattr(-,root,root) %{_libdir}/%{name}/%{libname}.so -%files doc -%defattr(-,root,root) -%doc docs/*.pdf - %files examples %defattr(-,root,root) %doc examples/*cf