From 2734601c7857d22e2bd96950bd9d89c4dec9760f0cf2c31ae4a1705b3ad99ae9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.com>
Date: Mon, 18 Mar 2013 11:05:24 +0000
Subject: [PATCH] - Update to 3.5.0 - Alpha 2   New features:   - cf-promises
 flag --parse-tree is replaced by --policy-output-format=,     requiring the
 user to specify the output format (none, cf, json)   - cf-promises allows
 partial check of policy (without body common     control) without integrity
 check;     --full-check enforces integrity check   - agent binaries support
 JSON input format (.json file as generated     by cf-promises)   - cf-key:
 new options --trust-key/-t and --print-digest/-p   - Class
 "failsafe_fallback" is defined in failsafe.cf when main     policy contains
 errors and failsafe is run because of this   - add scope attribute for body
 classes (Redmine #2013)   Changes:   - WARNING: option --policy-server
 removed, require option to     --bootstrap instead   - process promises don't
 log if processes are out of range unless     you run in verbose mode   -
 reports promises are now allowed in any context (Redmine #2005)   - cf-report
 has been removed   - cf-execd: --once implies --no-fork   Bugfixes:   - do
 not wait for splaytime when executing only once   - disable xml editing
 functionality when libxml2 doesn't provide     necessary APIs (Redmine #1937)

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=39
---
 cfengine-3.5.0a1.tar.gz |  3 ---
 cfengine-3.5.0a2.tar.gz |  3 +++
 cfengine.changes        | 33 +++++++++++++++++++++++++++++++++
 cfengine.spec           |  5 ++---
 4 files changed, 38 insertions(+), 6 deletions(-)
 delete mode 100644 cfengine-3.5.0a1.tar.gz
 create mode 100644 cfengine-3.5.0a2.tar.gz

diff --git a/cfengine-3.5.0a1.tar.gz b/cfengine-3.5.0a1.tar.gz
deleted file mode 100644
index d7616a7..0000000
--- a/cfengine-3.5.0a1.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:47d3eff2321360e0c5287e7a4d2c6d57acb90b279fb28fbc5571307716f0d225
-size 4773963
diff --git a/cfengine-3.5.0a2.tar.gz b/cfengine-3.5.0a2.tar.gz
new file mode 100644
index 0000000..b9b2b84
--- /dev/null
+++ b/cfengine-3.5.0a2.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:39ab4e6237a52c8b41698f0ca0f0ecddcc4b722782eedab07ba359d6bd3c71fa
+size 4767372
diff --git a/cfengine.changes b/cfengine.changes
index e9fe8ee..64b1b96 100644
--- a/cfengine.changes
+++ b/cfengine.changes
@@ -1,3 +1,36 @@
+-------------------------------------------------------------------
+Mon Mar 18 08:12:52 UTC 2013 - kkaempf@suse.com
+
+- Update to 3.5.0 - Alpha 2
+  New features:
+  - cf-promises flag --parse-tree is replaced by --policy-output-format=,
+    requiring the user to specify the output format (none, cf, json)
+  - cf-promises allows partial check of policy (without body common
+    control) without integrity check;
+    --full-check enforces integrity check
+  - agent binaries support JSON input format (.json file as generated
+    by cf-promises)
+  - cf-key: new options --trust-key/-t and --print-digest/-p
+  - Class "failsafe_fallback" is defined in failsafe.cf when main
+    policy contains errors and failsafe is run because of this
+  - add scope attribute for body classes (Redmine #2013) 
+
+  Changes:
+
+  - WARNING: option --policy-server removed, require option to
+    --bootstrap instead
+  - process promises don't log if processes are out of range unless
+    you run in verbose mode
+  - reports promises are now allowed in any context (Redmine #2005)
+  - cf-report has been removed
+  - cf-execd: --once implies --no-fork
+
+  Bugfixes:
+
+  - do not wait for splaytime when executing only once
+  - disable xml editing functionality when libxml2 doesn't provide
+    necessary APIs (Redmine #1937) 
+
 -------------------------------------------------------------------
 Fri Feb  1 20:21:09 UTC 2013 - kkaempf@suse.com
 
diff --git a/cfengine.spec b/cfengine.spec
index 33c8d38..ae44931 100644
--- a/cfengine.spec
+++ b/cfengine.spec
@@ -28,7 +28,7 @@ Name:           cfengine
 Summary:        CFEngine automates large-scale IT computing infrastructure
 License:        GPL-3.0
 Group:          Productivity/Networking/System
-Version:        3.5.0a1
+Version:        3.5.0a2
 Release:        0
 Url:            http://www.cfengine.org/
 Source:         %{name}-%{version}.tar.gz
@@ -200,7 +200,7 @@ sed -i\
 
 # create symlinks for sbin_PROGRAMS
 # because: cf-promises needs to be installed in /var/cfengine/work/bin for pre-validation of full configuration
-for i in cf-agent cf-execd cf-key cf-monitord cf-promises cf-report cf-runagent cf-serverd; do
+for i in cf-agent cf-execd cf-key cf-monitord cf-promises cf-runagent cf-serverd; do
   %{__ln_s} -f ../../..%{_sbindir}/${i} %{buildroot}%{workdir}/bin/${i}
 done
 
@@ -327,7 +327,6 @@ fi
 %{_sbindir}/cf-key
 %{_sbindir}/cf-monitord
 %{_sbindir}/cf-promises
-%{_sbindir}/cf-report
 %{_sbindir}/cf-runagent
 %{_sbindir}/rpmvercmp
 %if 0%{?suse_version} >= 1210