projects
/
cascardo
/
ovs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rhel: Define rundir for older distros.
[cascardo/ovs.git]
/
rhel
/
openvswitch-fedora.spec.in
diff --git
a/rhel/openvswitch-fedora.spec.in
b/rhel/openvswitch-fedora.spec.in
index
5198dbe
..
1e62341
100644
(file)
--- a/
rhel/openvswitch-fedora.spec.in
+++ b/
rhel/openvswitch-fedora.spec.in
@@
-16,6
+16,12
@@
# Enable PIE, bz#955181
%global _hardened_build 1
# Enable PIE, bz#955181
%global _hardened_build 1
+# some distros (e.g: RHEL-7) don't define _rundir macro yet
+# Fedora 15 onwards uses /run as _rundir
+%if 0%{!?_rundir:1}
+%define _rundir /run
+%endif
+
Name: openvswitch
Summary: Open vSwitch
Group: System Environment/Daemons
Name: openvswitch
Summary: Open vSwitch
Group: System Environment/Daemons