- drop cfengine-doc subpackage in favor of cfengine-documentation

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=190
This commit is contained in:
Klaus Kämpf
2020-09-23 08:38:15 +00:00
committed by Git OBS Bridge
parent ae3ecb7e19
commit 28815e9b85
2 changed files with 7 additions and 24 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Sep 23 08:34:55 UTC 2020 - Klaus Kämpf <kkaempf@suse.com>
- drop cfengine-doc subpackage in favor of cfengine-documentation
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Sep 22 07:52:50 UTC 2020 - Klaus Kämpf <kkaempf@suse.com> Tue Sep 22 07:52:50 UTC 2020 - Klaus Kämpf <kkaempf@suse.com>

View File

@@ -55,14 +55,8 @@ Source6: cf-execd
Source7: cf-serverd Source7: cf-serverd
Source10: %{name}.cron Source10: %{name}.cron
Source11: %{name}-rpmlintrc Source11: %{name}-rpmlintrc
# docs
Source101: http://www.cfengine.org/manuals/cf3-Reference.pdf Recommends: %{name}-documentation
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
BuildRequires: bison BuildRequires: bison
BuildRequires: db-devel BuildRequires: db-devel
@@ -127,14 +121,6 @@ A character set detection library.
This package contains the files needed to compile programs that use the This package contains the files needed to compile programs that use the
libpromises library. libpromises library.
%package doc
Summary: Documentation for CFEngine, a config management framework
Group: Documentation/Other
BuildArch: noarch
%description doc
Documentation for cfengine.
%package examples %package examples
Summary: CFEngine example promises Summary: CFEngine example promises
Group: Documentation/Other Group: Documentation/Other
@@ -152,10 +138,6 @@ Lots of example promises for CFEngine.
### http://www.fsf.org/about/contact/ ### 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|' {} \; 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 %build
EXPLICIT_VERSION=%{version} autoreconf -fvi -I m4 EXPLICIT_VERSION=%{version} autoreconf -fvi -I m4
CC=cc CFLAGS="%{optflags} -fno-strict-aliasing" \ CC=cc CFLAGS="%{optflags} -fno-strict-aliasing" \
@@ -318,10 +300,6 @@ fi
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/%{name}/%{libname}.so %{_libdir}/%{name}/%{libname}.so
%files doc
%defattr(-,root,root)
%doc docs/*.pdf
%files examples %files examples
%defattr(-,root,root) %defattr(-,root,root)
%doc examples/*cf %doc examples/*cf