summaryrefslogtreecommitdiff
path: root/rhel/openvswitch-fedora.spec.in
diff options
context:
space:
mode:
authorAaron Conole <aconole@redhat.com>2017-05-02 16:17:48 -0400
committerRussell Bryant <rbryant@redhat.com>2017-05-02 16:41:01 -0400
commit2f4f43bfddfd159a8cfe963234530922f602ae07 (patch)
tree32e484646885543999dcbf7ef50b51d65d445548 /rhel/openvswitch-fedora.spec.in
parentdcc5c13bd0fe44023079adb5335d030540dc5f57 (diff)
downloadopenvswitch-2f4f43bfddfd159a8cfe963234530922f602ae07.tar.gz
rhel: fix the fedora spec
When commit d0c961a99f57 ("lib/automake.mk: don't install runtime directories") landed, it broke RPM based builds since the requisite directories were no longer available. This commit adds those directories back when making RPMs so that the package manager can see them. Fixes: d0c961a99f57 ("lib/automake.mk: don't install runtime directories") Reported-by: Lance Richardson <lrichard@redhat.com> Tested-by: Lance Richardson <lrichard@redhat.com> Signed-off-by: Aaron Conole <aconole@redhat.com> Signed-off-by: Russell Bryant <rbryant@redhat.com>
Diffstat (limited to 'rhel/openvswitch-fedora.spec.in')
-rw-r--r--rhel/openvswitch-fedora.spec.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index 5d53284f9..6f67413f8 100644
--- a/rhel/openvswitch-fedora.spec.in
+++ b/rhel/openvswitch-fedora.spec.in
@@ -230,6 +230,8 @@ make -f %{_datadir}/selinux/devel/Makefile
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
+install -d -m 0755 $RPM_BUILD_ROOT%{_rundir}/openvswitch
+install -d -m 0755 $RPM_BUILD_ROOT%{_localstatedir}/log/openvswitch
install -d -m 0755 $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch
install -p -D -m 0644 \