[ovirt-engine/f17] Fix location of logrotate script (rhbz#890691)

Juan Hernandez jhernand at fedoraproject.org
Sat Dec 29 17:30:04 UTC 2012


commit 01a8c1a2c6be44411963e9ca79c2c0204f52701a
Author: Juan Hernandez <juan.hernandez at redhat.com>
Date:   Sat Dec 29 11:12:09 2012 +0100

    Fix location of logrotate script (rhbz#890691)

 ...t-engine-fix-location-of-logrotate-script.patch |   27 ++++++++++++++++++++
 ovirt-engine.spec                                  |   13 ++++++++-
 2 files changed, 38 insertions(+), 2 deletions(-)
---
diff --git a/ovirt-engine-fix-location-of-logrotate-script.patch b/ovirt-engine-fix-location-of-logrotate-script.patch
new file mode 100644
index 0000000..11c7d23
--- /dev/null
+++ b/ovirt-engine-fix-location-of-logrotate-script.patch
@@ -0,0 +1,27 @@
+From 0995711bd71d6eb3994632a4c4fdc2dced7a6000 Mon Sep 17 00:00:00 2001
+From: Juan Hernandez <juan.hernandez at redhat.com>
+Date: Sat, 29 Dec 2012 11:04:38 +0100
+Subject: [PATCH] packaging: Fix location of logrotate script
+
+Bug-Url: https://bugzilla.redhat.com/890691
+Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
+---
+ packaging/resources/ovirt-cron | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/packaging/resources/ovirt-cron b/packaging/resources/ovirt-cron
+index 3f6c966..fb98ebe 100644
+--- a/packaging/resources/ovirt-cron
++++ b/packaging/resources/ovirt-cron
+@@ -1,7 +1,7 @@
+ #!/bin/sh
+ 
+ #compress log4j log files, delete old ones
+-/usr/share/ovirt/scripts/ovirtlogrot.sh /var/log/ovirt-engine 480 > /dev/null
++/usr/share/ovirt-engine/scripts/ovirtlogrot.sh /var/log/ovirt-engine 480 > /dev/null
+ 
+ EXITVALUE=$?
+ if [ $EXITVALUE != 0 ]; then
+-- 
+1.7.11.7
+
diff --git a/ovirt-engine.spec b/ovirt-engine.spec
index 0b1d45b..a4342ca 100644
--- a/ovirt-engine.spec
+++ b/ovirt-engine.spec
@@ -31,7 +31,7 @@
 
 Name: ovirt-engine
 Version: %{upstream_version}.%{upstream_release}
-Release: 14%{?dist}
+Release: 15%{?dist}
 Summary: Management server for Open Virtualization
 Group: Applications/System
 License: ASL 2.0
@@ -162,9 +162,12 @@ Patch1000: %{name}-add-readme.patch
 # or webadmin:
 Patch1010: %{name}-replace-index-page.patch
 
-# The the service configuration and scripts:
+# The service configuration and scripts:
 Patch1020: %{name}-add-systemd-service.patch
 
+# Bug fixes:
+Patch2000: %{name}-fix-location-of-logrotate-script.patch
+
 # Build time requirements:
 BuildRequires: apache-commons-beanutils
 BuildRequires: apache-commons-codec
@@ -460,6 +463,9 @@ The common libraries used by Open Virtualization Manager Tools.
 %patch1010 -p1
 %patch1020 -p1
 
+# Bug fixes:
+%patch2000 -p1
+
 # Remove some obsolete files:
 rm -rf backend/manager/conf/ca/Setup.txt
 
@@ -973,6 +979,9 @@ fi
 
 
 %changelog
+* Sat Dec 29 2012 Juan Hernandez <juan.hernandez at redhat.com> - 3.0.0.0001-15
+- Fix location of logrotate script (rhbz#890691)
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.0.0.0001-14
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list