Skip to content

Commit

Permalink
rhel: fix the fedora spec
Browse files Browse the repository at this point in the history
When commit d0c961a ("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: d0c961a ("lib/automake.mk: don't install runtime directories")
Reported-by: Lance Richardson <[email protected]>
Tested-by: Lance Richardson <[email protected]>
Signed-off-by: Aaron Conole <[email protected]>
Signed-off-by: Russell Bryant <[email protected]>
  • Loading branch information
apconole authored and russellb committed May 2, 2017
1 parent dcc5c13 commit 2f4f43b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rhel/openvswitch-fedora.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 2f4f43b

Please sign in to comment.