fbl pushed to openvswitch (f20). "Fixed to own conf.db and system-id.conf in /etc/openvswitch. (..more)"
notifications at fedoraproject.org
notifications at fedoraproject.org
Sat Mar 28 03:03:58 UTC 2015
>From 9b6c667a3982a2173ec661a9e8db5033970e9683 Mon Sep 17 00:00:00 2001
From: Flavio Leitner <fbl at redhat.com>
Date: Thu, 23 Oct 2014 13:51:06 -0200
Subject: Fixed to own conf.db and system-id.conf in /etc/openvswitch.
Resolves: #1132707
Signed-off-by: Flavio Leitner <fbl at redhat.com>
diff --git a/openvswitch.spec b/openvswitch.spec
index 2968253..e50ded4 100644
--- a/openvswitch.spec
+++ b/openvswitch.spec
@@ -6,7 +6,7 @@
Name: openvswitch
Version: 2.3.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Open vSwitch daemon/database/utilities
# Nearly all of openvswitch is ASL 2.0. The bugtool is LGPLv2+, and the
@@ -130,6 +130,9 @@ install -d -m 0755 $RPM_BUILD_ROOT%{_includedir}/openflow
install -p -D -m 0644 include/openflow/*.h \
-t $RPM_BUILD_ROOT%{_includedir}/openflow
+touch $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch/conf.db
+touch $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch/system-id.conf
+
%post
%if 0%{?systemd_post:1}
%systemd_post %{name}.service
@@ -185,6 +188,8 @@ install -p -D -m 0644 include/openflow/*.h \
%files
%{_sysconfdir}/openvswitch/
+%config %ghost %{_sysconfdir}/openvswitch/conf.db
+%config %ghost %{_sysconfdir}/openvswitch/system-id.conf
%config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch
%config(noreplace) %{_sysconfdir}/sysconfig/openvswitch
%{_sysconfdir}/sysconfig/network-scripts/ifup-ovs
@@ -255,6 +260,10 @@ install -p -D -m 0644 include/openflow/*.h \
%{_includedir}/openflow/*
%changelog
+* Thu Oct 23 2014 Flavio Leitner - 2.3.0-2
+- fixed to own conf.db and system-id.conf in /etc/openvswitch.
+ (#1132707)
+
* Tue Aug 19 2014 Flavio Leitner - 2.3.0-1
- updated to 2.3.0
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/openvswitch.git/commit/?h=f20&id=9b6c667a3982a2173ec661a9e8db5033970e9683
More information about the scm-commits
mailing list