[openvswitch] spec file fixes and keep local copy of sysconfig.template
Thomas Graf
tgraf at fedoraproject.org
Tue Jul 23 12:29:02 UTC 2013
commit bb941f326fdaff619498cc79e26a163be190e39f
Author: Thomas Graf <tgraf at redhat.com>
Date: Tue Jul 23 14:28:34 2013 +0200
spec file fixes and keep local copy of sysconfig.template
openvswitch.spec | 22 ++++++++++++----------
sysconfig.template | 24 ++++++++++++++++++++++++
2 files changed, 36 insertions(+), 10 deletions(-)
---
diff --git a/openvswitch.spec b/openvswitch.spec
index cc8a568..8178650 100644
--- a/openvswitch.spec
+++ b/openvswitch.spec
@@ -2,7 +2,7 @@
Name: openvswitch
Version: 1.10.0
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Open vSwitch daemon/database/utilities
# Nearly all of openvswitch is ASL 2.0. The bugtool is LGPLv2+, and the
@@ -19,6 +19,7 @@ Source4: ifup-ovs
Source5: ifdown-ovs
Source6: ovsdbmonitor.desktop
Source7: openvswitch-nonetwork.service
+Source8: sysconfig.template
BuildRequires: systemd-units openssl openssl-devel
BuildRequires: python python-twisted-core python-twisted-conch python-zope-interface PyQt4
@@ -88,14 +89,11 @@ make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
install -d -m 0755 $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch
-src=rhel/usr_share_openvswitch_scripts_sysconfig.template
-dst=$RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/openvswitch
-install -p -D -m 0644 $src $dst
+install -p -D -m 0644 %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/openvswitch
install -p -D -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_unitdir}/openvswitch.service
install -p -D -m 0644 %{SOURCE7} $RPM_BUILD_ROOT%{_unitdir}/openvswitch-nonetwork.service
@@ -237,6 +235,10 @@ desktop-file-install --dir=$RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE6}
%changelog
+* Tue Jul 23 2013 Thomas Graf <tgraf at redhat.com> - 1.10.0-4
+- Spec file fixes
+- Maintain local copy of sysconfig.template
+
* Thu Jul 18 2013 Petr Pisar <ppisar at redhat.com> - 1.10.0-3
- Perl 5.18 rebuild
@@ -244,10 +246,10 @@ desktop-file-install --dir=$RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE6}
- Enable PIE (#955181)
- Provide native systemd unit files (#818754)
-* Tue May 02 2013 Thomas Graf <tgraf at redhat.com> - 1.10.0-1
+* Thu May 02 2013 Thomas Graf <tgraf at redhat.com> - 1.10.0-1
- Update to 1.10.0 (#958814)
-* Tue Feb 28 2013 Thomas Graf <tgraf at redhat.com> - 1.9.0-1
+* Thu Feb 28 2013 Thomas Graf <tgraf at redhat.com> - 1.9.0-1
- Update to 1.9.0 (#916537)
* Tue Feb 12 2013 Thomas Graf <tgraf at redhat.com> - 1.7.3-8
@@ -263,10 +265,10 @@ desktop-file-install --dir=$RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE6}
* Tue Nov 20 2012 Thomas Graf <tgraf at redhat.com> - 1.7.1-6
- Increase max fd limit to support 256 bridges (#873072)
-* Tue Nov 1 2012 Thomas Graf <tgraf at redhat.com> - 1.7.1-5
+* Thu Nov 1 2012 Thomas Graf <tgraf at redhat.com> - 1.7.1-5
- Don't create world writable pki/*/incomming directory (#845351)
-* Tue Oct 25 2012 Thomas Graf <tgraf at redhat.com> - 1.7.1-4
+* Thu Oct 25 2012 Thomas Graf <tgraf at redhat.com> - 1.7.1-4
- Don't add iptables accept rule for -p GRE as GRE tunneling is unsupported
* Tue Oct 16 2012 Thomas Graf <tgraf at redhat.com> - 1.7.1-3
@@ -305,7 +307,7 @@ desktop-file-install --dir=$RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE6}
* Tue Mar 6 2012 Chris Wright <chrisw at redhat.com> - 1.4.0-3
- use glob to catch compressed manpages
-* Fri Mar 1 2012 Chris Wright <chrisw at redhat.com> - 1.4.0-2
+* Thu Mar 1 2012 Chris Wright <chrisw at redhat.com> - 1.4.0-2
- Update License comment, use consitent macros as per review comments bz799171
* Wed Feb 29 2012 Chris Wright <chrisw at redhat.com> - 1.4.0-1
diff --git a/sysconfig.template b/sysconfig.template
new file mode 100644
index 0000000..2c08452
--- /dev/null
+++ b/sysconfig.template
@@ -0,0 +1,24 @@
+### Configuration options for openvswitch
+
+# Copyright (C) 2009, 2010, 2011 Nicira, Inc.
+
+# FORCE_COREFILES: If 'yes' then core files will be enabled.
+# FORCE_COREFILES=yes
+
+# OVSDB_SERVER_PRIORITY: "nice" priority at which to run ovsdb-server.
+#
+# OVSDB_SERVER_PRIORITY=-10
+
+# VSWITCHD_PRIORITY: "nice" priority at which to run ovs-vswitchd.
+# VSWITCHD_PRIORITY=-10
+
+# VSWITCHD_MLOCKALL: Whether to pass ovs-vswitchd the --mlockall option.
+# This option should be set to "yes" or "no". The default is "yes".
+# Enabling this option can avoid networking interruptions due to
+# system memory pressure in extraordinary situations, such as multiple
+# concurrent VM import operations.
+# VSWITCHD_MLOCKALL=yes
+
+# OVS_CTL_OPTS: Extra options to pass to ovs-ctl. This is, for example,
+# a suitable place to specify --ovs-vswitchd-wrapper=valgrind.
+# OVS_CTL_OPTS=
More information about the scm-commits
mailing list